Upgrade Ubuntu Docker base image to 24.04 LTS (Noble)

This commit is contained in:
grossmj 2024-07-18 11:27:26 +02:00
parent 87cd5e763c
commit 49e2f9879c
No known key found for this signature in database
GPG Key ID: 0A2D76AC45EA25CD
3 changed files with 20 additions and 8 deletions

View File

@ -17,7 +17,7 @@ ostinato-wireshark ostinato-wireshark
openvswitch openvswitch
ovs-snmp ovs-snmp --platform=linux/arm64
pyats pyats
ubuntu:focal ubuntu
ubuntu:noble ubuntu
# Tests
xeyes xeyes

View File

@ -1,10 +1,22 @@
# docker base image for basic networking tools
# Ubuntu Docker base image with basic networking tools installed
FROM ubuntu:focal
FROM ubuntu:noble
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 \
nmap iputils-ping \
RUN DEBIAN_FRONTEND=noninteractive apt update && apt -y --no-install-recommends install \
net-tools \
iproute2 \
tcpdump \
telnet \
traceroute \
curl \
iperf3 \
knot-host \
openssh-client \
mtr-tiny \
socat \
nano \
nmap \
iputils-ping \
&& rm -rf /var/lib/apt/lists/*
VOLUME [ "/root" ]

View File

@ -21,6 +21,6 @@ The /root folder is mounted by default
First the base image has to be created:
```
docker build -t gns3/ubuntu:focal .
docker push gns3/ubuntu:focal (optional)
docker build -t gns3/ubuntu:noble .
docker push gns3/ubuntu:nobel (optional)
```