From e0c25d0b3f94b9c129f7182f52838b21a017ab42 Mon Sep 17 00:00:00 2001 From: Nathan Klick Date: Fri, 24 Jan 2025 20:18:37 -0600 Subject: [PATCH] chore: update the production image base OS layer (#17547) Signed-off-by: Nathan Klick --- .../containers/production/network-node-base/Dockerfile | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/hedera-node/infrastructure/docker/containers/production/network-node-base/Dockerfile b/hedera-node/infrastructure/docker/containers/production/network-node-base/Dockerfile index 968174047920..61f742fc26af 100644 --- a/hedera-node/infrastructure/docker/containers/production/network-node-base/Dockerfile +++ b/hedera-node/infrastructure/docker/containers/production/network-node-base/Dockerfile @@ -3,10 +3,10 @@ # Define Global Build Arguments # ######################################################################################################################## -ARG UBUNTU_SHA="sha256:ceed028aae0eac7db9dd33bd89c14d5a9991d73443b0de24ba0db250f47491d2" +ARG UBUNTU_SHA="sha256:80dd3c3b9c6cecb9f1667e9290b3bc61b78c2678c02cbdae5f0fea92cc6734ab" -ARG OPENJDK_VERSION=17 -ARG OPENJDK_DL_KEY="0d483333a00540d886896bac774ff48b/35" +ARG OPENJDK_VERSION=21.0.1 +ARG OPENJDK_DL_KEY="415e3f918a1f4062a0074a2794853d0d/12" ######################################################################################################################## # @@ -29,8 +29,6 @@ ADD checksums/* /tmp/checksums/ # Install basic OS utilities for building RUN apt-get update && \ apt-get install -y tar gzip wget dos2unix gnupg2 hashdeep && \ - apt-get install -y build-essential flex bison zlib1g-dev libssl-dev libpam0g-dev && \ - apt-get install -y libreadline-dev libxml2-dev libxslt-dev libxml2-utils xsltproc && \ apt-get autoclean && \ apt-get clean all && \ rm -rf /var/cache/apt @@ -77,7 +75,7 @@ COPY --from=openjdk-builder /usr/local/java/ /usr/local/java/ # Install Basic OS Requirements RUN apt-get update && \ - apt-get install -y tar gzip openssl zlib1g libsodium23 libreadline7 sudo netcat && \ + apt-get install -y tar gzip openssl zlib1g libsodium23 libreadline8t64 sudo netcat-traditional && \ apt-get autoremove && \ apt-get autoclean && \ apt-get clean all && \