Files
docker-lab/ubuntu-nettools/Dockerfile
2026-01-13 18:41:17 +00:00

23 lines
415 B
Docker

FROM ubuntu:24.04
RUN apt-get update && \
apt-get install -y net-tools \
nano \
vim \
ca-certificates \
iputils-ping \
iproute2 \
curl \
wget && \
apt-get clean && \
rm -rf /var/lib/apt/lists/*
RUN useradd -ms /bin/bash testuser
USER testuser
WORKDIR /home/testuser
CMD ["/bin/bash"]
## Pentru build: docker build -t ubuntu-nettools:0.0.1 .