-
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.
Merge pull request #378 from Yoshani/5.9.x
[5.9] Upgrade jdk versions
- Loading branch information
Showing
4 changed files
with
17 additions
and
12 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
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 |
---|---|---|
|
@@ -19,14 +19,14 @@ | |
# Set base Docker image to Alpine Docker image. | ||
FROM alpine:3.15.0 | ||
LABEL maintainer="WSO2 Docker Maintainers <[email protected]>" \ | ||
com.wso2.docker.source="https://github.com/wso2/docker-is/releases/tag/v5.9.0.6" | ||
com.wso2.docker.source="https://github.com/wso2/docker-is/releases/tag/v5.9.0.7" | ||
ENV LANG='en_US.UTF-8' LANGUAGE='en_US:en' LC_ALL='en_US.UTF-8' | ||
|
||
# Install JDK Dependencies. | ||
RUN apk add --no-cache tzdata musl-locales musl-locales-lang \ | ||
&& rm -rf /var/cache/apk/* | ||
|
||
ENV JAVA_VERSION jdk8u322-b06 | ||
ENV JAVA_VERSION jdk8u362-b09 | ||
|
||
RUN apk --no-progress --purge --no-cache upgrade \ | ||
&& apk --no-progress --purge --no-cache add --upgrade \ | ||
|
@@ -47,8 +47,8 @@ RUN set -eux; \ | |
ARCH="$(apk --print-arch)"; \ | ||
case "${ARCH}" in \ | ||
amd64|x86_64) \ | ||
ESUM='3d62362a78c9412766471b05253507a4cfc212daea5cdf122860173ce902400e'; \ | ||
BINARY_URL='https://github.com/adoptium/temurin8-binaries/releases/download/jdk8u322-b06/OpenJDK8U-jdk_x64_linux_hotspot_8u322b06.tar.gz'; \ | ||
ESUM='389c0d2ea59742103f46f1dd6d2c83e43e9f935f3f0485b1f9e74ac4e8c5ce47'; \ | ||
BINARY_URL='https://github.com/adoptium/temurin8-binaries/releases/download/jdk8u362-b09/OpenJDK8U-jdk_x64_alpine-linux_hotspot_8u362b09.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 |
---|---|---|
|
@@ -19,22 +19,22 @@ | |
# Set base Docker image to CentOS Docker image. | ||
FROM centos:7 | ||
LABEL maintainer="WSO2 Docker Maintainers <[email protected]>" \ | ||
com.wso2.docker.source="https://github.com/wso2/docker-is/releases/tag/v5.9.0.6" | ||
com.wso2.docker.source="https://github.com/wso2/docker-is/releases/tag/v5.9.0.7" | ||
ENV LANG='en_US.UTF-8' LANGUAGE='en_US:en' LC_ALL='en_US.UTF-8' | ||
|
||
# Install JDK Dependencies. | ||
RUN yum install -y tzdata openssl curl ca-certificates fontconfig gzip tar \ | ||
&& yum clean all | ||
|
||
ENV JAVA_VERSION jdk8u322-b06 | ||
ENV JAVA_VERSION jdk8u362-b09 | ||
|
||
# Install JDK8. | ||
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='3d62362a78c9412766471b05253507a4cfc212daea5cdf122860173ce902400e'; \ | ||
BINARY_URL='https://github.com/adoptium/temurin8-binaries/releases/download/jdk8u322-b06/OpenJDK8U-jdk_x64_linux_hotspot_8u322b06.tar.gz'; \ | ||
ESUM='1486a792fb224611ce0cd0e83d4aacd3503b56698549f8e9a9f0a6ebb83bdba1'; \ | ||
BINARY_URL='https://github.com/adoptium/temurin8-binaries/releases/download/jdk8u362-b09/OpenJDK8U-jdk_x64_linux_hotspot_8u362b09.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 |
---|---|---|
|
@@ -20,7 +20,7 @@ | |
FROM ubuntu:20.04 | ||
|
||
LABEL maintainer="WSO2 Docker Maintainers <[email protected]>" \ | ||
com.wso2.docker.source="https://github.com/wso2/docker-is/releases/tag/v5.9.0.6" | ||
com.wso2.docker.source="https://github.com/wso2/docker-is/releases/tag/v5.9.0.7" | ||
|
||
ENV LANG='en_US.UTF-8' LANGUAGE='en_US:en' LC_ALL='en_US.UTF-8' | ||
|
||
|
@@ -31,15 +31,15 @@ RUN apt-get update \ | |
&& locale-gen en_US.UTF-8 \ | ||
&& rm -rf /var/lib/apt/lists/* | ||
|
||
ENV JAVA_VERSION jdk8u322-b06 | ||
ENV JAVA_VERSION jdk8u362-b09 | ||
|
||
# Install JDK8. | ||
RUN set -eux; \ | ||
ARCH="$(dpkg --print-architecture)"; \ | ||
case "${ARCH}" in \ | ||
amd64|x86_64) \ | ||
ESUM='3d62362a78c9412766471b05253507a4cfc212daea5cdf122860173ce902400e'; \ | ||
BINARY_URL='https://github.com/adoptium/temurin8-binaries/releases/download/jdk8u322-b06/OpenJDK8U-jdk_x64_linux_hotspot_8u322b06.tar.gz'; \ | ||
ESUM='1486a792fb224611ce0cd0e83d4aacd3503b56698549f8e9a9f0a6ebb83bdba1'; \ | ||
BINARY_URL='https://github.com/adoptium/temurin8-binaries/releases/download/jdk8u362-b09/OpenJDK8U-jdk_x64_linux_hotspot_8u362b09.tar.gz'; \ | ||
;; \ | ||
*) \ | ||
echo "Unsupported arch: ${ARCH}"; \ | ||
|