From 49e2f9879cf53384363f033a7d0dadf1b9eec64c Mon Sep 17 00:00:00 2001 From: grossmj Date: Thu, 18 Jul 2024 11:27:26 +0200 Subject: [PATCH] Upgrade Ubuntu Docker base image to 24.04 LTS (Noble) --- docker/docker_images | 2 +- docker/ubuntu/Dockerfile | 22 +++++++++++++++++----- docker/ubuntu/README.md | 4 ++-- 3 files changed, 20 insertions(+), 8 deletions(-) diff --git a/docker/docker_images b/docker/docker_images index c5fd54e..777031b 100644 --- a/docker/docker_images +++ b/docker/docker_images @@ -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 diff --git a/docker/ubuntu/Dockerfile b/docker/ubuntu/Dockerfile index 43002c3..a52a31e 100644 --- a/docker/ubuntu/Dockerfile +++ b/docker/ubuntu/Dockerfile @@ -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" ] diff --git a/docker/ubuntu/README.md b/docker/ubuntu/README.md index 34079cf..30ad5be 100644 --- a/docker/ubuntu/README.md +++ b/docker/ubuntu/README.md @@ -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) ```