update Dockerfile

add fast run deb container bash cmd
This commit is contained in:
baiobelfer 2024-10-03 11:21:13 +02:00
parent 2ce50ead69
commit 01dea41cc5
2 changed files with 4 additions and 0 deletions

View File

@ -7,6 +7,8 @@ ENV DEBIAN_FRONTEND=noninteractive
# Aktualizacja pakietów i instalacja wymaganych narzędzi wraz z python3 i python3-scapy
RUN apt-get update && apt-get install -y \
iproute2 \
iputils-ping \
traceroute \
curl \
vim \
tmux \

2
__ Normal file
View File

@ -0,0 +1,2 @@
f() { sudo docker run --rm -dit --privileged --name "$1" deb su - user; }; f deb1