From 8e625f385212f25e7d48509e789da0166357f567 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C5=81ukasz=20Dziedziul?= Date: Tue, 25 Apr 2023 15:39:10 +0200 Subject: [PATCH] Upgrade system packages in OSS image (#561) [5.2.3] (cherry picked from commit 55fc311a073027df258118078966e611de26e9da) --- hazelcast-oss/Dockerfile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/hazelcast-oss/Dockerfile b/hazelcast-oss/Dockerfile index 76b14838..84846917 100644 --- a/hazelcast-oss/Dockerfile +++ b/hazelcast-oss/Dockerfile @@ -26,7 +26,9 @@ EXPOSE 5701 COPY *.jar get-hz-dist-zip.sh hazelcast-*.zip ${HZ_HOME}/ # Install -RUN echo "Installing new APK packages" \ +RUN echo "Upgrading APK packages" \ + && apk upgrade --no-cache \ + && echo "Installing new APK packages" \ && apk add --no-cache openjdk11-jre-headless bash curl libxml2-utils zip unzip \ && if [[ ! -f ${HZ_HOME}/hazelcast-distribution.zip ]]; then \ HAZELCAST_ZIP_URL=$(${HZ_HOME}/get-hz-dist-zip.sh); \