-
Notifications
You must be signed in to change notification settings - Fork 159
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
5c2ba83
commit b2e25de
Showing
2 changed files
with
19 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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 <[email protected]>" \ | ||
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}"; \ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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 <[email protected]>" \ | ||
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 && \ | ||
|