Skip to content

Commit

Permalink
chore: update the production image base OS layer (#17547)
Browse files Browse the repository at this point in the history
Signed-off-by: Nathan Klick <[email protected]>
  • Loading branch information
nathanklick authored Jan 25, 2025
1 parent e5b9213 commit e0c25d0
Showing 1 changed file with 4 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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"

########################################################################################################################
#
Expand All @@ -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
Expand Down Expand Up @@ -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 && \
Expand Down

0 comments on commit e0c25d0

Please sign in to comment.