From b2e25de56b47dd55d1312198982ea68c3bee59b3 Mon Sep 17 00:00:00 2001 From: ZiyamSanthosh Date: Wed, 31 Jul 2024 17:32:04 +0530 Subject: [PATCH] Change Rocky Linux version to 8.10 --- dockerfiles/jdk17/rocky/is/Dockerfile | 19 ++++++++++++------- dockerfiles/rocky/is/Dockerfile | 9 +++++++-- 2 files changed, 19 insertions(+), 9 deletions(-) diff --git a/dockerfiles/jdk17/rocky/is/Dockerfile b/dockerfiles/jdk17/rocky/is/Dockerfile index 443143fb..d7ce33a7 100755 --- a/dockerfiles/jdk17/rocky/is/Dockerfile +++ b/dockerfiles/jdk17/rocky/is/Dockerfile @@ -16,11 +16,16 @@ # # ------------------------------------------------------------------------ -# set base Docker image to CentOS Docker image -FROM rockylinux:9.3 +# set base Docker image to Rocky Linux Docker image +FROM rockylinux:8 LABEL maintainer="WSO2 Docker Maintainers " \ com.wso2.docker.source="https://github.com/wso2/docker-is/releases/tag/v6.1.0.5" +# Update the system to the specific 8.10 version +RUN dnf -y update && \ + dnf -y distro-sync && \ + dnf clean all + # Install necessary locale packages RUN yum install -y glibc-langpack-en && \ yum install -y langpacks-en glibc-locale-source && \ @@ -32,19 +37,19 @@ ENV LANG='en_US.UTF-8' LANGUAGE='en_US:en' LC_ALL='en_US.UTF-8' RUN yum install -y tzdata openssl ca-certificates fontconfig gzip tar nc unzip wget \ && yum clean all -ENV JAVA_VERSION jdk-17.0.9+9 +ENV JAVA_VERSION jdk-17.0.10+7 # Install JDK17 RUN set -eux; \ ARCH="$(objdump="$(command -v objdump)" && objdump --file-headers "$objdump" | awk -F '[:,]+[[:space:]]+' '$1 == "architecture" { print $2 }')"; \ case "${ARCH}" in \ amd64|i386:x86-64) \ - ESUM='7b175dbe0d6e3c9c23b6ed96449b018308d8fc94a5ecd9c0df8b8bc376c3c18a'; \ - BINARY_URL='https://github.com/adoptium/temurin17-binaries/releases/download/jdk-17.0.9%2B9/OpenJDK17U-jdk_x64_linux_hotspot_17.0.9_9.tar.gz'; \ + ESUM='a8fd07e1e97352e97e330beb20f1c6b351ba064ca7878e974c7d68b8a5c1b378'; \ + BINARY_URL='https://github.com/adoptium/temurin17-binaries/releases/download/jdk-17.0.10%2B7/OpenJDK17U-jdk_x64_linux_hotspot_17.0.10_7.tar.gz'; \ ;; \ aarch64|arm64) \ - ESUM='e2c5e26f8572544b201bc22a9b28f2b1a3147ab69be111cea07c7f52af252e75'; \ - BINARY_URL='https://github.com/adoptium/temurin17-binaries/releases/download/jdk-17.0.9%2B9/OpenJDK17U-jdk_aarch64_linux_hotspot_17.0.9_9.tar.gz'; \ + ESUM='6e4201abfb3b020c1fb899b7ac063083c271250bf081f3aa7e63d91291a90b74'; \ + BINARY_URL='https://github.com/adoptium/temurin17-binaries/releases/download/jdk-17.0.10%2B7/OpenJDK17U-jdk_aarch64_linux_hotspot_17.0.10_7.tar.gz'; \ ;; \ *) \ echo "Unsupported arch: ${ARCH}"; \ diff --git a/dockerfiles/rocky/is/Dockerfile b/dockerfiles/rocky/is/Dockerfile index 0fd416f5..a05cb9ef 100755 --- a/dockerfiles/rocky/is/Dockerfile +++ b/dockerfiles/rocky/is/Dockerfile @@ -16,11 +16,16 @@ # # ------------------------------------------------------------------------ -# set base Docker image to CentOS Docker image -FROM rockylinux:9.3 +# set base Docker image to Rocky Linux Docker image +FROM rockylinux:8 LABEL maintainer="WSO2 Docker Maintainers " \ com.wso2.docker.source="https://github.com/wso2/docker-is/releases/tag/v6.1.0.4" +# Update the system to the specific 8.10 version +RUN dnf -y update && \ + dnf -y distro-sync && \ + dnf clean all + # Install necessary locale packages RUN yum install -y glibc-langpack-en && \ yum install -y langpacks-en glibc-locale-source && \