diff --git a/utils/docker/Dockerfile.jammy b/utils/docker/Dockerfile.jammy index fce58fc82..70c2f8ca7 100644 --- a/utils/docker/Dockerfile.jammy +++ b/utils/docker/Dockerfile.jammy @@ -14,6 +14,8 @@ ENV LC_ALL=C.UTF-8 RUN find /etc/apt -type f \( -name '*.list' -o -name '*.sources' \) \ -exec sed -i "s|http://archive.ubuntu.com|http://${UBUNTU_MIRROR_PREFIX}archive.ubuntu.com|g; s|http://ports.ubuntu.com|http://${UBUNTU_MIRROR_PREFIX}ports.ubuntu.com|g" {} + && \ apt-get update && \ + # Pick up security fixes that the base image does not have yet. + apt-get upgrade -y && \ apt-get install -y --no-install-recommends openjdk-25-jdk \ # Install utilities required for downloading browsers wget \ diff --git a/utils/docker/Dockerfile.noble b/utils/docker/Dockerfile.noble index 07d4b8c3b..b52e7d72d 100644 --- a/utils/docker/Dockerfile.noble +++ b/utils/docker/Dockerfile.noble @@ -14,6 +14,8 @@ ENV LC_ALL=C.UTF-8 RUN find /etc/apt -type f \( -name '*.list' -o -name '*.sources' \) \ -exec sed -i "s|http://archive.ubuntu.com|http://${UBUNTU_MIRROR_PREFIX}archive.ubuntu.com|g; s|http://ports.ubuntu.com|http://${UBUNTU_MIRROR_PREFIX}ports.ubuntu.com|g" {} + && \ apt-get update && \ + # Pick up security fixes that the base image does not have yet. + apt-get upgrade -y && \ apt-get install -y --no-install-recommends openjdk-25-jdk \ # Install utilities required for downloading browsers wget \ diff --git a/utils/docker/Dockerfile.resolute b/utils/docker/Dockerfile.resolute index 58b0ff6ac..1488b20ea 100644 --- a/utils/docker/Dockerfile.resolute +++ b/utils/docker/Dockerfile.resolute @@ -14,6 +14,8 @@ ENV LC_ALL=C.UTF-8 RUN find /etc/apt -type f \( -name '*.list' -o -name '*.sources' \) \ -exec sed -i "s|http://archive.ubuntu.com|http://${UBUNTU_MIRROR_PREFIX}archive.ubuntu.com|g; s|http://ports.ubuntu.com|http://${UBUNTU_MIRROR_PREFIX}ports.ubuntu.com|g" {} + && \ apt-get update && \ + # Pick up security fixes that the base image does not have yet. + apt-get upgrade -y && \ apt-get install -y --no-install-recommends openjdk-25-jdk \ # Ubuntu 26.04 ships Maven 3.9.12 maven \