mirror of
https://github.com/GNS3/gns3-registry.git
synced 2024-12-18 20:37:57 +00:00
Update Dockerfile for Ubuntu Docker appliance
This commit is contained in:
parent
01db22dc26
commit
8a51e030eb
@ -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" ]
|
||||
|
||||
|
@ -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)
|
||||
```
|
||||
|
Loading…
Reference in New Issue
Block a user