Update Dockerfile

This commit is contained in:
Nick Trochalakis
2025-07-05 13:20:53 -07:00
committed by GitHub
parent e06203327a
commit 96c6b7cf23
+1 -20
View File
@@ -4,47 +4,28 @@ RUN apt-get update && \
apt-get install -y --no-install-recommends \ apt-get install -y --no-install-recommends \
bash \ bash \
screen \ screen \
tree \
ncat \
git\ git\
wget\ wget\
zip \ zip \
unzip \ unzip \
tar \ tar \
xz-utils \
jq \
lsof \
strace \
man \ man \
manpages \ manpages \
python3-venv \
build-essential \
nmap \ nmap \
tcpdump \
iproute2 \
netcat \
socat \
whois \
traceroute \
curl \ curl \
vim \ vim \
nano \ nano \
dnsutils \ dnsutils \
iputils-ping \ iputils-ping \
net-tools \ net-tools \
procps \
ca-certificates \ ca-certificates \
sudo \ sudo \
python3 \
python3-pip \
nodejs \
npm && \
apt-get clean && \ apt-get clean && \
rm -rf /var/lib/apt/lists/* rm -rf /var/lib/apt/lists/*
RUN useradd -ms /bin/bash debian && \ RUN useradd -ms /bin/bash debian && \
usermod -aG sudo debian && \ usermod -aG sudo debian && \
echo 'debian ALL=(ALL) NOPASSWD:ALL' >> /etc/sudoers echo 'debian ALL=(ALL) NOPASSWD:ALL' >> /etc/sudoers
RUN echo 'PS1="\u@sandbox:\w\$ "' >> /home/debian/.bashrc RUN echo 'PS1="\u@sum:\w\$ "' >> /home/debian/.bashrc
SHELL ["/bin/bash", "-c"] SHELL ["/bin/bash", "-c"]
WORKDIR /home/debian WORKDIR /home/debian
USER debian USER debian