Update Dockerfile for Ubuntu Docker appliance

This commit is contained in:
grossmj 2021-10-18 20:05:05 +10:30
parent 01db22dc26
commit 8a51e030eb
2 changed files with 4 additions and 5 deletions

View File

@ -1,6 +1,6 @@
# docker base image for basic networking tools
FROM ubuntu:xenial
FROM ubuntu:focal
RUN DEBIAN_FRONTEND=noninteractive apt-get update && apt-get -y --no-install-recommends install \
net-tools tcpdump telnet traceroute curl iperf3 knot-host openssh-client mtr-tiny socat nano vim-tiny \
@ -9,4 +9,3 @@ RUN DEBIAN_FRONTEND=noninteractive apt-get update && apt-get -y --no-install-rec
VOLUME [ "/root" ]
CMD [ "sh", "-c", "cd; exec bash -i" ]

View File

@ -14,13 +14,13 @@ This appliance contains the following networking tools:
- tcpdump
- telnet
The /root folder is mount by default
The /root folder is mounted by default
## Build and publish the Images
First the base image has to be created:
```
docker build -t gns3/ubuntu:xenial .
docker push gns3/ubuntu:xenial (optional)
docker build -t gns3/ubuntu:focal .
docker push gns3/ubuntu:focal (optional)
```