From 18230eec8ab8c1103c10a3e72f2866632d357844 Mon Sep 17 00:00:00 2001 From: eclipse-temurin-bot Date: Thu, 4 Jul 2024 13:56:17 +0000 Subject: [PATCH] dockerfile: automated nightly updates --- 16/jdk/alpine/Dockerfile.releases.full | 60 ------------- 16/jdk/ubuntu/Dockerfile.releases.full | 75 ---------------- .../nanoserver-1809/Dockerfile.releases.full | 41 --------- .../Dockerfile.releases.full | 56 ------------ 18/jdk/alpine/Dockerfile.releases.full | 63 -------------- 18/jdk/ubuntu/focal/Dockerfile.releases.full | 87 ------------------- 18/jdk/ubuntu/jammy/Dockerfile.releases.full | 87 ------------------- .../nanoserver-1809/Dockerfile.releases.full | 41 --------- .../Dockerfile.releases.full | 41 --------- .../Dockerfile.releases.full | 56 ------------ .../Dockerfile.releases.full | 56 ------------ 18/jre/alpine/Dockerfile.releases.full | 60 ------------- 18/jre/ubuntu/focal/Dockerfile.releases.full | 84 ------------------ 18/jre/ubuntu/jammy/Dockerfile.releases.full | 84 ------------------ .../nanoserver-1809/Dockerfile.releases.full | 38 -------- .../Dockerfile.releases.full | 38 -------- .../Dockerfile.releases.full | 53 ----------- .../Dockerfile.releases.full | 53 ----------- 19/jdk/alpine/Dockerfile.releases.full | 63 -------------- .../ubi/ubi9-minimal/Dockerfile.releases.full | 74 ---------------- 19/jdk/ubuntu/focal/Dockerfile.releases.full | 87 ------------------- 19/jdk/ubuntu/jammy/Dockerfile.releases.full | 87 ------------------- .../nanoserver-1809/Dockerfile.releases.full | 41 --------- .../Dockerfile.releases.full | 41 --------- .../Dockerfile.releases.full | 56 ------------ .../Dockerfile.releases.full | 56 ------------ 19/jre/alpine/Dockerfile.releases.full | 60 ------------- .../ubi/ubi9-minimal/Dockerfile.releases.full | 71 --------------- 19/jre/ubuntu/focal/Dockerfile.releases.full | 84 ------------------ 19/jre/ubuntu/jammy/Dockerfile.releases.full | 84 ------------------ .../nanoserver-1809/Dockerfile.releases.full | 38 -------- .../Dockerfile.releases.full | 38 -------- .../Dockerfile.releases.full | 53 ----------- .../Dockerfile.releases.full | 53 ----------- 20/jdk/alpine/Dockerfile.releases.full | 67 -------------- 20/jdk/alpine/entrypoint.sh | 30 ------- .../ubi/ubi9-minimal/Dockerfile.releases.full | 68 --------------- 20/jdk/ubi/ubi9-minimal/entrypoint.sh | 30 ------- 20/jdk/ubuntu/jammy/Dockerfile.releases.full | 77 ---------------- 20/jdk/ubuntu/jammy/entrypoint.sh | 30 ------- .../nanoserver-1809/Dockerfile.releases.full | 41 --------- .../Dockerfile.releases.full | 41 --------- .../Dockerfile.releases.full | 56 ------------ .../Dockerfile.releases.full | 56 ------------ 20/jre/alpine/Dockerfile.releases.full | 64 -------------- 20/jre/alpine/entrypoint.sh | 30 ------- .../ubi/ubi9-minimal/Dockerfile.releases.full | 65 -------------- 20/jre/ubi/ubi9-minimal/entrypoint.sh | 30 ------- 20/jre/ubuntu/jammy/Dockerfile.releases.full | 74 ---------------- 20/jre/ubuntu/jammy/entrypoint.sh | 30 ------- .../nanoserver-1809/Dockerfile.releases.full | 38 -------- .../Dockerfile.releases.full | 38 -------- .../Dockerfile.releases.full | 53 ----------- .../Dockerfile.releases.full | 53 ----------- 54 files changed, 3030 deletions(-) delete mode 100644 16/jdk/alpine/Dockerfile.releases.full delete mode 100644 16/jdk/ubuntu/Dockerfile.releases.full delete mode 100644 16/jdk/windows/nanoserver-1809/Dockerfile.releases.full delete mode 100644 16/jdk/windows/windowsservercore-1809/Dockerfile.releases.full delete mode 100644 18/jdk/alpine/Dockerfile.releases.full delete mode 100644 18/jdk/ubuntu/focal/Dockerfile.releases.full delete mode 100644 18/jdk/ubuntu/jammy/Dockerfile.releases.full delete mode 100644 18/jdk/windows/nanoserver-1809/Dockerfile.releases.full delete mode 100644 18/jdk/windows/nanoserver-ltsc2022/Dockerfile.releases.full delete mode 100644 18/jdk/windows/windowsservercore-1809/Dockerfile.releases.full delete mode 100644 18/jdk/windows/windowsservercore-ltsc2022/Dockerfile.releases.full delete mode 100644 18/jre/alpine/Dockerfile.releases.full delete mode 100644 18/jre/ubuntu/focal/Dockerfile.releases.full delete mode 100644 18/jre/ubuntu/jammy/Dockerfile.releases.full delete mode 100644 18/jre/windows/nanoserver-1809/Dockerfile.releases.full delete mode 100644 18/jre/windows/nanoserver-ltsc2022/Dockerfile.releases.full delete mode 100644 18/jre/windows/windowsservercore-1809/Dockerfile.releases.full delete mode 100644 18/jre/windows/windowsservercore-ltsc2022/Dockerfile.releases.full delete mode 100644 19/jdk/alpine/Dockerfile.releases.full delete mode 100644 19/jdk/ubi/ubi9-minimal/Dockerfile.releases.full delete mode 100644 19/jdk/ubuntu/focal/Dockerfile.releases.full delete mode 100644 19/jdk/ubuntu/jammy/Dockerfile.releases.full delete mode 100644 19/jdk/windows/nanoserver-1809/Dockerfile.releases.full delete mode 100644 19/jdk/windows/nanoserver-ltsc2022/Dockerfile.releases.full delete mode 100644 19/jdk/windows/windowsservercore-1809/Dockerfile.releases.full delete mode 100644 19/jdk/windows/windowsservercore-ltsc2022/Dockerfile.releases.full delete mode 100644 19/jre/alpine/Dockerfile.releases.full delete mode 100644 19/jre/ubi/ubi9-minimal/Dockerfile.releases.full delete mode 100644 19/jre/ubuntu/focal/Dockerfile.releases.full delete mode 100644 19/jre/ubuntu/jammy/Dockerfile.releases.full delete mode 100644 19/jre/windows/nanoserver-1809/Dockerfile.releases.full delete mode 100644 19/jre/windows/nanoserver-ltsc2022/Dockerfile.releases.full delete mode 100644 19/jre/windows/windowsservercore-1809/Dockerfile.releases.full delete mode 100644 19/jre/windows/windowsservercore-ltsc2022/Dockerfile.releases.full delete mode 100644 20/jdk/alpine/Dockerfile.releases.full delete mode 100755 20/jdk/alpine/entrypoint.sh delete mode 100644 20/jdk/ubi/ubi9-minimal/Dockerfile.releases.full delete mode 100755 20/jdk/ubi/ubi9-minimal/entrypoint.sh delete mode 100644 20/jdk/ubuntu/jammy/Dockerfile.releases.full delete mode 100755 20/jdk/ubuntu/jammy/entrypoint.sh delete mode 100644 20/jdk/windows/nanoserver-1809/Dockerfile.releases.full delete mode 100644 20/jdk/windows/nanoserver-ltsc2022/Dockerfile.releases.full delete mode 100644 20/jdk/windows/windowsservercore-1809/Dockerfile.releases.full delete mode 100644 20/jdk/windows/windowsservercore-ltsc2022/Dockerfile.releases.full delete mode 100644 20/jre/alpine/Dockerfile.releases.full delete mode 100755 20/jre/alpine/entrypoint.sh delete mode 100644 20/jre/ubi/ubi9-minimal/Dockerfile.releases.full delete mode 100755 20/jre/ubi/ubi9-minimal/entrypoint.sh delete mode 100644 20/jre/ubuntu/jammy/Dockerfile.releases.full delete mode 100755 20/jre/ubuntu/jammy/entrypoint.sh delete mode 100644 20/jre/windows/nanoserver-1809/Dockerfile.releases.full delete mode 100644 20/jre/windows/nanoserver-ltsc2022/Dockerfile.releases.full delete mode 100644 20/jre/windows/windowsservercore-1809/Dockerfile.releases.full delete mode 100644 20/jre/windows/windowsservercore-ltsc2022/Dockerfile.releases.full diff --git a/16/jdk/alpine/Dockerfile.releases.full b/16/jdk/alpine/Dockerfile.releases.full deleted file mode 100644 index a09664d11..000000000 --- a/16/jdk/alpine/Dockerfile.releases.full +++ /dev/null @@ -1,60 +0,0 @@ -# ------------------------------------------------------------------------------ -# NOTE: THIS DOCKERFILE IS GENERATED VIA "update_multiarch.sh" -# -# PLEASE DO NOT EDIT IT DIRECTLY. -# ------------------------------------------------------------------------------ -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# https://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -# - -FROM alpine:3.15 - -ENV LANG='en_US.UTF-8' LANGUAGE='en_US:en' LC_ALL='en_US.UTF-8' - -RUN apk add --no-cache tzdata musl-locales musl-locales-lang \ - && rm -rf /var/cache/apk/* - -ENV JAVA_VERSION jdk-16.0.2+7 - -RUN set -eux; \ - ARCH="$(apk --print-arch)"; \ - case "${ARCH}" in \ - amd64|x86_64) \ - ESUM='85788b1a1f470ca7ddc576028f29abbc3bc3b08f82dd811a3e24371689d7dc0f'; \ - BINARY_URL='https://github.com/adoptium/temurin16-binaries/releases/download/jdk-16.0.2%2B7/OpenJDK16U-jdk_x64_alpine-linux_hotspot_16.0.2_7.tar.gz'; \ - ;; \ - *) \ - echo "Unsupported arch: ${ARCH}"; \ - exit 1; \ - ;; \ - esac; \ - wget -O /tmp/openjdk.tar.gz ${BINARY_URL}; \ - echo "${ESUM} */tmp/openjdk.tar.gz" | sha256sum -c -; \ - mkdir -p /opt/java/openjdk; \ - tar --extract \ - --file /tmp/openjdk.tar.gz \ - --directory /opt/java/openjdk \ - --strip-components 1 \ - --no-same-owner \ - ; \ - rm -rf /tmp/openjdk.tar.gz; - -ENV JAVA_HOME=/opt/java/openjdk \ - PATH="/opt/java/openjdk/bin:$PATH" - -RUN echo Verifying install ... \ - && echo javac --version && javac --version \ - && echo java --version && java --version \ - && echo Complete. - -CMD ["jshell"] diff --git a/16/jdk/ubuntu/Dockerfile.releases.full b/16/jdk/ubuntu/Dockerfile.releases.full deleted file mode 100644 index a21cd7184..000000000 --- a/16/jdk/ubuntu/Dockerfile.releases.full +++ /dev/null @@ -1,75 +0,0 @@ -# ------------------------------------------------------------------------------ -# NOTE: THIS DOCKERFILE IS GENERATED VIA "update_multiarch.sh" -# -# PLEASE DO NOT EDIT IT DIRECTLY. -# ------------------------------------------------------------------------------ -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# https://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -# - -FROM ubuntu:20.04 - -ENV LANG='en_US.UTF-8' LANGUAGE='en_US:en' LC_ALL='en_US.UTF-8' - -RUN apt-get update \ - && DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends tzdata curl ca-certificates fontconfig locales binutils \ - && echo "en_US.UTF-8 UTF-8" >> /etc/locale.gen \ - && locale-gen en_US.UTF-8 \ - && rm -rf /var/lib/apt/lists/* - -ENV JAVA_VERSION jdk-16.0.2+7 - -RUN set -eux; \ - ARCH="$(dpkg --print-architecture)"; \ - case "${ARCH}" in \ - aarch64|arm64) \ - ESUM='cb77d9d126f97898dfdc8b5fb694d1e0e5d93d13a0a6cb2aeda76f8635384340'; \ - BINARY_URL='https://github.com/adoptium/temurin16-binaries/releases/download/jdk-16.0.2%2B7/OpenJDK16U-jdk_aarch64_linux_hotspot_16.0.2_7.tar.gz'; \ - ;; \ - armhf|arm) \ - ESUM='7721ef81416af8122a28448f3d661eb4bda40a9f78d400e4ecc55b58e627a00c'; \ - BINARY_URL='https://github.com/adoptium/temurin16-binaries/releases/download/jdk-16.0.2%2B7/OpenJDK16U-jdk_arm_linux_hotspot_16.0.2_7.tar.gz'; \ - ;; \ - ppc64el|powerpc:common64) \ - ESUM='36ebe6c72f2fc19b8b17371f731390e15fa3aab08c28b55b9a8b71d0a578adc9'; \ - BINARY_URL='https://github.com/adoptium/temurin16-binaries/releases/download/jdk-16.0.2%2B7/OpenJDK16U-jdk_ppc64le_linux_hotspot_16.0.2_7.tar.gz'; \ - ;; \ - s390x|s390:64-bit) \ - ESUM='fa3ab64ae26727196323105714ac50589ed2782a4c92a29730f7aa886c15807e'; \ - BINARY_URL='https://github.com/adoptium/temurin16-binaries/releases/download/jdk-16.0.2%2B7/OpenJDK16U-jdk_s390x_linux_hotspot_16.0.2_7.tar.gz'; \ - ;; \ - amd64|i386:x86-64) \ - ESUM='323d6d7474a359a28eff7ddd0df8e65bd61554a8ed12ef42fd9365349e573c2c'; \ - BINARY_URL='https://github.com/adoptium/temurin16-binaries/releases/download/jdk-16.0.2%2B7/OpenJDK16U-jdk_x64_linux_hotspot_16.0.2_7.tar.gz'; \ - ;; \ - *) \ - echo "Unsupported arch: ${ARCH}"; \ - exit 1; \ - ;; \ - esac; \ - curl -LfsSo /tmp/openjdk.tar.gz ${BINARY_URL}; \ - echo "${ESUM} */tmp/openjdk.tar.gz" | sha256sum -c -; \ - mkdir -p /opt/java/openjdk; \ - cd /opt/java/openjdk; \ - tar -xf /tmp/openjdk.tar.gz --strip-components=1; \ - rm -rf /tmp/openjdk.tar.gz; - -ENV JAVA_HOME=/opt/java/openjdk \ - PATH="/opt/java/openjdk/bin:$PATH" - -RUN echo Verifying install ... \ - && echo javac --version && javac --version \ - && echo java --version && java --version \ - && echo Complete. - -CMD ["jshell"] diff --git a/16/jdk/windows/nanoserver-1809/Dockerfile.releases.full b/16/jdk/windows/nanoserver-1809/Dockerfile.releases.full deleted file mode 100644 index 753b41e81..000000000 --- a/16/jdk/windows/nanoserver-1809/Dockerfile.releases.full +++ /dev/null @@ -1,41 +0,0 @@ -# ------------------------------------------------------------------------------ -# NOTE: THIS DOCKERFILE IS GENERATED VIA "update_multiarch.sh" -# -# PLEASE DO NOT EDIT IT DIRECTLY. -# ------------------------------------------------------------------------------ -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# https://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -# - -FROM mcr.microsoft.com/windows/nanoserver:1809 - -SHELL ["cmd", "/s", "/c"] - -ENV JAVA_VERSION jdk-16.0.2+7 - -ENV JAVA_HOME C:\\openjdk-16 -# "ERROR: Access to the registry path is denied." -USER ContainerAdministrator -RUN echo Updating PATH: %JAVA_HOME%\bin;%PATH% \ - && setx /M PATH %JAVA_HOME%\bin;%PATH% \ - && echo Complete. -USER ContainerUser - -COPY --from=eclipse-temurin:16.0.2_7-jdk-windowsservercore-1809 $JAVA_HOME $JAVA_HOME - -RUN echo Verifying install ... \ - && echo javac --version && javac --version \ - && echo java --version && java --version \ - && echo Complete. - -CMD ["jshell"] diff --git a/16/jdk/windows/windowsservercore-1809/Dockerfile.releases.full b/16/jdk/windows/windowsservercore-1809/Dockerfile.releases.full deleted file mode 100644 index b6f4f6c6f..000000000 --- a/16/jdk/windows/windowsservercore-1809/Dockerfile.releases.full +++ /dev/null @@ -1,56 +0,0 @@ -# ------------------------------------------------------------------------------ -# NOTE: THIS DOCKERFILE IS GENERATED VIA "update_multiarch.sh" -# -# PLEASE DO NOT EDIT IT DIRECTLY. -# ------------------------------------------------------------------------------ -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# https://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -# - -FROM mcr.microsoft.com/windows/servercore:1809 - -# $ProgressPreference: https://github.com/PowerShell/PowerShell/issues/2138#issuecomment-251261324 -SHELL ["powershell", "-Command", "$ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue';"] - -ENV JAVA_VERSION jdk-16.0.2+7 - -RUN Write-Host ('Downloading https://github.com/adoptium/temurin16-binaries/releases/download/jdk-16.0.2%2B7/OpenJDK16U-jdk_x64_windows_hotspot_16.0.2_7.msi ...'); \ - curl.exe -LfsSo openjdk.msi https://github.com/adoptium/temurin16-binaries/releases/download/jdk-16.0.2%2B7/OpenJDK16U-jdk_x64_windows_hotspot_16.0.2_7.msi ; \ - Write-Host ('Verifying sha256 (b153c6ce102c6f05fd710c4b26c64224b649457613dad4830dcc6b551c0a4b3d) ...'); \ - if ((Get-FileHash openjdk.msi -Algorithm sha256).Hash -ne 'b153c6ce102c6f05fd710c4b26c64224b649457613dad4830dcc6b551c0a4b3d') { \ - Write-Host 'FAILED!'; \ - exit 1; \ - }; \ - \ - New-Item -ItemType Directory -Path C:\temp | Out-Null; \ - \ - Write-Host 'Installing using MSI ...'; \ - $proc = Start-Process -FilePath "msiexec.exe" -ArgumentList '/i', 'openjdk.msi', '/L*V', 'C:\temp\OpenJDK.log', \ - '/quiet', 'ADDLOCAL=FeatureEnvironment,FeatureJarFileRunWith,FeatureJavaHome', 'INSTALLDIR=C:\openjdk-16' -Wait -Passthru; \ - $proc.WaitForExit() ; \ - if ($proc.ExitCode -ne 0) { \ - Write-Host 'FAILED installing MSI!' ; \ - exit 1; \ - }; \ - \ - Remove-Item -Path C:\temp -Recurse | Out-Null; \ - Write-Host 'Removing openjdk.msi ...'; \ - Remove-Item openjdk.msi -Force - -RUN Write-Host 'Verifying install ...'; \ - Write-Host 'javac --version'; javac --version; \ - Write-Host 'java --version'; java --version; \ - \ - Write-Host 'Complete.' - -CMD ["jshell"] diff --git a/18/jdk/alpine/Dockerfile.releases.full b/18/jdk/alpine/Dockerfile.releases.full deleted file mode 100644 index 24229a01e..000000000 --- a/18/jdk/alpine/Dockerfile.releases.full +++ /dev/null @@ -1,63 +0,0 @@ -# ------------------------------------------------------------------------------ -# NOTE: THIS DOCKERFILE IS GENERATED VIA "update_multiarch.sh" -# -# PLEASE DO NOT EDIT IT DIRECTLY. -# ------------------------------------------------------------------------------ -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# https://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -# - -FROM alpine:3.16 - -ENV JAVA_HOME /opt/java/openjdk -ENV PATH $JAVA_HOME/bin:$PATH - -# Default to UTF-8 file.encoding -ENV LANG='en_US.UTF-8' LANGUAGE='en_US:en' LC_ALL='en_US.UTF-8' - -# fontconfig and ttf-dejavu added to support serverside image generation by Java programs -RUN apk add --no-cache fontconfig libretls musl-locales musl-locales-lang ttf-dejavu tzdata zlib \ - && rm -rf /var/cache/apk/* - -ENV JAVA_VERSION jdk-18.0.2.1+1 - -RUN set -eux; \ - ARCH="$(apk --print-arch)"; \ - case "${ARCH}" in \ - amd64|x86_64) \ - ESUM='478c8f56dec7378ed8c687e8d7d0fbf729973c62c497cfc8cf58bd621849d764'; \ - BINARY_URL='https://github.com/adoptium/temurin18-binaries/releases/download/jdk-18.0.2.1%2B1/OpenJDK18U-jdk_x64_alpine-linux_hotspot_18.0.2.1_1.tar.gz'; \ - ;; \ - *) \ - echo "Unsupported arch: ${ARCH}"; \ - exit 1; \ - ;; \ - esac; \ - wget -O /tmp/openjdk.tar.gz ${BINARY_URL}; \ - echo "${ESUM} */tmp/openjdk.tar.gz" | sha256sum -c -; \ - mkdir -p "$JAVA_HOME"; \ - tar --extract \ - --file /tmp/openjdk.tar.gz \ - --directory "$JAVA_HOME" \ - --strip-components 1 \ - --no-same-owner \ - ; \ - rm -f /tmp/openjdk.tar.gz ${JAVA_HOME}/lib/src.zip; - -RUN echo Verifying install ... \ - && fileEncoding="$(echo 'System.out.println(System.getProperty("file.encoding"))' | jshell -s -)"; [ "$fileEncoding" = 'UTF-8' ]; rm -rf ~/.java \ - && echo javac --version && javac --version \ - && echo java --version && java --version \ - && echo Complete. - -CMD ["jshell"] diff --git a/18/jdk/ubuntu/focal/Dockerfile.releases.full b/18/jdk/ubuntu/focal/Dockerfile.releases.full deleted file mode 100644 index 904f76ce8..000000000 --- a/18/jdk/ubuntu/focal/Dockerfile.releases.full +++ /dev/null @@ -1,87 +0,0 @@ -# ------------------------------------------------------------------------------ -# NOTE: THIS DOCKERFILE IS GENERATED VIA "update_multiarch.sh" -# -# PLEASE DO NOT EDIT IT DIRECTLY. -# ------------------------------------------------------------------------------ -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# https://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -# - -FROM ubuntu:20.04 - -ENV JAVA_HOME /opt/java/openjdk -ENV PATH $JAVA_HOME/bin:$PATH - -# Default to UTF-8 file.encoding -ENV LANG='en_US.UTF-8' LANGUAGE='en_US:en' LC_ALL='en_US.UTF-8' - -RUN apt-get update \ - && DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends tzdata curl wget ca-certificates fontconfig locales binutils \ - && echo "en_US.UTF-8 UTF-8" >> /etc/locale.gen \ - && locale-gen en_US.UTF-8 \ - && rm -rf /var/lib/apt/lists/* - -ENV JAVA_VERSION jdk-18.0.2.1+1 - -RUN set -eux; \ - ARCH="$(dpkg --print-architecture)"; \ - case "${ARCH}" in \ - aarch64|arm64) \ - ESUM='262be608e266fd76d7496af83b2832be853c3aaf7460d6a4da198cd40db74553'; \ - BINARY_URL='https://github.com/adoptium/temurin18-binaries/releases/download/jdk-18.0.2.1%2B1/OpenJDK18U-jdk_aarch64_linux_hotspot_18.0.2.1_1.tar.gz'; \ - ;; \ - armhf|arm) \ - ESUM='4cd49b92d13847bfad7b3bf635cca349e2c89c7641748c5288bc40d612cdbbd6'; \ - BINARY_URL='https://github.com/adoptium/temurin18-binaries/releases/download/jdk-18.0.2.1%2B1/OpenJDK18U-jdk_arm_linux_hotspot_18.0.2.1_1.tar.gz'; \ - ;; \ - ppc64el|powerpc:common64) \ - ESUM='030261a2189a8f773fda543a85ab9beb4c430bf81ca5be37cf6cb970b5ccbb03'; \ - BINARY_URL='https://github.com/adoptium/temurin18-binaries/releases/download/jdk-18.0.2.1%2B1/OpenJDK18U-jdk_ppc64le_linux_hotspot_18.0.2.1_1.tar.gz'; \ - ;; \ - s390x|s390:64-bit) \ - ESUM='06d0f71e59b0d7112303a2eb95b1c3701054c868100837e642c6204ea71c0e2f'; \ - BINARY_URL='https://github.com/adoptium/temurin18-binaries/releases/download/jdk-18.0.2.1%2B1/OpenJDK18U-jdk_s390x_linux_hotspot_18.0.2.1_1.tar.gz'; \ - ;; \ - amd64|i386:x86-64) \ - ESUM='7d6beba8cfc0a8347f278f7414351191a95a707d46b6586e9a786f2669af0f8b'; \ - BINARY_URL='https://github.com/adoptium/temurin18-binaries/releases/download/jdk-18.0.2.1%2B1/OpenJDK18U-jdk_x64_linux_hotspot_18.0.2.1_1.tar.gz'; \ - ;; \ - *) \ - echo "Unsupported arch: ${ARCH}"; \ - exit 1; \ - ;; \ - esac; \ - wget -O /tmp/openjdk.tar.gz ${BINARY_URL}; \ - echo "${ESUM} */tmp/openjdk.tar.gz" | sha256sum -c -; \ - mkdir -p "$JAVA_HOME"; \ - tar --extract \ - --file /tmp/openjdk.tar.gz \ - --directory "$JAVA_HOME" \ - --strip-components 1 \ - --no-same-owner \ - ; \ - rm -f /tmp/openjdk.tar.gz ${JAVA_HOME}/lib/src.zip; \ -# https://github.com/docker-library/openjdk/issues/331#issuecomment-498834472 - find "$JAVA_HOME/lib" -name '*.so' -exec dirname '{}' ';' | sort -u > /etc/ld.so.conf.d/docker-openjdk.conf; \ - ldconfig; \ -# https://github.com/docker-library/openjdk/issues/212#issuecomment-420979840 -# https://openjdk.java.net/jeps/341 - java -Xshare:dump; - -RUN echo Verifying install ... \ - && fileEncoding="$(echo 'System.out.println(System.getProperty("file.encoding"))' | jshell -s -)"; [ "$fileEncoding" = 'UTF-8' ]; rm -rf ~/.java \ - && echo javac --version && javac --version \ - && echo java --version && java --version \ - && echo Complete. - -CMD ["jshell"] diff --git a/18/jdk/ubuntu/jammy/Dockerfile.releases.full b/18/jdk/ubuntu/jammy/Dockerfile.releases.full deleted file mode 100644 index 5035c60fa..000000000 --- a/18/jdk/ubuntu/jammy/Dockerfile.releases.full +++ /dev/null @@ -1,87 +0,0 @@ -# ------------------------------------------------------------------------------ -# NOTE: THIS DOCKERFILE IS GENERATED VIA "update_multiarch.sh" -# -# PLEASE DO NOT EDIT IT DIRECTLY. -# ------------------------------------------------------------------------------ -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# https://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -# - -FROM ubuntu:22.04 - -ENV JAVA_HOME /opt/java/openjdk -ENV PATH $JAVA_HOME/bin:$PATH - -# Default to UTF-8 file.encoding -ENV LANG='en_US.UTF-8' LANGUAGE='en_US:en' LC_ALL='en_US.UTF-8' - -RUN apt-get update \ - && DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends tzdata curl wget ca-certificates fontconfig locales binutils \ - && echo "en_US.UTF-8 UTF-8" >> /etc/locale.gen \ - && locale-gen en_US.UTF-8 \ - && rm -rf /var/lib/apt/lists/* - -ENV JAVA_VERSION jdk-18.0.2.1+1 - -RUN set -eux; \ - ARCH="$(dpkg --print-architecture)"; \ - case "${ARCH}" in \ - aarch64|arm64) \ - ESUM='262be608e266fd76d7496af83b2832be853c3aaf7460d6a4da198cd40db74553'; \ - BINARY_URL='https://github.com/adoptium/temurin18-binaries/releases/download/jdk-18.0.2.1%2B1/OpenJDK18U-jdk_aarch64_linux_hotspot_18.0.2.1_1.tar.gz'; \ - ;; \ - armhf|arm) \ - ESUM='4cd49b92d13847bfad7b3bf635cca349e2c89c7641748c5288bc40d612cdbbd6'; \ - BINARY_URL='https://github.com/adoptium/temurin18-binaries/releases/download/jdk-18.0.2.1%2B1/OpenJDK18U-jdk_arm_linux_hotspot_18.0.2.1_1.tar.gz'; \ - ;; \ - ppc64el|powerpc:common64) \ - ESUM='030261a2189a8f773fda543a85ab9beb4c430bf81ca5be37cf6cb970b5ccbb03'; \ - BINARY_URL='https://github.com/adoptium/temurin18-binaries/releases/download/jdk-18.0.2.1%2B1/OpenJDK18U-jdk_ppc64le_linux_hotspot_18.0.2.1_1.tar.gz'; \ - ;; \ - s390x|s390:64-bit) \ - ESUM='06d0f71e59b0d7112303a2eb95b1c3701054c868100837e642c6204ea71c0e2f'; \ - BINARY_URL='https://github.com/adoptium/temurin18-binaries/releases/download/jdk-18.0.2.1%2B1/OpenJDK18U-jdk_s390x_linux_hotspot_18.0.2.1_1.tar.gz'; \ - ;; \ - amd64|i386:x86-64) \ - ESUM='7d6beba8cfc0a8347f278f7414351191a95a707d46b6586e9a786f2669af0f8b'; \ - BINARY_URL='https://github.com/adoptium/temurin18-binaries/releases/download/jdk-18.0.2.1%2B1/OpenJDK18U-jdk_x64_linux_hotspot_18.0.2.1_1.tar.gz'; \ - ;; \ - *) \ - echo "Unsupported arch: ${ARCH}"; \ - exit 1; \ - ;; \ - esac; \ - wget -O /tmp/openjdk.tar.gz ${BINARY_URL}; \ - echo "${ESUM} */tmp/openjdk.tar.gz" | sha256sum -c -; \ - mkdir -p "$JAVA_HOME"; \ - tar --extract \ - --file /tmp/openjdk.tar.gz \ - --directory "$JAVA_HOME" \ - --strip-components 1 \ - --no-same-owner \ - ; \ - rm -f /tmp/openjdk.tar.gz ${JAVA_HOME}/lib/src.zip; \ -# https://github.com/docker-library/openjdk/issues/331#issuecomment-498834472 - find "$JAVA_HOME/lib" -name '*.so' -exec dirname '{}' ';' | sort -u > /etc/ld.so.conf.d/docker-openjdk.conf; \ - ldconfig; \ -# https://github.com/docker-library/openjdk/issues/212#issuecomment-420979840 -# https://openjdk.java.net/jeps/341 - java -Xshare:dump; - -RUN echo Verifying install ... \ - && fileEncoding="$(echo 'System.out.println(System.getProperty("file.encoding"))' | jshell -s -)"; [ "$fileEncoding" = 'UTF-8' ]; rm -rf ~/.java \ - && echo javac --version && javac --version \ - && echo java --version && java --version \ - && echo Complete. - -CMD ["jshell"] diff --git a/18/jdk/windows/nanoserver-1809/Dockerfile.releases.full b/18/jdk/windows/nanoserver-1809/Dockerfile.releases.full deleted file mode 100644 index fe39865d6..000000000 --- a/18/jdk/windows/nanoserver-1809/Dockerfile.releases.full +++ /dev/null @@ -1,41 +0,0 @@ -# ------------------------------------------------------------------------------ -# NOTE: THIS DOCKERFILE IS GENERATED VIA "update_multiarch.sh" -# -# PLEASE DO NOT EDIT IT DIRECTLY. -# ------------------------------------------------------------------------------ -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# https://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -# - -FROM mcr.microsoft.com/windows/nanoserver:1809 - -SHELL ["cmd", "/s", "/c"] - -ENV JAVA_VERSION jdk-18.0.2.1+1 - -ENV JAVA_HOME C:\\openjdk-18 -# "ERROR: Access to the registry path is denied." -USER ContainerAdministrator -RUN echo Updating PATH: %JAVA_HOME%\bin;%PATH% \ - && setx /M PATH %JAVA_HOME%\bin;%PATH% \ - && echo Complete. -USER ContainerUser - -COPY --from=eclipse-temurin:18.0.2.1_1-jdk-windowsservercore-1809 $JAVA_HOME $JAVA_HOME - -RUN echo Verifying install ... \ - && echo javac --version && javac --version \ - && echo java --version && java --version \ - && echo Complete. - -CMD ["jshell"] diff --git a/18/jdk/windows/nanoserver-ltsc2022/Dockerfile.releases.full b/18/jdk/windows/nanoserver-ltsc2022/Dockerfile.releases.full deleted file mode 100644 index d89475c8a..000000000 --- a/18/jdk/windows/nanoserver-ltsc2022/Dockerfile.releases.full +++ /dev/null @@ -1,41 +0,0 @@ -# ------------------------------------------------------------------------------ -# NOTE: THIS DOCKERFILE IS GENERATED VIA "update_multiarch.sh" -# -# PLEASE DO NOT EDIT IT DIRECTLY. -# ------------------------------------------------------------------------------ -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# https://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -# - -FROM mcr.microsoft.com/windows/nanoserver:ltsc2022 - -SHELL ["cmd", "/s", "/c"] - -ENV JAVA_VERSION jdk-18.0.2.1+1 - -ENV JAVA_HOME C:\\openjdk-18 -# "ERROR: Access to the registry path is denied." -USER ContainerAdministrator -RUN echo Updating PATH: %JAVA_HOME%\bin;%PATH% \ - && setx /M PATH %JAVA_HOME%\bin;%PATH% \ - && echo Complete. -USER ContainerUser - -COPY --from=eclipse-temurin:18.0.2.1_1-jdk-windowsservercore-ltsc2022 $JAVA_HOME $JAVA_HOME - -RUN echo Verifying install ... \ - && echo javac --version && javac --version \ - && echo java --version && java --version \ - && echo Complete. - -CMD ["jshell"] diff --git a/18/jdk/windows/windowsservercore-1809/Dockerfile.releases.full b/18/jdk/windows/windowsservercore-1809/Dockerfile.releases.full deleted file mode 100644 index 45ef0a80e..000000000 --- a/18/jdk/windows/windowsservercore-1809/Dockerfile.releases.full +++ /dev/null @@ -1,56 +0,0 @@ -# ------------------------------------------------------------------------------ -# NOTE: THIS DOCKERFILE IS GENERATED VIA "update_multiarch.sh" -# -# PLEASE DO NOT EDIT IT DIRECTLY. -# ------------------------------------------------------------------------------ -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# https://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -# - -FROM mcr.microsoft.com/windows/servercore:1809 - -# $ProgressPreference: https://github.com/PowerShell/PowerShell/issues/2138#issuecomment-251261324 -SHELL ["powershell", "-Command", "$ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue';"] - -ENV JAVA_VERSION jdk-18.0.2.1+1 - -RUN Write-Host ('Downloading https://github.com/adoptium/temurin18-binaries/releases/download/jdk-18.0.2.1%2B1/OpenJDK18U-jdk_x64_windows_hotspot_18.0.2.1_1.msi ...'); \ - curl.exe -LfsSo openjdk.msi https://github.com/adoptium/temurin18-binaries/releases/download/jdk-18.0.2.1%2B1/OpenJDK18U-jdk_x64_windows_hotspot_18.0.2.1_1.msi ; \ - Write-Host ('Verifying sha256 (e766c2d6100e70786ff0bb154054dd64bb45ea14ffc995544bbced98eb1c8703) ...'); \ - if ((Get-FileHash openjdk.msi -Algorithm sha256).Hash -ne 'e766c2d6100e70786ff0bb154054dd64bb45ea14ffc995544bbced98eb1c8703') { \ - Write-Host 'FAILED!'; \ - exit 1; \ - }; \ - \ - New-Item -ItemType Directory -Path C:\temp | Out-Null; \ - \ - Write-Host 'Installing using MSI ...'; \ - $proc = Start-Process -FilePath "msiexec.exe" -ArgumentList '/i', 'openjdk.msi', '/L*V', 'C:\temp\OpenJDK.log', \ - '/quiet', 'ADDLOCAL=FeatureEnvironment,FeatureJarFileRunWith,FeatureJavaHome', 'INSTALLDIR=C:\openjdk-18' -Wait -Passthru; \ - $proc.WaitForExit() ; \ - if ($proc.ExitCode -ne 0) { \ - Write-Host 'FAILED installing MSI!' ; \ - exit 1; \ - }; \ - \ - Remove-Item -Path C:\temp -Recurse | Out-Null; \ - Write-Host 'Removing openjdk.msi ...'; \ - Remove-Item openjdk.msi -Force - -RUN Write-Host 'Verifying install ...'; \ - Write-Host 'javac --version'; javac --version; \ - Write-Host 'java --version'; java --version; \ - \ - Write-Host 'Complete.' - -CMD ["jshell"] diff --git a/18/jdk/windows/windowsservercore-ltsc2022/Dockerfile.releases.full b/18/jdk/windows/windowsservercore-ltsc2022/Dockerfile.releases.full deleted file mode 100644 index 86dd3cac4..000000000 --- a/18/jdk/windows/windowsservercore-ltsc2022/Dockerfile.releases.full +++ /dev/null @@ -1,56 +0,0 @@ -# ------------------------------------------------------------------------------ -# NOTE: THIS DOCKERFILE IS GENERATED VIA "update_multiarch.sh" -# -# PLEASE DO NOT EDIT IT DIRECTLY. -# ------------------------------------------------------------------------------ -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# https://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -# - -FROM mcr.microsoft.com/windows/servercore:ltsc2022 - -# $ProgressPreference: https://github.com/PowerShell/PowerShell/issues/2138#issuecomment-251261324 -SHELL ["powershell", "-Command", "$ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue';"] - -ENV JAVA_VERSION jdk-18.0.2.1+1 - -RUN Write-Host ('Downloading https://github.com/adoptium/temurin18-binaries/releases/download/jdk-18.0.2.1%2B1/OpenJDK18U-jdk_x64_windows_hotspot_18.0.2.1_1.msi ...'); \ - curl.exe -LfsSo openjdk.msi https://github.com/adoptium/temurin18-binaries/releases/download/jdk-18.0.2.1%2B1/OpenJDK18U-jdk_x64_windows_hotspot_18.0.2.1_1.msi ; \ - Write-Host ('Verifying sha256 (e766c2d6100e70786ff0bb154054dd64bb45ea14ffc995544bbced98eb1c8703) ...'); \ - if ((Get-FileHash openjdk.msi -Algorithm sha256).Hash -ne 'e766c2d6100e70786ff0bb154054dd64bb45ea14ffc995544bbced98eb1c8703') { \ - Write-Host 'FAILED!'; \ - exit 1; \ - }; \ - \ - New-Item -ItemType Directory -Path C:\temp | Out-Null; \ - \ - Write-Host 'Installing using MSI ...'; \ - $proc = Start-Process -FilePath "msiexec.exe" -ArgumentList '/i', 'openjdk.msi', '/L*V', 'C:\temp\OpenJDK.log', \ - '/quiet', 'ADDLOCAL=FeatureEnvironment,FeatureJarFileRunWith,FeatureJavaHome', 'INSTALLDIR=C:\openjdk-18' -Wait -Passthru; \ - $proc.WaitForExit() ; \ - if ($proc.ExitCode -ne 0) { \ - Write-Host 'FAILED installing MSI!' ; \ - exit 1; \ - }; \ - \ - Remove-Item -Path C:\temp -Recurse | Out-Null; \ - Write-Host 'Removing openjdk.msi ...'; \ - Remove-Item openjdk.msi -Force - -RUN Write-Host 'Verifying install ...'; \ - Write-Host 'javac --version'; javac --version; \ - Write-Host 'java --version'; java --version; \ - \ - Write-Host 'Complete.' - -CMD ["jshell"] diff --git a/18/jre/alpine/Dockerfile.releases.full b/18/jre/alpine/Dockerfile.releases.full deleted file mode 100644 index eb3575744..000000000 --- a/18/jre/alpine/Dockerfile.releases.full +++ /dev/null @@ -1,60 +0,0 @@ -# ------------------------------------------------------------------------------ -# NOTE: THIS DOCKERFILE IS GENERATED VIA "update_multiarch.sh" -# -# PLEASE DO NOT EDIT IT DIRECTLY. -# ------------------------------------------------------------------------------ -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# https://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -# - -FROM alpine:3.16 - -ENV JAVA_HOME /opt/java/openjdk -ENV PATH $JAVA_HOME/bin:$PATH - -# Default to UTF-8 file.encoding -ENV LANG='en_US.UTF-8' LANGUAGE='en_US:en' LC_ALL='en_US.UTF-8' - -# fontconfig and ttf-dejavu added to support serverside image generation by Java programs -RUN apk add --no-cache fontconfig libretls musl-locales musl-locales-lang ttf-dejavu tzdata zlib \ - && rm -rf /var/cache/apk/* - -ENV JAVA_VERSION jdk-18.0.2.1+1 - -RUN set -eux; \ - ARCH="$(apk --print-arch)"; \ - case "${ARCH}" in \ - amd64|x86_64) \ - ESUM='ad23309a82e690f769037b1e6417022f588702d214da533289f116bba0f61f4e'; \ - BINARY_URL='https://github.com/adoptium/temurin18-binaries/releases/download/jdk-18.0.2.1%2B1/OpenJDK18U-jre_x64_alpine-linux_hotspot_18.0.2.1_1.tar.gz'; \ - ;; \ - *) \ - echo "Unsupported arch: ${ARCH}"; \ - exit 1; \ - ;; \ - esac; \ - wget -O /tmp/openjdk.tar.gz ${BINARY_URL}; \ - echo "${ESUM} */tmp/openjdk.tar.gz" | sha256sum -c -; \ - mkdir -p "$JAVA_HOME"; \ - tar --extract \ - --file /tmp/openjdk.tar.gz \ - --directory "$JAVA_HOME" \ - --strip-components 1 \ - --no-same-owner \ - ; \ - rm -f /tmp/openjdk.tar.gz ${JAVA_HOME}/lib/src.zip; - -RUN echo Verifying install ... \ - && fileEncoding="$(echo 'System.out.println(System.getProperty("file.encoding"))' | jshell -s -)"; [ "$fileEncoding" = 'UTF-8' ]; rm -rf ~/.java \ - && echo java --version && java --version \ - && echo Complete. diff --git a/18/jre/ubuntu/focal/Dockerfile.releases.full b/18/jre/ubuntu/focal/Dockerfile.releases.full deleted file mode 100644 index 516fa6f15..000000000 --- a/18/jre/ubuntu/focal/Dockerfile.releases.full +++ /dev/null @@ -1,84 +0,0 @@ -# ------------------------------------------------------------------------------ -# NOTE: THIS DOCKERFILE IS GENERATED VIA "update_multiarch.sh" -# -# PLEASE DO NOT EDIT IT DIRECTLY. -# ------------------------------------------------------------------------------ -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# https://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -# - -FROM ubuntu:20.04 - -ENV JAVA_HOME /opt/java/openjdk -ENV PATH $JAVA_HOME/bin:$PATH - -# Default to UTF-8 file.encoding -ENV LANG='en_US.UTF-8' LANGUAGE='en_US:en' LC_ALL='en_US.UTF-8' - -RUN apt-get update \ - && DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends tzdata curl wget ca-certificates fontconfig locales binutils \ - && echo "en_US.UTF-8 UTF-8" >> /etc/locale.gen \ - && locale-gen en_US.UTF-8 \ - && rm -rf /var/lib/apt/lists/* - -ENV JAVA_VERSION jdk-18.0.2.1+1 - -RUN set -eux; \ - ARCH="$(dpkg --print-architecture)"; \ - case "${ARCH}" in \ - aarch64|arm64) \ - ESUM='e11e00438c2f6f79f86ff1ca2b015913b0e16bd9491953a082d5c786402cb50a'; \ - BINARY_URL='https://github.com/adoptium/temurin18-binaries/releases/download/jdk-18.0.2.1%2B1/OpenJDK18U-jre_aarch64_linux_hotspot_18.0.2.1_1.tar.gz'; \ - ;; \ - armhf|arm) \ - ESUM='0ae7281fa883de0d39a75b39bfbbcec1d2a5f8ed8691af12226962ce1a761cd7'; \ - BINARY_URL='https://github.com/adoptium/temurin18-binaries/releases/download/jdk-18.0.2.1%2B1/OpenJDK18U-jre_arm_linux_hotspot_18.0.2.1_1.tar.gz'; \ - ;; \ - ppc64el|powerpc:common64) \ - ESUM='2298504c99b4c15f620f70415215e481766d2b2f784d066206eed8c583922f8f'; \ - BINARY_URL='https://github.com/adoptium/temurin18-binaries/releases/download/jdk-18.0.2.1%2B1/OpenJDK18U-jre_ppc64le_linux_hotspot_18.0.2.1_1.tar.gz'; \ - ;; \ - s390x|s390:64-bit) \ - ESUM='52bc6f5420ae46e8b9868c63c1d9b5af77d21ef5bda413617b2ad3fbb6b6c64a'; \ - BINARY_URL='https://github.com/adoptium/temurin18-binaries/releases/download/jdk-18.0.2.1%2B1/OpenJDK18U-jre_s390x_linux_hotspot_18.0.2.1_1.tar.gz'; \ - ;; \ - amd64|i386:x86-64) \ - ESUM='74f602ab5abaa554859a5e92a65e5bb6e23c2d4165228299c7f54ed56dbc5959'; \ - BINARY_URL='https://github.com/adoptium/temurin18-binaries/releases/download/jdk-18.0.2.1%2B1/OpenJDK18U-jre_x64_linux_hotspot_18.0.2.1_1.tar.gz'; \ - ;; \ - *) \ - echo "Unsupported arch: ${ARCH}"; \ - exit 1; \ - ;; \ - esac; \ - wget -O /tmp/openjdk.tar.gz ${BINARY_URL}; \ - echo "${ESUM} */tmp/openjdk.tar.gz" | sha256sum -c -; \ - mkdir -p "$JAVA_HOME"; \ - tar --extract \ - --file /tmp/openjdk.tar.gz \ - --directory "$JAVA_HOME" \ - --strip-components 1 \ - --no-same-owner \ - ; \ - rm -f /tmp/openjdk.tar.gz ${JAVA_HOME}/lib/src.zip; \ -# https://github.com/docker-library/openjdk/issues/331#issuecomment-498834472 - find "$JAVA_HOME/lib" -name '*.so' -exec dirname '{}' ';' | sort -u > /etc/ld.so.conf.d/docker-openjdk.conf; \ - ldconfig; \ -# https://github.com/docker-library/openjdk/issues/212#issuecomment-420979840 -# https://openjdk.java.net/jeps/341 - java -Xshare:dump; - -RUN echo Verifying install ... \ - && fileEncoding="$(echo 'System.out.println(System.getProperty("file.encoding"))' | jshell -s -)"; [ "$fileEncoding" = 'UTF-8' ]; rm -rf ~/.java \ - && echo java --version && java --version \ - && echo Complete. diff --git a/18/jre/ubuntu/jammy/Dockerfile.releases.full b/18/jre/ubuntu/jammy/Dockerfile.releases.full deleted file mode 100644 index 2f822f331..000000000 --- a/18/jre/ubuntu/jammy/Dockerfile.releases.full +++ /dev/null @@ -1,84 +0,0 @@ -# ------------------------------------------------------------------------------ -# NOTE: THIS DOCKERFILE IS GENERATED VIA "update_multiarch.sh" -# -# PLEASE DO NOT EDIT IT DIRECTLY. -# ------------------------------------------------------------------------------ -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# https://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -# - -FROM ubuntu:22.04 - -ENV JAVA_HOME /opt/java/openjdk -ENV PATH $JAVA_HOME/bin:$PATH - -# Default to UTF-8 file.encoding -ENV LANG='en_US.UTF-8' LANGUAGE='en_US:en' LC_ALL='en_US.UTF-8' - -RUN apt-get update \ - && DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends tzdata curl wget ca-certificates fontconfig locales binutils \ - && echo "en_US.UTF-8 UTF-8" >> /etc/locale.gen \ - && locale-gen en_US.UTF-8 \ - && rm -rf /var/lib/apt/lists/* - -ENV JAVA_VERSION jdk-18.0.2.1+1 - -RUN set -eux; \ - ARCH="$(dpkg --print-architecture)"; \ - case "${ARCH}" in \ - aarch64|arm64) \ - ESUM='e11e00438c2f6f79f86ff1ca2b015913b0e16bd9491953a082d5c786402cb50a'; \ - BINARY_URL='https://github.com/adoptium/temurin18-binaries/releases/download/jdk-18.0.2.1%2B1/OpenJDK18U-jre_aarch64_linux_hotspot_18.0.2.1_1.tar.gz'; \ - ;; \ - armhf|arm) \ - ESUM='0ae7281fa883de0d39a75b39bfbbcec1d2a5f8ed8691af12226962ce1a761cd7'; \ - BINARY_URL='https://github.com/adoptium/temurin18-binaries/releases/download/jdk-18.0.2.1%2B1/OpenJDK18U-jre_arm_linux_hotspot_18.0.2.1_1.tar.gz'; \ - ;; \ - ppc64el|powerpc:common64) \ - ESUM='2298504c99b4c15f620f70415215e481766d2b2f784d066206eed8c583922f8f'; \ - BINARY_URL='https://github.com/adoptium/temurin18-binaries/releases/download/jdk-18.0.2.1%2B1/OpenJDK18U-jre_ppc64le_linux_hotspot_18.0.2.1_1.tar.gz'; \ - ;; \ - s390x|s390:64-bit) \ - ESUM='52bc6f5420ae46e8b9868c63c1d9b5af77d21ef5bda413617b2ad3fbb6b6c64a'; \ - BINARY_URL='https://github.com/adoptium/temurin18-binaries/releases/download/jdk-18.0.2.1%2B1/OpenJDK18U-jre_s390x_linux_hotspot_18.0.2.1_1.tar.gz'; \ - ;; \ - amd64|i386:x86-64) \ - ESUM='74f602ab5abaa554859a5e92a65e5bb6e23c2d4165228299c7f54ed56dbc5959'; \ - BINARY_URL='https://github.com/adoptium/temurin18-binaries/releases/download/jdk-18.0.2.1%2B1/OpenJDK18U-jre_x64_linux_hotspot_18.0.2.1_1.tar.gz'; \ - ;; \ - *) \ - echo "Unsupported arch: ${ARCH}"; \ - exit 1; \ - ;; \ - esac; \ - wget -O /tmp/openjdk.tar.gz ${BINARY_URL}; \ - echo "${ESUM} */tmp/openjdk.tar.gz" | sha256sum -c -; \ - mkdir -p "$JAVA_HOME"; \ - tar --extract \ - --file /tmp/openjdk.tar.gz \ - --directory "$JAVA_HOME" \ - --strip-components 1 \ - --no-same-owner \ - ; \ - rm -f /tmp/openjdk.tar.gz ${JAVA_HOME}/lib/src.zip; \ -# https://github.com/docker-library/openjdk/issues/331#issuecomment-498834472 - find "$JAVA_HOME/lib" -name '*.so' -exec dirname '{}' ';' | sort -u > /etc/ld.so.conf.d/docker-openjdk.conf; \ - ldconfig; \ -# https://github.com/docker-library/openjdk/issues/212#issuecomment-420979840 -# https://openjdk.java.net/jeps/341 - java -Xshare:dump; - -RUN echo Verifying install ... \ - && fileEncoding="$(echo 'System.out.println(System.getProperty("file.encoding"))' | jshell -s -)"; [ "$fileEncoding" = 'UTF-8' ]; rm -rf ~/.java \ - && echo java --version && java --version \ - && echo Complete. diff --git a/18/jre/windows/nanoserver-1809/Dockerfile.releases.full b/18/jre/windows/nanoserver-1809/Dockerfile.releases.full deleted file mode 100644 index a6701cbd9..000000000 --- a/18/jre/windows/nanoserver-1809/Dockerfile.releases.full +++ /dev/null @@ -1,38 +0,0 @@ -# ------------------------------------------------------------------------------ -# NOTE: THIS DOCKERFILE IS GENERATED VIA "update_multiarch.sh" -# -# PLEASE DO NOT EDIT IT DIRECTLY. -# ------------------------------------------------------------------------------ -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# https://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -# - -FROM mcr.microsoft.com/windows/nanoserver:1809 - -SHELL ["cmd", "/s", "/c"] - -ENV JAVA_VERSION jdk-18.0.2.1+1 - -ENV JAVA_HOME C:\\openjdk-18 -# "ERROR: Access to the registry path is denied." -USER ContainerAdministrator -RUN echo Updating PATH: %JAVA_HOME%\bin;%PATH% \ - && setx /M PATH %JAVA_HOME%\bin;%PATH% \ - && echo Complete. -USER ContainerUser - -COPY --from=eclipse-temurin:18.0.2.1_1-jre-windowsservercore-1809 $JAVA_HOME $JAVA_HOME - -RUN echo Verifying install ... \ - && echo java --version && java --version \ - && echo Complete. diff --git a/18/jre/windows/nanoserver-ltsc2022/Dockerfile.releases.full b/18/jre/windows/nanoserver-ltsc2022/Dockerfile.releases.full deleted file mode 100644 index 4f7a0221e..000000000 --- a/18/jre/windows/nanoserver-ltsc2022/Dockerfile.releases.full +++ /dev/null @@ -1,38 +0,0 @@ -# ------------------------------------------------------------------------------ -# NOTE: THIS DOCKERFILE IS GENERATED VIA "update_multiarch.sh" -# -# PLEASE DO NOT EDIT IT DIRECTLY. -# ------------------------------------------------------------------------------ -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# https://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -# - -FROM mcr.microsoft.com/windows/nanoserver:ltsc2022 - -SHELL ["cmd", "/s", "/c"] - -ENV JAVA_VERSION jdk-18.0.2.1+1 - -ENV JAVA_HOME C:\\openjdk-18 -# "ERROR: Access to the registry path is denied." -USER ContainerAdministrator -RUN echo Updating PATH: %JAVA_HOME%\bin;%PATH% \ - && setx /M PATH %JAVA_HOME%\bin;%PATH% \ - && echo Complete. -USER ContainerUser - -COPY --from=eclipse-temurin:18.0.2.1_1-jre-windowsservercore-ltsc2022 $JAVA_HOME $JAVA_HOME - -RUN echo Verifying install ... \ - && echo java --version && java --version \ - && echo Complete. diff --git a/18/jre/windows/windowsservercore-1809/Dockerfile.releases.full b/18/jre/windows/windowsservercore-1809/Dockerfile.releases.full deleted file mode 100644 index 765910a20..000000000 --- a/18/jre/windows/windowsservercore-1809/Dockerfile.releases.full +++ /dev/null @@ -1,53 +0,0 @@ -# ------------------------------------------------------------------------------ -# NOTE: THIS DOCKERFILE IS GENERATED VIA "update_multiarch.sh" -# -# PLEASE DO NOT EDIT IT DIRECTLY. -# ------------------------------------------------------------------------------ -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# https://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -# - -FROM mcr.microsoft.com/windows/servercore:1809 - -# $ProgressPreference: https://github.com/PowerShell/PowerShell/issues/2138#issuecomment-251261324 -SHELL ["powershell", "-Command", "$ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue';"] - -ENV JAVA_VERSION jdk-18.0.2.1+1 - -RUN Write-Host ('Downloading https://github.com/adoptium/temurin18-binaries/releases/download/jdk-18.0.2.1%2B1/OpenJDK18U-jre_x64_windows_hotspot_18.0.2.1_1.msi ...'); \ - curl.exe -LfsSo openjdk.msi https://github.com/adoptium/temurin18-binaries/releases/download/jdk-18.0.2.1%2B1/OpenJDK18U-jre_x64_windows_hotspot_18.0.2.1_1.msi ; \ - Write-Host ('Verifying sha256 (1e726c0ea2a8b25c2c75a8174df173dd54c98caa0235ef49d84a03292f152bfc) ...'); \ - if ((Get-FileHash openjdk.msi -Algorithm sha256).Hash -ne '1e726c0ea2a8b25c2c75a8174df173dd54c98caa0235ef49d84a03292f152bfc') { \ - Write-Host 'FAILED!'; \ - exit 1; \ - }; \ - \ - New-Item -ItemType Directory -Path C:\temp | Out-Null; \ - \ - Write-Host 'Installing using MSI ...'; \ - $proc = Start-Process -FilePath "msiexec.exe" -ArgumentList '/i', 'openjdk.msi', '/L*V', 'C:\temp\OpenJDK.log', \ - '/quiet', 'ADDLOCAL=FeatureEnvironment,FeatureJarFileRunWith,FeatureJavaHome', 'INSTALLDIR=C:\openjdk-18' -Wait -Passthru; \ - $proc.WaitForExit() ; \ - if ($proc.ExitCode -ne 0) { \ - Write-Host 'FAILED installing MSI!' ; \ - exit 1; \ - }; \ - \ - Remove-Item -Path C:\temp -Recurse | Out-Null; \ - Write-Host 'Removing openjdk.msi ...'; \ - Remove-Item openjdk.msi -Force - -RUN Write-Host 'Verifying install ...'; \ - Write-Host 'java --version'; java --version; \ - \ - Write-Host 'Complete.' diff --git a/18/jre/windows/windowsservercore-ltsc2022/Dockerfile.releases.full b/18/jre/windows/windowsservercore-ltsc2022/Dockerfile.releases.full deleted file mode 100644 index 148793542..000000000 --- a/18/jre/windows/windowsservercore-ltsc2022/Dockerfile.releases.full +++ /dev/null @@ -1,53 +0,0 @@ -# ------------------------------------------------------------------------------ -# NOTE: THIS DOCKERFILE IS GENERATED VIA "update_multiarch.sh" -# -# PLEASE DO NOT EDIT IT DIRECTLY. -# ------------------------------------------------------------------------------ -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# https://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -# - -FROM mcr.microsoft.com/windows/servercore:ltsc2022 - -# $ProgressPreference: https://github.com/PowerShell/PowerShell/issues/2138#issuecomment-251261324 -SHELL ["powershell", "-Command", "$ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue';"] - -ENV JAVA_VERSION jdk-18.0.2.1+1 - -RUN Write-Host ('Downloading https://github.com/adoptium/temurin18-binaries/releases/download/jdk-18.0.2.1%2B1/OpenJDK18U-jre_x64_windows_hotspot_18.0.2.1_1.msi ...'); \ - curl.exe -LfsSo openjdk.msi https://github.com/adoptium/temurin18-binaries/releases/download/jdk-18.0.2.1%2B1/OpenJDK18U-jre_x64_windows_hotspot_18.0.2.1_1.msi ; \ - Write-Host ('Verifying sha256 (1e726c0ea2a8b25c2c75a8174df173dd54c98caa0235ef49d84a03292f152bfc) ...'); \ - if ((Get-FileHash openjdk.msi -Algorithm sha256).Hash -ne '1e726c0ea2a8b25c2c75a8174df173dd54c98caa0235ef49d84a03292f152bfc') { \ - Write-Host 'FAILED!'; \ - exit 1; \ - }; \ - \ - New-Item -ItemType Directory -Path C:\temp | Out-Null; \ - \ - Write-Host 'Installing using MSI ...'; \ - $proc = Start-Process -FilePath "msiexec.exe" -ArgumentList '/i', 'openjdk.msi', '/L*V', 'C:\temp\OpenJDK.log', \ - '/quiet', 'ADDLOCAL=FeatureEnvironment,FeatureJarFileRunWith,FeatureJavaHome', 'INSTALLDIR=C:\openjdk-18' -Wait -Passthru; \ - $proc.WaitForExit() ; \ - if ($proc.ExitCode -ne 0) { \ - Write-Host 'FAILED installing MSI!' ; \ - exit 1; \ - }; \ - \ - Remove-Item -Path C:\temp -Recurse | Out-Null; \ - Write-Host 'Removing openjdk.msi ...'; \ - Remove-Item openjdk.msi -Force - -RUN Write-Host 'Verifying install ...'; \ - Write-Host 'java --version'; java --version; \ - \ - Write-Host 'Complete.' diff --git a/19/jdk/alpine/Dockerfile.releases.full b/19/jdk/alpine/Dockerfile.releases.full deleted file mode 100644 index 056702675..000000000 --- a/19/jdk/alpine/Dockerfile.releases.full +++ /dev/null @@ -1,63 +0,0 @@ -# ------------------------------------------------------------------------------ -# NOTE: THIS DOCKERFILE IS GENERATED VIA "update_multiarch.sh" -# -# PLEASE DO NOT EDIT IT DIRECTLY. -# ------------------------------------------------------------------------------ -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# https://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -# - -FROM alpine:3.17 - -ENV JAVA_HOME /opt/java/openjdk -ENV PATH $JAVA_HOME/bin:$PATH - -# Default to UTF-8 file.encoding -ENV LANG='en_US.UTF-8' LANGUAGE='en_US:en' LC_ALL='en_US.UTF-8' - -# fontconfig and ttf-dejavu added to support serverside image generation by Java programs -RUN apk add --no-cache fontconfig libretls musl-locales musl-locales-lang ttf-dejavu tzdata zlib \ - && rm -rf /var/cache/apk/* - -ENV JAVA_VERSION jdk-19.0.2+7 - -RUN set -eux; \ - ARCH="$(apk --print-arch)"; \ - case "${ARCH}" in \ - amd64|x86_64) \ - ESUM='e2d971400ad2db25ad43ea6fa2058b269c0236e3977986dcdee2097da301beb2'; \ - BINARY_URL='https://github.com/adoptium/temurin19-binaries/releases/download/jdk-19.0.2%2B7/OpenJDK19U-jdk_x64_alpine-linux_hotspot_19.0.2_7.tar.gz'; \ - ;; \ - *) \ - echo "Unsupported arch: ${ARCH}"; \ - exit 1; \ - ;; \ - esac; \ - wget -O /tmp/openjdk.tar.gz ${BINARY_URL}; \ - echo "${ESUM} */tmp/openjdk.tar.gz" | sha256sum -c -; \ - mkdir -p "$JAVA_HOME"; \ - tar --extract \ - --file /tmp/openjdk.tar.gz \ - --directory "$JAVA_HOME" \ - --strip-components 1 \ - --no-same-owner \ - ; \ - rm -f /tmp/openjdk.tar.gz ${JAVA_HOME}/lib/src.zip; - -RUN echo Verifying install ... \ - && fileEncoding="$(echo 'System.out.println(System.getProperty("file.encoding"))' | jshell -s -)"; [ "$fileEncoding" = 'UTF-8' ]; rm -rf ~/.java \ - && echo javac --version && javac --version \ - && echo java --version && java --version \ - && echo Complete. - -CMD ["jshell"] diff --git a/19/jdk/ubi/ubi9-minimal/Dockerfile.releases.full b/19/jdk/ubi/ubi9-minimal/Dockerfile.releases.full deleted file mode 100644 index f36fcecf3..000000000 --- a/19/jdk/ubi/ubi9-minimal/Dockerfile.releases.full +++ /dev/null @@ -1,74 +0,0 @@ -# ------------------------------------------------------------------------------ -# NOTE: THIS DOCKERFILE IS GENERATED VIA "update_multiarch.sh" -# -# PLEASE DO NOT EDIT IT DIRECTLY. -# ------------------------------------------------------------------------------ -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# https://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -# - -FROM redhat/ubi9-minimal - -ENV JAVA_HOME /opt/java/openjdk -ENV PATH $JAVA_HOME/bin:$PATH - -# Default to UTF-8 file.encoding -ENV LANG='en_US.UTF-8' LANGUAGE='en_US:en' LC_ALL='en_US.UTF-8' - -RUN microdnf install -y binutils tzdata openssl wget ca-certificates fontconfig glibc-langpack-en gzip tar \ - && microdnf clean all - -ENV JAVA_VERSION jdk-19.0.2+7 - -RUN set -eux; \ - ARCH="$(objdump="$(command -v objdump)" && objdump --file-headers "$objdump" | awk -F '[:,]+[[:space:]]+' '$1 == "architecture" { print $2 }')"; \ - case "${ARCH}" in \ - aarch64|arm64) \ - ESUM='1c4be9aa173cb0deb0d215643d9509c8900e5497290b29eee4bee335fa57984f'; \ - BINARY_URL='https://github.com/adoptium/temurin19-binaries/releases/download/jdk-19.0.2%2B7/OpenJDK19U-jdk_aarch64_linux_hotspot_19.0.2_7.tar.gz'; \ - ;; \ - ppc64el|powerpc:common64) \ - ESUM='173d1256dfb9d13d309b5390e6bdf72d143b512201b0868f9d349d5ed3d64072'; \ - BINARY_URL='https://github.com/adoptium/temurin19-binaries/releases/download/jdk-19.0.2%2B7/OpenJDK19U-jdk_ppc64le_linux_hotspot_19.0.2_7.tar.gz'; \ - ;; \ - s390x|s390:64-bit) \ - ESUM='f2512f9a8e9847dd5d3557c39b485a8e7a1ef37b601dcbcb748d22e49f44815c'; \ - BINARY_URL='https://github.com/adoptium/temurin19-binaries/releases/download/jdk-19.0.2%2B7/OpenJDK19U-jdk_s390x_linux_hotspot_19.0.2_7.tar.gz'; \ - ;; \ - amd64|i386:x86-64) \ - ESUM='3a3ba7a3f8c3a5999e2c91ea1dca843435a0d1c43737bd2f6822b2f02fc52165'; \ - BINARY_URL='https://github.com/adoptium/temurin19-binaries/releases/download/jdk-19.0.2%2B7/OpenJDK19U-jdk_x64_linux_hotspot_19.0.2_7.tar.gz'; \ - ;; \ - *) \ - echo "Unsupported arch: ${ARCH}"; \ - exit 1; \ - ;; \ - esac; \ - wget -O /tmp/openjdk.tar.gz ${BINARY_URL}; \ - echo "${ESUM} */tmp/openjdk.tar.gz" | sha256sum -c -; \ - mkdir -p "$JAVA_HOME"; \ - tar --extract \ - --file /tmp/openjdk.tar.gz \ - --directory "$JAVA_HOME" \ - --strip-components 1 \ - --no-same-owner \ - ; \ - rm -f /tmp/openjdk.tar.gz ${JAVA_HOME}/lib/src.zip; - -RUN echo Verifying install ... \ - && fileEncoding="$(echo 'System.out.println(System.getProperty("file.encoding"))' | jshell -s -)"; [ "$fileEncoding" = 'UTF-8' ]; rm -rf ~/.java \ - && echo javac --version && javac --version \ - && echo java --version && java --version \ - && echo Complete. - -CMD ["jshell"] diff --git a/19/jdk/ubuntu/focal/Dockerfile.releases.full b/19/jdk/ubuntu/focal/Dockerfile.releases.full deleted file mode 100644 index 370ebabb8..000000000 --- a/19/jdk/ubuntu/focal/Dockerfile.releases.full +++ /dev/null @@ -1,87 +0,0 @@ -# ------------------------------------------------------------------------------ -# NOTE: THIS DOCKERFILE IS GENERATED VIA "update_multiarch.sh" -# -# PLEASE DO NOT EDIT IT DIRECTLY. -# ------------------------------------------------------------------------------ -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# https://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -# - -FROM ubuntu:20.04 - -ENV JAVA_HOME /opt/java/openjdk -ENV PATH $JAVA_HOME/bin:$PATH - -# Default to UTF-8 file.encoding -ENV LANG='en_US.UTF-8' LANGUAGE='en_US:en' LC_ALL='en_US.UTF-8' - -RUN apt-get update \ - && DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends tzdata curl wget ca-certificates fontconfig locales binutils \ - && echo "en_US.UTF-8 UTF-8" >> /etc/locale.gen \ - && locale-gen en_US.UTF-8 \ - && rm -rf /var/lib/apt/lists/* - -ENV JAVA_VERSION jdk-19.0.2+7 - -RUN set -eux; \ - ARCH="$(dpkg --print-architecture)"; \ - case "${ARCH}" in \ - aarch64|arm64) \ - ESUM='1c4be9aa173cb0deb0d215643d9509c8900e5497290b29eee4bee335fa57984f'; \ - BINARY_URL='https://github.com/adoptium/temurin19-binaries/releases/download/jdk-19.0.2%2B7/OpenJDK19U-jdk_aarch64_linux_hotspot_19.0.2_7.tar.gz'; \ - ;; \ - armhf|arm) \ - ESUM='6a51cb3868b5a3b81848a0d276267230ff3f8639f20ba9ae9ef1d386440bf1fd'; \ - BINARY_URL='https://github.com/adoptium/temurin19-binaries/releases/download/jdk-19.0.2%2B7/OpenJDK19U-jdk_arm_linux_hotspot_19.0.2_7.tar.gz'; \ - ;; \ - ppc64el|powerpc:common64) \ - ESUM='173d1256dfb9d13d309b5390e6bdf72d143b512201b0868f9d349d5ed3d64072'; \ - BINARY_URL='https://github.com/adoptium/temurin19-binaries/releases/download/jdk-19.0.2%2B7/OpenJDK19U-jdk_ppc64le_linux_hotspot_19.0.2_7.tar.gz'; \ - ;; \ - s390x|s390:64-bit) \ - ESUM='f2512f9a8e9847dd5d3557c39b485a8e7a1ef37b601dcbcb748d22e49f44815c'; \ - BINARY_URL='https://github.com/adoptium/temurin19-binaries/releases/download/jdk-19.0.2%2B7/OpenJDK19U-jdk_s390x_linux_hotspot_19.0.2_7.tar.gz'; \ - ;; \ - amd64|i386:x86-64) \ - ESUM='3a3ba7a3f8c3a5999e2c91ea1dca843435a0d1c43737bd2f6822b2f02fc52165'; \ - BINARY_URL='https://github.com/adoptium/temurin19-binaries/releases/download/jdk-19.0.2%2B7/OpenJDK19U-jdk_x64_linux_hotspot_19.0.2_7.tar.gz'; \ - ;; \ - *) \ - echo "Unsupported arch: ${ARCH}"; \ - exit 1; \ - ;; \ - esac; \ - wget -O /tmp/openjdk.tar.gz ${BINARY_URL}; \ - echo "${ESUM} */tmp/openjdk.tar.gz" | sha256sum -c -; \ - mkdir -p "$JAVA_HOME"; \ - tar --extract \ - --file /tmp/openjdk.tar.gz \ - --directory "$JAVA_HOME" \ - --strip-components 1 \ - --no-same-owner \ - ; \ - rm -f /tmp/openjdk.tar.gz ${JAVA_HOME}/lib/src.zip; \ -# https://github.com/docker-library/openjdk/issues/331#issuecomment-498834472 - find "$JAVA_HOME/lib" -name '*.so' -exec dirname '{}' ';' | sort -u > /etc/ld.so.conf.d/docker-openjdk.conf; \ - ldconfig; \ -# https://github.com/docker-library/openjdk/issues/212#issuecomment-420979840 -# https://openjdk.java.net/jeps/341 - java -Xshare:dump; - -RUN echo Verifying install ... \ - && fileEncoding="$(echo 'System.out.println(System.getProperty("file.encoding"))' | jshell -s -)"; [ "$fileEncoding" = 'UTF-8' ]; rm -rf ~/.java \ - && echo javac --version && javac --version \ - && echo java --version && java --version \ - && echo Complete. - -CMD ["jshell"] diff --git a/19/jdk/ubuntu/jammy/Dockerfile.releases.full b/19/jdk/ubuntu/jammy/Dockerfile.releases.full deleted file mode 100644 index 3af37d031..000000000 --- a/19/jdk/ubuntu/jammy/Dockerfile.releases.full +++ /dev/null @@ -1,87 +0,0 @@ -# ------------------------------------------------------------------------------ -# NOTE: THIS DOCKERFILE IS GENERATED VIA "update_multiarch.sh" -# -# PLEASE DO NOT EDIT IT DIRECTLY. -# ------------------------------------------------------------------------------ -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# https://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -# - -FROM ubuntu:22.04 - -ENV JAVA_HOME /opt/java/openjdk -ENV PATH $JAVA_HOME/bin:$PATH - -# Default to UTF-8 file.encoding -ENV LANG='en_US.UTF-8' LANGUAGE='en_US:en' LC_ALL='en_US.UTF-8' - -RUN apt-get update \ - && DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends tzdata curl wget ca-certificates fontconfig locales binutils \ - && echo "en_US.UTF-8 UTF-8" >> /etc/locale.gen \ - && locale-gen en_US.UTF-8 \ - && rm -rf /var/lib/apt/lists/* - -ENV JAVA_VERSION jdk-19.0.2+7 - -RUN set -eux; \ - ARCH="$(dpkg --print-architecture)"; \ - case "${ARCH}" in \ - aarch64|arm64) \ - ESUM='1c4be9aa173cb0deb0d215643d9509c8900e5497290b29eee4bee335fa57984f'; \ - BINARY_URL='https://github.com/adoptium/temurin19-binaries/releases/download/jdk-19.0.2%2B7/OpenJDK19U-jdk_aarch64_linux_hotspot_19.0.2_7.tar.gz'; \ - ;; \ - armhf|arm) \ - ESUM='6a51cb3868b5a3b81848a0d276267230ff3f8639f20ba9ae9ef1d386440bf1fd'; \ - BINARY_URL='https://github.com/adoptium/temurin19-binaries/releases/download/jdk-19.0.2%2B7/OpenJDK19U-jdk_arm_linux_hotspot_19.0.2_7.tar.gz'; \ - ;; \ - ppc64el|powerpc:common64) \ - ESUM='173d1256dfb9d13d309b5390e6bdf72d143b512201b0868f9d349d5ed3d64072'; \ - BINARY_URL='https://github.com/adoptium/temurin19-binaries/releases/download/jdk-19.0.2%2B7/OpenJDK19U-jdk_ppc64le_linux_hotspot_19.0.2_7.tar.gz'; \ - ;; \ - s390x|s390:64-bit) \ - ESUM='f2512f9a8e9847dd5d3557c39b485a8e7a1ef37b601dcbcb748d22e49f44815c'; \ - BINARY_URL='https://github.com/adoptium/temurin19-binaries/releases/download/jdk-19.0.2%2B7/OpenJDK19U-jdk_s390x_linux_hotspot_19.0.2_7.tar.gz'; \ - ;; \ - amd64|i386:x86-64) \ - ESUM='3a3ba7a3f8c3a5999e2c91ea1dca843435a0d1c43737bd2f6822b2f02fc52165'; \ - BINARY_URL='https://github.com/adoptium/temurin19-binaries/releases/download/jdk-19.0.2%2B7/OpenJDK19U-jdk_x64_linux_hotspot_19.0.2_7.tar.gz'; \ - ;; \ - *) \ - echo "Unsupported arch: ${ARCH}"; \ - exit 1; \ - ;; \ - esac; \ - wget -O /tmp/openjdk.tar.gz ${BINARY_URL}; \ - echo "${ESUM} */tmp/openjdk.tar.gz" | sha256sum -c -; \ - mkdir -p "$JAVA_HOME"; \ - tar --extract \ - --file /tmp/openjdk.tar.gz \ - --directory "$JAVA_HOME" \ - --strip-components 1 \ - --no-same-owner \ - ; \ - rm -f /tmp/openjdk.tar.gz ${JAVA_HOME}/lib/src.zip; \ -# https://github.com/docker-library/openjdk/issues/331#issuecomment-498834472 - find "$JAVA_HOME/lib" -name '*.so' -exec dirname '{}' ';' | sort -u > /etc/ld.so.conf.d/docker-openjdk.conf; \ - ldconfig; \ -# https://github.com/docker-library/openjdk/issues/212#issuecomment-420979840 -# https://openjdk.java.net/jeps/341 - java -Xshare:dump; - -RUN echo Verifying install ... \ - && fileEncoding="$(echo 'System.out.println(System.getProperty("file.encoding"))' | jshell -s -)"; [ "$fileEncoding" = 'UTF-8' ]; rm -rf ~/.java \ - && echo javac --version && javac --version \ - && echo java --version && java --version \ - && echo Complete. - -CMD ["jshell"] diff --git a/19/jdk/windows/nanoserver-1809/Dockerfile.releases.full b/19/jdk/windows/nanoserver-1809/Dockerfile.releases.full deleted file mode 100644 index 9fa2849df..000000000 --- a/19/jdk/windows/nanoserver-1809/Dockerfile.releases.full +++ /dev/null @@ -1,41 +0,0 @@ -# ------------------------------------------------------------------------------ -# NOTE: THIS DOCKERFILE IS GENERATED VIA "update_multiarch.sh" -# -# PLEASE DO NOT EDIT IT DIRECTLY. -# ------------------------------------------------------------------------------ -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# https://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -# - -FROM mcr.microsoft.com/windows/nanoserver:1809 - -SHELL ["cmd", "/s", "/c"] - -ENV JAVA_VERSION jdk-19.0.2+7 - -ENV JAVA_HOME C:\\openjdk-19 -# "ERROR: Access to the registry path is denied." -USER ContainerAdministrator -RUN echo Updating PATH: %JAVA_HOME%\bin;%PATH% \ - && setx /M PATH %JAVA_HOME%\bin;%PATH% \ - && echo Complete. -USER ContainerUser - -COPY --from=eclipse-temurin:19.0.2_7-jdk-windowsservercore-1809 $JAVA_HOME $JAVA_HOME - -RUN echo Verifying install ... \ - && echo javac --version && javac --version \ - && echo java --version && java --version \ - && echo Complete. - -CMD ["jshell"] diff --git a/19/jdk/windows/nanoserver-ltsc2022/Dockerfile.releases.full b/19/jdk/windows/nanoserver-ltsc2022/Dockerfile.releases.full deleted file mode 100644 index c594c4920..000000000 --- a/19/jdk/windows/nanoserver-ltsc2022/Dockerfile.releases.full +++ /dev/null @@ -1,41 +0,0 @@ -# ------------------------------------------------------------------------------ -# NOTE: THIS DOCKERFILE IS GENERATED VIA "update_multiarch.sh" -# -# PLEASE DO NOT EDIT IT DIRECTLY. -# ------------------------------------------------------------------------------ -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# https://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -# - -FROM mcr.microsoft.com/windows/nanoserver:ltsc2022 - -SHELL ["cmd", "/s", "/c"] - -ENV JAVA_VERSION jdk-19.0.2+7 - -ENV JAVA_HOME C:\\openjdk-19 -# "ERROR: Access to the registry path is denied." -USER ContainerAdministrator -RUN echo Updating PATH: %JAVA_HOME%\bin;%PATH% \ - && setx /M PATH %JAVA_HOME%\bin;%PATH% \ - && echo Complete. -USER ContainerUser - -COPY --from=eclipse-temurin:19.0.2_7-jdk-windowsservercore-ltsc2022 $JAVA_HOME $JAVA_HOME - -RUN echo Verifying install ... \ - && echo javac --version && javac --version \ - && echo java --version && java --version \ - && echo Complete. - -CMD ["jshell"] diff --git a/19/jdk/windows/windowsservercore-1809/Dockerfile.releases.full b/19/jdk/windows/windowsservercore-1809/Dockerfile.releases.full deleted file mode 100644 index c6b4f4bbe..000000000 --- a/19/jdk/windows/windowsservercore-1809/Dockerfile.releases.full +++ /dev/null @@ -1,56 +0,0 @@ -# ------------------------------------------------------------------------------ -# NOTE: THIS DOCKERFILE IS GENERATED VIA "update_multiarch.sh" -# -# PLEASE DO NOT EDIT IT DIRECTLY. -# ------------------------------------------------------------------------------ -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# https://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -# - -FROM mcr.microsoft.com/windows/servercore:1809 - -# $ProgressPreference: https://github.com/PowerShell/PowerShell/issues/2138#issuecomment-251261324 -SHELL ["powershell", "-Command", "$ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue';"] - -ENV JAVA_VERSION jdk-19.0.2+7 - -RUN Write-Host ('Downloading https://github.com/adoptium/temurin19-binaries/releases/download/jdk-19.0.2%2B7/OpenJDK19U-jdk_x64_windows_hotspot_19.0.2_7.msi ...'); \ - curl.exe -LfsSo openjdk.msi https://github.com/adoptium/temurin19-binaries/releases/download/jdk-19.0.2%2B7/OpenJDK19U-jdk_x64_windows_hotspot_19.0.2_7.msi ; \ - Write-Host ('Verifying sha256 (b2372bd728a5a708a4ce5ec6cc8b46489e5292051f4993568ec1d5f395f7e06e) ...'); \ - if ((Get-FileHash openjdk.msi -Algorithm sha256).Hash -ne 'b2372bd728a5a708a4ce5ec6cc8b46489e5292051f4993568ec1d5f395f7e06e') { \ - Write-Host 'FAILED!'; \ - exit 1; \ - }; \ - \ - New-Item -ItemType Directory -Path C:\temp | Out-Null; \ - \ - Write-Host 'Installing using MSI ...'; \ - $proc = Start-Process -FilePath "msiexec.exe" -ArgumentList '/i', 'openjdk.msi', '/L*V', 'C:\temp\OpenJDK.log', \ - '/quiet', 'ADDLOCAL=FeatureEnvironment,FeatureJarFileRunWith,FeatureJavaHome', 'INSTALLDIR=C:\openjdk-19' -Wait -Passthru; \ - $proc.WaitForExit() ; \ - if ($proc.ExitCode -ne 0) { \ - Write-Host 'FAILED installing MSI!' ; \ - exit 1; \ - }; \ - \ - Remove-Item -Path C:\temp -Recurse | Out-Null; \ - Write-Host 'Removing openjdk.msi ...'; \ - Remove-Item openjdk.msi -Force - -RUN Write-Host 'Verifying install ...'; \ - Write-Host 'javac --version'; javac --version; \ - Write-Host 'java --version'; java --version; \ - \ - Write-Host 'Complete.' - -CMD ["jshell"] diff --git a/19/jdk/windows/windowsservercore-ltsc2022/Dockerfile.releases.full b/19/jdk/windows/windowsservercore-ltsc2022/Dockerfile.releases.full deleted file mode 100644 index 9b389f285..000000000 --- a/19/jdk/windows/windowsservercore-ltsc2022/Dockerfile.releases.full +++ /dev/null @@ -1,56 +0,0 @@ -# ------------------------------------------------------------------------------ -# NOTE: THIS DOCKERFILE IS GENERATED VIA "update_multiarch.sh" -# -# PLEASE DO NOT EDIT IT DIRECTLY. -# ------------------------------------------------------------------------------ -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# https://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -# - -FROM mcr.microsoft.com/windows/servercore:ltsc2022 - -# $ProgressPreference: https://github.com/PowerShell/PowerShell/issues/2138#issuecomment-251261324 -SHELL ["powershell", "-Command", "$ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue';"] - -ENV JAVA_VERSION jdk-19.0.2+7 - -RUN Write-Host ('Downloading https://github.com/adoptium/temurin19-binaries/releases/download/jdk-19.0.2%2B7/OpenJDK19U-jdk_x64_windows_hotspot_19.0.2_7.msi ...'); \ - curl.exe -LfsSo openjdk.msi https://github.com/adoptium/temurin19-binaries/releases/download/jdk-19.0.2%2B7/OpenJDK19U-jdk_x64_windows_hotspot_19.0.2_7.msi ; \ - Write-Host ('Verifying sha256 (b2372bd728a5a708a4ce5ec6cc8b46489e5292051f4993568ec1d5f395f7e06e) ...'); \ - if ((Get-FileHash openjdk.msi -Algorithm sha256).Hash -ne 'b2372bd728a5a708a4ce5ec6cc8b46489e5292051f4993568ec1d5f395f7e06e') { \ - Write-Host 'FAILED!'; \ - exit 1; \ - }; \ - \ - New-Item -ItemType Directory -Path C:\temp | Out-Null; \ - \ - Write-Host 'Installing using MSI ...'; \ - $proc = Start-Process -FilePath "msiexec.exe" -ArgumentList '/i', 'openjdk.msi', '/L*V', 'C:\temp\OpenJDK.log', \ - '/quiet', 'ADDLOCAL=FeatureEnvironment,FeatureJarFileRunWith,FeatureJavaHome', 'INSTALLDIR=C:\openjdk-19' -Wait -Passthru; \ - $proc.WaitForExit() ; \ - if ($proc.ExitCode -ne 0) { \ - Write-Host 'FAILED installing MSI!' ; \ - exit 1; \ - }; \ - \ - Remove-Item -Path C:\temp -Recurse | Out-Null; \ - Write-Host 'Removing openjdk.msi ...'; \ - Remove-Item openjdk.msi -Force - -RUN Write-Host 'Verifying install ...'; \ - Write-Host 'javac --version'; javac --version; \ - Write-Host 'java --version'; java --version; \ - \ - Write-Host 'Complete.' - -CMD ["jshell"] diff --git a/19/jre/alpine/Dockerfile.releases.full b/19/jre/alpine/Dockerfile.releases.full deleted file mode 100644 index f20677f65..000000000 --- a/19/jre/alpine/Dockerfile.releases.full +++ /dev/null @@ -1,60 +0,0 @@ -# ------------------------------------------------------------------------------ -# NOTE: THIS DOCKERFILE IS GENERATED VIA "update_multiarch.sh" -# -# PLEASE DO NOT EDIT IT DIRECTLY. -# ------------------------------------------------------------------------------ -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# https://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -# - -FROM alpine:3.17 - -ENV JAVA_HOME /opt/java/openjdk -ENV PATH $JAVA_HOME/bin:$PATH - -# Default to UTF-8 file.encoding -ENV LANG='en_US.UTF-8' LANGUAGE='en_US:en' LC_ALL='en_US.UTF-8' - -# fontconfig and ttf-dejavu added to support serverside image generation by Java programs -RUN apk add --no-cache fontconfig libretls musl-locales musl-locales-lang ttf-dejavu tzdata zlib \ - && rm -rf /var/cache/apk/* - -ENV JAVA_VERSION jdk-19.0.2+7 - -RUN set -eux; \ - ARCH="$(apk --print-arch)"; \ - case "${ARCH}" in \ - amd64|x86_64) \ - ESUM='6c0ce0ead2e7ce3e0f06b9578447499c8bd0509306c95fcd81dbecb634228933'; \ - BINARY_URL='https://github.com/adoptium/temurin19-binaries/releases/download/jdk-19.0.2%2B7/OpenJDK19U-jre_x64_alpine-linux_hotspot_19.0.2_7.tar.gz'; \ - ;; \ - *) \ - echo "Unsupported arch: ${ARCH}"; \ - exit 1; \ - ;; \ - esac; \ - wget -O /tmp/openjdk.tar.gz ${BINARY_URL}; \ - echo "${ESUM} */tmp/openjdk.tar.gz" | sha256sum -c -; \ - mkdir -p "$JAVA_HOME"; \ - tar --extract \ - --file /tmp/openjdk.tar.gz \ - --directory "$JAVA_HOME" \ - --strip-components 1 \ - --no-same-owner \ - ; \ - rm -f /tmp/openjdk.tar.gz ${JAVA_HOME}/lib/src.zip; - -RUN echo Verifying install ... \ - && fileEncoding="$(echo 'System.out.println(System.getProperty("file.encoding"))' | jshell -s -)"; [ "$fileEncoding" = 'UTF-8' ]; rm -rf ~/.java \ - && echo java --version && java --version \ - && echo Complete. diff --git a/19/jre/ubi/ubi9-minimal/Dockerfile.releases.full b/19/jre/ubi/ubi9-minimal/Dockerfile.releases.full deleted file mode 100644 index 73e29e600..000000000 --- a/19/jre/ubi/ubi9-minimal/Dockerfile.releases.full +++ /dev/null @@ -1,71 +0,0 @@ -# ------------------------------------------------------------------------------ -# NOTE: THIS DOCKERFILE IS GENERATED VIA "update_multiarch.sh" -# -# PLEASE DO NOT EDIT IT DIRECTLY. -# ------------------------------------------------------------------------------ -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# https://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -# - -FROM redhat/ubi9-minimal - -ENV JAVA_HOME /opt/java/openjdk -ENV PATH $JAVA_HOME/bin:$PATH - -# Default to UTF-8 file.encoding -ENV LANG='en_US.UTF-8' LANGUAGE='en_US:en' LC_ALL='en_US.UTF-8' - -RUN microdnf install -y binutils tzdata openssl wget ca-certificates fontconfig glibc-langpack-en gzip tar \ - && microdnf clean all - -ENV JAVA_VERSION jdk-19.0.2+7 - -RUN set -eux; \ - ARCH="$(objdump="$(command -v objdump)" && objdump --file-headers "$objdump" | awk -F '[:,]+[[:space:]]+' '$1 == "architecture" { print $2 }')"; \ - case "${ARCH}" in \ - aarch64|arm64) \ - ESUM='3653f9e5ad21e4744e5a655e243fba2895651029bee23f3d2366d5debc41a736'; \ - BINARY_URL='https://github.com/adoptium/temurin19-binaries/releases/download/jdk-19.0.2%2B7/OpenJDK19U-jre_aarch64_linux_hotspot_19.0.2_7.tar.gz'; \ - ;; \ - ppc64el|powerpc:common64) \ - ESUM='a30203431c7c21602227d39368c5af6e7abd19000d6da5562de7f3f5c57cbad5'; \ - BINARY_URL='https://github.com/adoptium/temurin19-binaries/releases/download/jdk-19.0.2%2B7/OpenJDK19U-jre_ppc64le_linux_hotspot_19.0.2_7.tar.gz'; \ - ;; \ - s390x|s390:64-bit) \ - ESUM='59463543feb858dc2eabeea344491897806da5d09c3cbf5b7c93e86269e32a02'; \ - BINARY_URL='https://github.com/adoptium/temurin19-binaries/releases/download/jdk-19.0.2%2B7/OpenJDK19U-jre_s390x_linux_hotspot_19.0.2_7.tar.gz'; \ - ;; \ - amd64|i386:x86-64) \ - ESUM='7386e10c74f00a4382be0540bc0494854804ad79427d8a50ac77a4c7208ff348'; \ - BINARY_URL='https://github.com/adoptium/temurin19-binaries/releases/download/jdk-19.0.2%2B7/OpenJDK19U-jre_x64_linux_hotspot_19.0.2_7.tar.gz'; \ - ;; \ - *) \ - echo "Unsupported arch: ${ARCH}"; \ - exit 1; \ - ;; \ - esac; \ - wget -O /tmp/openjdk.tar.gz ${BINARY_URL}; \ - echo "${ESUM} */tmp/openjdk.tar.gz" | sha256sum -c -; \ - mkdir -p "$JAVA_HOME"; \ - tar --extract \ - --file /tmp/openjdk.tar.gz \ - --directory "$JAVA_HOME" \ - --strip-components 1 \ - --no-same-owner \ - ; \ - rm -f /tmp/openjdk.tar.gz ${JAVA_HOME}/lib/src.zip; - -RUN echo Verifying install ... \ - && fileEncoding="$(echo 'System.out.println(System.getProperty("file.encoding"))' | jshell -s -)"; [ "$fileEncoding" = 'UTF-8' ]; rm -rf ~/.java \ - && echo java --version && java --version \ - && echo Complete. diff --git a/19/jre/ubuntu/focal/Dockerfile.releases.full b/19/jre/ubuntu/focal/Dockerfile.releases.full deleted file mode 100644 index 0b50fb8ce..000000000 --- a/19/jre/ubuntu/focal/Dockerfile.releases.full +++ /dev/null @@ -1,84 +0,0 @@ -# ------------------------------------------------------------------------------ -# NOTE: THIS DOCKERFILE IS GENERATED VIA "update_multiarch.sh" -# -# PLEASE DO NOT EDIT IT DIRECTLY. -# ------------------------------------------------------------------------------ -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# https://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -# - -FROM ubuntu:20.04 - -ENV JAVA_HOME /opt/java/openjdk -ENV PATH $JAVA_HOME/bin:$PATH - -# Default to UTF-8 file.encoding -ENV LANG='en_US.UTF-8' LANGUAGE='en_US:en' LC_ALL='en_US.UTF-8' - -RUN apt-get update \ - && DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends tzdata curl wget ca-certificates fontconfig locales binutils \ - && echo "en_US.UTF-8 UTF-8" >> /etc/locale.gen \ - && locale-gen en_US.UTF-8 \ - && rm -rf /var/lib/apt/lists/* - -ENV JAVA_VERSION jdk-19.0.2+7 - -RUN set -eux; \ - ARCH="$(dpkg --print-architecture)"; \ - case "${ARCH}" in \ - aarch64|arm64) \ - ESUM='3653f9e5ad21e4744e5a655e243fba2895651029bee23f3d2366d5debc41a736'; \ - BINARY_URL='https://github.com/adoptium/temurin19-binaries/releases/download/jdk-19.0.2%2B7/OpenJDK19U-jre_aarch64_linux_hotspot_19.0.2_7.tar.gz'; \ - ;; \ - armhf|arm) \ - ESUM='d4588e8c01ca60da2ceed68b7d43d2fd9ec3350b93043f0dabd0eb6cb03cb23d'; \ - BINARY_URL='https://github.com/adoptium/temurin19-binaries/releases/download/jdk-19.0.2%2B7/OpenJDK19U-jre_arm_linux_hotspot_19.0.2_7.tar.gz'; \ - ;; \ - ppc64el|powerpc:common64) \ - ESUM='a30203431c7c21602227d39368c5af6e7abd19000d6da5562de7f3f5c57cbad5'; \ - BINARY_URL='https://github.com/adoptium/temurin19-binaries/releases/download/jdk-19.0.2%2B7/OpenJDK19U-jre_ppc64le_linux_hotspot_19.0.2_7.tar.gz'; \ - ;; \ - s390x|s390:64-bit) \ - ESUM='59463543feb858dc2eabeea344491897806da5d09c3cbf5b7c93e86269e32a02'; \ - BINARY_URL='https://github.com/adoptium/temurin19-binaries/releases/download/jdk-19.0.2%2B7/OpenJDK19U-jre_s390x_linux_hotspot_19.0.2_7.tar.gz'; \ - ;; \ - amd64|i386:x86-64) \ - ESUM='7386e10c74f00a4382be0540bc0494854804ad79427d8a50ac77a4c7208ff348'; \ - BINARY_URL='https://github.com/adoptium/temurin19-binaries/releases/download/jdk-19.0.2%2B7/OpenJDK19U-jre_x64_linux_hotspot_19.0.2_7.tar.gz'; \ - ;; \ - *) \ - echo "Unsupported arch: ${ARCH}"; \ - exit 1; \ - ;; \ - esac; \ - wget -O /tmp/openjdk.tar.gz ${BINARY_URL}; \ - echo "${ESUM} */tmp/openjdk.tar.gz" | sha256sum -c -; \ - mkdir -p "$JAVA_HOME"; \ - tar --extract \ - --file /tmp/openjdk.tar.gz \ - --directory "$JAVA_HOME" \ - --strip-components 1 \ - --no-same-owner \ - ; \ - rm -f /tmp/openjdk.tar.gz ${JAVA_HOME}/lib/src.zip; \ -# https://github.com/docker-library/openjdk/issues/331#issuecomment-498834472 - find "$JAVA_HOME/lib" -name '*.so' -exec dirname '{}' ';' | sort -u > /etc/ld.so.conf.d/docker-openjdk.conf; \ - ldconfig; \ -# https://github.com/docker-library/openjdk/issues/212#issuecomment-420979840 -# https://openjdk.java.net/jeps/341 - java -Xshare:dump; - -RUN echo Verifying install ... \ - && fileEncoding="$(echo 'System.out.println(System.getProperty("file.encoding"))' | jshell -s -)"; [ "$fileEncoding" = 'UTF-8' ]; rm -rf ~/.java \ - && echo java --version && java --version \ - && echo Complete. diff --git a/19/jre/ubuntu/jammy/Dockerfile.releases.full b/19/jre/ubuntu/jammy/Dockerfile.releases.full deleted file mode 100644 index 18d18a652..000000000 --- a/19/jre/ubuntu/jammy/Dockerfile.releases.full +++ /dev/null @@ -1,84 +0,0 @@ -# ------------------------------------------------------------------------------ -# NOTE: THIS DOCKERFILE IS GENERATED VIA "update_multiarch.sh" -# -# PLEASE DO NOT EDIT IT DIRECTLY. -# ------------------------------------------------------------------------------ -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# https://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -# - -FROM ubuntu:22.04 - -ENV JAVA_HOME /opt/java/openjdk -ENV PATH $JAVA_HOME/bin:$PATH - -# Default to UTF-8 file.encoding -ENV LANG='en_US.UTF-8' LANGUAGE='en_US:en' LC_ALL='en_US.UTF-8' - -RUN apt-get update \ - && DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends tzdata curl wget ca-certificates fontconfig locales binutils \ - && echo "en_US.UTF-8 UTF-8" >> /etc/locale.gen \ - && locale-gen en_US.UTF-8 \ - && rm -rf /var/lib/apt/lists/* - -ENV JAVA_VERSION jdk-19.0.2+7 - -RUN set -eux; \ - ARCH="$(dpkg --print-architecture)"; \ - case "${ARCH}" in \ - aarch64|arm64) \ - ESUM='3653f9e5ad21e4744e5a655e243fba2895651029bee23f3d2366d5debc41a736'; \ - BINARY_URL='https://github.com/adoptium/temurin19-binaries/releases/download/jdk-19.0.2%2B7/OpenJDK19U-jre_aarch64_linux_hotspot_19.0.2_7.tar.gz'; \ - ;; \ - armhf|arm) \ - ESUM='d4588e8c01ca60da2ceed68b7d43d2fd9ec3350b93043f0dabd0eb6cb03cb23d'; \ - BINARY_URL='https://github.com/adoptium/temurin19-binaries/releases/download/jdk-19.0.2%2B7/OpenJDK19U-jre_arm_linux_hotspot_19.0.2_7.tar.gz'; \ - ;; \ - ppc64el|powerpc:common64) \ - ESUM='a30203431c7c21602227d39368c5af6e7abd19000d6da5562de7f3f5c57cbad5'; \ - BINARY_URL='https://github.com/adoptium/temurin19-binaries/releases/download/jdk-19.0.2%2B7/OpenJDK19U-jre_ppc64le_linux_hotspot_19.0.2_7.tar.gz'; \ - ;; \ - s390x|s390:64-bit) \ - ESUM='59463543feb858dc2eabeea344491897806da5d09c3cbf5b7c93e86269e32a02'; \ - BINARY_URL='https://github.com/adoptium/temurin19-binaries/releases/download/jdk-19.0.2%2B7/OpenJDK19U-jre_s390x_linux_hotspot_19.0.2_7.tar.gz'; \ - ;; \ - amd64|i386:x86-64) \ - ESUM='7386e10c74f00a4382be0540bc0494854804ad79427d8a50ac77a4c7208ff348'; \ - BINARY_URL='https://github.com/adoptium/temurin19-binaries/releases/download/jdk-19.0.2%2B7/OpenJDK19U-jre_x64_linux_hotspot_19.0.2_7.tar.gz'; \ - ;; \ - *) \ - echo "Unsupported arch: ${ARCH}"; \ - exit 1; \ - ;; \ - esac; \ - wget -O /tmp/openjdk.tar.gz ${BINARY_URL}; \ - echo "${ESUM} */tmp/openjdk.tar.gz" | sha256sum -c -; \ - mkdir -p "$JAVA_HOME"; \ - tar --extract \ - --file /tmp/openjdk.tar.gz \ - --directory "$JAVA_HOME" \ - --strip-components 1 \ - --no-same-owner \ - ; \ - rm -f /tmp/openjdk.tar.gz ${JAVA_HOME}/lib/src.zip; \ -# https://github.com/docker-library/openjdk/issues/331#issuecomment-498834472 - find "$JAVA_HOME/lib" -name '*.so' -exec dirname '{}' ';' | sort -u > /etc/ld.so.conf.d/docker-openjdk.conf; \ - ldconfig; \ -# https://github.com/docker-library/openjdk/issues/212#issuecomment-420979840 -# https://openjdk.java.net/jeps/341 - java -Xshare:dump; - -RUN echo Verifying install ... \ - && fileEncoding="$(echo 'System.out.println(System.getProperty("file.encoding"))' | jshell -s -)"; [ "$fileEncoding" = 'UTF-8' ]; rm -rf ~/.java \ - && echo java --version && java --version \ - && echo Complete. diff --git a/19/jre/windows/nanoserver-1809/Dockerfile.releases.full b/19/jre/windows/nanoserver-1809/Dockerfile.releases.full deleted file mode 100644 index 07e309f88..000000000 --- a/19/jre/windows/nanoserver-1809/Dockerfile.releases.full +++ /dev/null @@ -1,38 +0,0 @@ -# ------------------------------------------------------------------------------ -# NOTE: THIS DOCKERFILE IS GENERATED VIA "update_multiarch.sh" -# -# PLEASE DO NOT EDIT IT DIRECTLY. -# ------------------------------------------------------------------------------ -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# https://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -# - -FROM mcr.microsoft.com/windows/nanoserver:1809 - -SHELL ["cmd", "/s", "/c"] - -ENV JAVA_VERSION jdk-19.0.2+7 - -ENV JAVA_HOME C:\\openjdk-19 -# "ERROR: Access to the registry path is denied." -USER ContainerAdministrator -RUN echo Updating PATH: %JAVA_HOME%\bin;%PATH% \ - && setx /M PATH %JAVA_HOME%\bin;%PATH% \ - && echo Complete. -USER ContainerUser - -COPY --from=eclipse-temurin:19.0.2_7-jre-windowsservercore-1809 $JAVA_HOME $JAVA_HOME - -RUN echo Verifying install ... \ - && echo java --version && java --version \ - && echo Complete. diff --git a/19/jre/windows/nanoserver-ltsc2022/Dockerfile.releases.full b/19/jre/windows/nanoserver-ltsc2022/Dockerfile.releases.full deleted file mode 100644 index e80a895ab..000000000 --- a/19/jre/windows/nanoserver-ltsc2022/Dockerfile.releases.full +++ /dev/null @@ -1,38 +0,0 @@ -# ------------------------------------------------------------------------------ -# NOTE: THIS DOCKERFILE IS GENERATED VIA "update_multiarch.sh" -# -# PLEASE DO NOT EDIT IT DIRECTLY. -# ------------------------------------------------------------------------------ -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# https://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -# - -FROM mcr.microsoft.com/windows/nanoserver:ltsc2022 - -SHELL ["cmd", "/s", "/c"] - -ENV JAVA_VERSION jdk-19.0.2+7 - -ENV JAVA_HOME C:\\openjdk-19 -# "ERROR: Access to the registry path is denied." -USER ContainerAdministrator -RUN echo Updating PATH: %JAVA_HOME%\bin;%PATH% \ - && setx /M PATH %JAVA_HOME%\bin;%PATH% \ - && echo Complete. -USER ContainerUser - -COPY --from=eclipse-temurin:19.0.2_7-jre-windowsservercore-ltsc2022 $JAVA_HOME $JAVA_HOME - -RUN echo Verifying install ... \ - && echo java --version && java --version \ - && echo Complete. diff --git a/19/jre/windows/windowsservercore-1809/Dockerfile.releases.full b/19/jre/windows/windowsservercore-1809/Dockerfile.releases.full deleted file mode 100644 index e402bad1d..000000000 --- a/19/jre/windows/windowsservercore-1809/Dockerfile.releases.full +++ /dev/null @@ -1,53 +0,0 @@ -# ------------------------------------------------------------------------------ -# NOTE: THIS DOCKERFILE IS GENERATED VIA "update_multiarch.sh" -# -# PLEASE DO NOT EDIT IT DIRECTLY. -# ------------------------------------------------------------------------------ -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# https://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -# - -FROM mcr.microsoft.com/windows/servercore:1809 - -# $ProgressPreference: https://github.com/PowerShell/PowerShell/issues/2138#issuecomment-251261324 -SHELL ["powershell", "-Command", "$ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue';"] - -ENV JAVA_VERSION jdk-19.0.2+7 - -RUN Write-Host ('Downloading https://github.com/adoptium/temurin19-binaries/releases/download/jdk-19.0.2%2B7/OpenJDK19U-jre_x64_windows_hotspot_19.0.2_7.msi ...'); \ - curl.exe -LfsSo openjdk.msi https://github.com/adoptium/temurin19-binaries/releases/download/jdk-19.0.2%2B7/OpenJDK19U-jre_x64_windows_hotspot_19.0.2_7.msi ; \ - Write-Host ('Verifying sha256 (4ad4aae081243e6962eddd59c4fdfa33d1a3d79acb16d2700a40dc5d8e4861be) ...'); \ - if ((Get-FileHash openjdk.msi -Algorithm sha256).Hash -ne '4ad4aae081243e6962eddd59c4fdfa33d1a3d79acb16d2700a40dc5d8e4861be') { \ - Write-Host 'FAILED!'; \ - exit 1; \ - }; \ - \ - New-Item -ItemType Directory -Path C:\temp | Out-Null; \ - \ - Write-Host 'Installing using MSI ...'; \ - $proc = Start-Process -FilePath "msiexec.exe" -ArgumentList '/i', 'openjdk.msi', '/L*V', 'C:\temp\OpenJDK.log', \ - '/quiet', 'ADDLOCAL=FeatureEnvironment,FeatureJarFileRunWith,FeatureJavaHome', 'INSTALLDIR=C:\openjdk-19' -Wait -Passthru; \ - $proc.WaitForExit() ; \ - if ($proc.ExitCode -ne 0) { \ - Write-Host 'FAILED installing MSI!' ; \ - exit 1; \ - }; \ - \ - Remove-Item -Path C:\temp -Recurse | Out-Null; \ - Write-Host 'Removing openjdk.msi ...'; \ - Remove-Item openjdk.msi -Force - -RUN Write-Host 'Verifying install ...'; \ - Write-Host 'java --version'; java --version; \ - \ - Write-Host 'Complete.' diff --git a/19/jre/windows/windowsservercore-ltsc2022/Dockerfile.releases.full b/19/jre/windows/windowsservercore-ltsc2022/Dockerfile.releases.full deleted file mode 100644 index 7ff61b937..000000000 --- a/19/jre/windows/windowsservercore-ltsc2022/Dockerfile.releases.full +++ /dev/null @@ -1,53 +0,0 @@ -# ------------------------------------------------------------------------------ -# NOTE: THIS DOCKERFILE IS GENERATED VIA "update_multiarch.sh" -# -# PLEASE DO NOT EDIT IT DIRECTLY. -# ------------------------------------------------------------------------------ -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# https://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -# - -FROM mcr.microsoft.com/windows/servercore:ltsc2022 - -# $ProgressPreference: https://github.com/PowerShell/PowerShell/issues/2138#issuecomment-251261324 -SHELL ["powershell", "-Command", "$ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue';"] - -ENV JAVA_VERSION jdk-19.0.2+7 - -RUN Write-Host ('Downloading https://github.com/adoptium/temurin19-binaries/releases/download/jdk-19.0.2%2B7/OpenJDK19U-jre_x64_windows_hotspot_19.0.2_7.msi ...'); \ - curl.exe -LfsSo openjdk.msi https://github.com/adoptium/temurin19-binaries/releases/download/jdk-19.0.2%2B7/OpenJDK19U-jre_x64_windows_hotspot_19.0.2_7.msi ; \ - Write-Host ('Verifying sha256 (4ad4aae081243e6962eddd59c4fdfa33d1a3d79acb16d2700a40dc5d8e4861be) ...'); \ - if ((Get-FileHash openjdk.msi -Algorithm sha256).Hash -ne '4ad4aae081243e6962eddd59c4fdfa33d1a3d79acb16d2700a40dc5d8e4861be') { \ - Write-Host 'FAILED!'; \ - exit 1; \ - }; \ - \ - New-Item -ItemType Directory -Path C:\temp | Out-Null; \ - \ - Write-Host 'Installing using MSI ...'; \ - $proc = Start-Process -FilePath "msiexec.exe" -ArgumentList '/i', 'openjdk.msi', '/L*V', 'C:\temp\OpenJDK.log', \ - '/quiet', 'ADDLOCAL=FeatureEnvironment,FeatureJarFileRunWith,FeatureJavaHome', 'INSTALLDIR=C:\openjdk-19' -Wait -Passthru; \ - $proc.WaitForExit() ; \ - if ($proc.ExitCode -ne 0) { \ - Write-Host 'FAILED installing MSI!' ; \ - exit 1; \ - }; \ - \ - Remove-Item -Path C:\temp -Recurse | Out-Null; \ - Write-Host 'Removing openjdk.msi ...'; \ - Remove-Item openjdk.msi -Force - -RUN Write-Host 'Verifying install ...'; \ - Write-Host 'java --version'; java --version; \ - \ - Write-Host 'Complete.' diff --git a/20/jdk/alpine/Dockerfile.releases.full b/20/jdk/alpine/Dockerfile.releases.full deleted file mode 100644 index f2805e8e6..000000000 --- a/20/jdk/alpine/Dockerfile.releases.full +++ /dev/null @@ -1,67 +0,0 @@ -# ------------------------------------------------------------------------------ -# NOTE: THIS DOCKERFILE IS GENERATED VIA "update_multiarch.sh" -# -# PLEASE DO NOT EDIT IT DIRECTLY. -# ------------------------------------------------------------------------------ -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# https://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -# - -FROM alpine:3.18 - -ENV JAVA_HOME /opt/java/openjdk -ENV PATH $JAVA_HOME/bin:$PATH - -# Default to UTF-8 file.encoding -ENV LANG='en_US.UTF-8' LANGUAGE='en_US:en' LC_ALL='en_US.UTF-8' - -# fontconfig and ttf-dejavu added to support serverside image generation by Java programs -# java-cacerts added to support adding CA certificates to the Java keystore -# bash is required for the entrypoint script (s. https://github.com/adoptium/containers/issues/415) -RUN apk add --no-cache fontconfig java-cacerts bash libretls musl-locales musl-locales-lang ttf-dejavu tzdata zlib \ - && rm -rf /var/cache/apk/* - -ENV JAVA_VERSION jdk-20.0.2+9 - -RUN set -eux; \ - ARCH="$(apk --print-arch)"; \ - case "${ARCH}" in \ - amd64|x86_64) \ - ESUM='b03aced4b7a1c49bc00297e35e45480fd03818862b93e17e1551a3b721e89306'; \ - BINARY_URL='https://github.com/adoptium/temurin20-binaries/releases/download/jdk-20.0.2%2B9/OpenJDK20U-jdk_x64_alpine-linux_hotspot_20.0.2_9.tar.gz'; \ - ;; \ - *) \ - echo "Unsupported arch: ${ARCH}"; \ - exit 1; \ - ;; \ - esac; \ - wget -O /tmp/openjdk.tar.gz ${BINARY_URL}; \ - echo "${ESUM} */tmp/openjdk.tar.gz" | sha256sum -c -; \ - mkdir -p "$JAVA_HOME"; \ - tar --extract \ - --file /tmp/openjdk.tar.gz \ - --directory "$JAVA_HOME" \ - --strip-components 1 \ - --no-same-owner \ - ; \ - rm -f /tmp/openjdk.tar.gz ${JAVA_HOME}/lib/src.zip; - -RUN echo Verifying install ... \ - && fileEncoding="$(echo 'System.out.println(System.getProperty("file.encoding"))' | jshell -s -)"; [ "$fileEncoding" = 'UTF-8' ]; rm -rf ~/.java \ - && echo javac --version && javac --version \ - && echo java --version && java --version \ - && echo Complete. -COPY entrypoint.sh /__cacert_entrypoint.sh -ENTRYPOINT ["/__cacert_entrypoint.sh"] - -CMD ["jshell"] diff --git a/20/jdk/alpine/entrypoint.sh b/20/jdk/alpine/entrypoint.sh deleted file mode 100755 index 9a8c9a2a0..000000000 --- a/20/jdk/alpine/entrypoint.sh +++ /dev/null @@ -1,30 +0,0 @@ -#!/usr/bin/env bash -# Shebang needs to be `bash`, see https://github.com/adoptium/containers/issues/415 for details - -set -e - -# Opt-in is only activated if the environment variable is set -if [ -n "$USE_SYSTEM_CA_CERTS" ]; then - - # Copy certificates from /certificates to the system truststore, but only if the directory exists and is not empty. - # The reason why this is not part of the opt-in is because it leaves open the option to mount certificates at the - # system location, for whatever reason. - if [ -d /certificates ] && [ "$(ls -A /certificates)" ]; then - cp -a /certificates/* /usr/local/share/ca-certificates/ - fi - - CACERT=$JAVA_HOME/lib/security/cacerts - - # JDK8 puts its JRE in a subdirectory - if [ -f "$JAVA_HOME/jre/lib/security/cacerts" ]; then - CACERT=$JAVA_HOME/jre/lib/security/cacerts - fi - - # OpenJDK images used to create a hook for `update-ca-certificates`. Since we are using an entrypoint anyway, we - # might as well just generate the truststore and skip the hooks. - update-ca-certificates - - trust extract --overwrite --format=java-cacerts --filter=ca-anchors --purpose=server-auth "$CACERT" -fi - -exec "$@" diff --git a/20/jdk/ubi/ubi9-minimal/Dockerfile.releases.full b/20/jdk/ubi/ubi9-minimal/Dockerfile.releases.full deleted file mode 100644 index 43adf3672..000000000 --- a/20/jdk/ubi/ubi9-minimal/Dockerfile.releases.full +++ /dev/null @@ -1,68 +0,0 @@ -# ------------------------------------------------------------------------------ -# NOTE: THIS DOCKERFILE IS GENERATED VIA "update_multiarch.sh" -# -# PLEASE DO NOT EDIT IT DIRECTLY. -# ------------------------------------------------------------------------------ -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# https://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -# - -FROM redhat/ubi9-minimal - -ENV JAVA_HOME /opt/java/openjdk -ENV PATH $JAVA_HOME/bin:$PATH - -# Default to UTF-8 file.encoding -ENV LANG='en_US.UTF-8' LANGUAGE='en_US:en' LC_ALL='en_US.UTF-8' - -RUN microdnf install -y binutils tzdata openssl wget ca-certificates fontconfig glibc-langpack-en gzip tar \ - && microdnf clean all - -ENV JAVA_VERSION jdk-20.0.2+9 - -RUN set -eux; \ - ARCH="$(objdump="$(command -v objdump)" && objdump --file-headers "$objdump" | awk -F '[:,]+[[:space:]]+' '$1 == "architecture" { print $2 }')"; \ - case "${ARCH}" in \ - aarch64|arm64) \ - ESUM='b475bcc23db0bd618c815bb8f11d8e084dc58288ea3bcdf4e7f389ed41c89f56'; \ - BINARY_URL='https://github.com/adoptium/temurin20-binaries/releases/download/jdk-20.0.2%2B9/OpenJDK20U-jdk_aarch64_linux_hotspot_20.0.2_9.tar.gz'; \ - ;; \ - amd64|i386:x86-64) \ - ESUM='3d91842e9c172967ac397076523249d05a82ead51b0006838f5f0315ad52222c'; \ - BINARY_URL='https://github.com/adoptium/temurin20-binaries/releases/download/jdk-20.0.2%2B9/OpenJDK20U-jdk_x64_linux_hotspot_20.0.2_9.tar.gz'; \ - ;; \ - *) \ - echo "Unsupported arch: ${ARCH}"; \ - exit 1; \ - ;; \ - esac; \ - wget -O /tmp/openjdk.tar.gz ${BINARY_URL}; \ - echo "${ESUM} */tmp/openjdk.tar.gz" | sha256sum -c -; \ - mkdir -p "$JAVA_HOME"; \ - tar --extract \ - --file /tmp/openjdk.tar.gz \ - --directory "$JAVA_HOME" \ - --strip-components 1 \ - --no-same-owner \ - ; \ - rm -f /tmp/openjdk.tar.gz ${JAVA_HOME}/lib/src.zip; - -RUN echo Verifying install ... \ - && fileEncoding="$(echo 'System.out.println(System.getProperty("file.encoding"))' | jshell -s -)"; [ "$fileEncoding" = 'UTF-8' ]; rm -rf ~/.java \ - && echo javac --version && javac --version \ - && echo java --version && java --version \ - && echo Complete. -COPY entrypoint.sh /__cacert_entrypoint.sh -ENTRYPOINT ["/__cacert_entrypoint.sh"] - -CMD ["jshell"] diff --git a/20/jdk/ubi/ubi9-minimal/entrypoint.sh b/20/jdk/ubi/ubi9-minimal/entrypoint.sh deleted file mode 100755 index 481ab8862..000000000 --- a/20/jdk/ubi/ubi9-minimal/entrypoint.sh +++ /dev/null @@ -1,30 +0,0 @@ -#!/usr/bin/env bash -# Shebang needs to be `bash`, see https://github.com/adoptium/containers/issues/415 for details - -set -e - -# Opt-in is only activated if the environment variable is set -if [ -n "$USE_SYSTEM_CA_CERTS" ]; then - - # Copy certificates from /certificates to the system truststore, but only if the directory exists and is not empty. - # The reason why this is not part of the opt-in is because it leaves open the option to mount certificates at the - # system location, for whatever reason. - if [ -d /certificates ] && [ "$(ls -A /certificates)" ]; then - cp -a /certificates/* /usr/share/pki/ca-trust-source/anchors/ - fi - - CACERT=$JAVA_HOME/lib/security/cacerts - - # JDK8 puts its JRE in a subdirectory - if [ -f "$JAVA_HOME/jre/lib/security/cacerts" ]; then - CACERT=$JAVA_HOME/jre/lib/security/cacerts - fi - - # RHEL-based images already include a routine to update a java truststore from the system CA bundle within - # `update-ca-trust`. All we need to do is to link the system CA bundle to the java truststore. - update-ca-trust - - ln -sf /etc/pki/ca-trust/extracted/java/cacerts "$CACERT" -fi - -exec "$@" diff --git a/20/jdk/ubuntu/jammy/Dockerfile.releases.full b/20/jdk/ubuntu/jammy/Dockerfile.releases.full deleted file mode 100644 index 51cee6116..000000000 --- a/20/jdk/ubuntu/jammy/Dockerfile.releases.full +++ /dev/null @@ -1,77 +0,0 @@ -# ------------------------------------------------------------------------------ -# NOTE: THIS DOCKERFILE IS GENERATED VIA "update_multiarch.sh" -# -# PLEASE DO NOT EDIT IT DIRECTLY. -# ------------------------------------------------------------------------------ -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# https://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -# - -FROM ubuntu:22.04 - -ENV JAVA_HOME /opt/java/openjdk -ENV PATH $JAVA_HOME/bin:$PATH - -# Default to UTF-8 file.encoding -ENV LANG='en_US.UTF-8' LANGUAGE='en_US:en' LC_ALL='en_US.UTF-8' - -RUN apt-get update \ - && DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends tzdata curl wget ca-certificates fontconfig locales p11-kit binutils \ - && echo "en_US.UTF-8 UTF-8" >> /etc/locale.gen \ - && locale-gen en_US.UTF-8 \ - && rm -rf /var/lib/apt/lists/* - -ENV JAVA_VERSION jdk-20.0.2+9 - -RUN set -eux; \ - ARCH="$(dpkg --print-architecture)"; \ - case "${ARCH}" in \ - aarch64|arm64) \ - ESUM='b475bcc23db0bd618c815bb8f11d8e084dc58288ea3bcdf4e7f389ed41c89f56'; \ - BINARY_URL='https://github.com/adoptium/temurin20-binaries/releases/download/jdk-20.0.2%2B9/OpenJDK20U-jdk_aarch64_linux_hotspot_20.0.2_9.tar.gz'; \ - ;; \ - amd64|i386:x86-64) \ - ESUM='3d91842e9c172967ac397076523249d05a82ead51b0006838f5f0315ad52222c'; \ - BINARY_URL='https://github.com/adoptium/temurin20-binaries/releases/download/jdk-20.0.2%2B9/OpenJDK20U-jdk_x64_linux_hotspot_20.0.2_9.tar.gz'; \ - ;; \ - *) \ - echo "Unsupported arch: ${ARCH}"; \ - exit 1; \ - ;; \ - esac; \ - wget -O /tmp/openjdk.tar.gz ${BINARY_URL}; \ - echo "${ESUM} */tmp/openjdk.tar.gz" | sha256sum -c -; \ - mkdir -p "$JAVA_HOME"; \ - tar --extract \ - --file /tmp/openjdk.tar.gz \ - --directory "$JAVA_HOME" \ - --strip-components 1 \ - --no-same-owner \ - ; \ - rm -f /tmp/openjdk.tar.gz ${JAVA_HOME}/lib/src.zip; \ -# https://github.com/docker-library/openjdk/issues/331#issuecomment-498834472 - find "$JAVA_HOME/lib" -name '*.so' -exec dirname '{}' ';' | sort -u > /etc/ld.so.conf.d/docker-openjdk.conf; \ - ldconfig; \ -# https://github.com/docker-library/openjdk/issues/212#issuecomment-420979840 -# https://openjdk.java.net/jeps/341 - java -Xshare:dump; - -RUN echo Verifying install ... \ - && fileEncoding="$(echo 'System.out.println(System.getProperty("file.encoding"))' | jshell -s -)"; [ "$fileEncoding" = 'UTF-8' ]; rm -rf ~/.java \ - && echo javac --version && javac --version \ - && echo java --version && java --version \ - && echo Complete. -COPY entrypoint.sh /__cacert_entrypoint.sh -ENTRYPOINT ["/__cacert_entrypoint.sh"] - -CMD ["jshell"] diff --git a/20/jdk/ubuntu/jammy/entrypoint.sh b/20/jdk/ubuntu/jammy/entrypoint.sh deleted file mode 100755 index 9a8c9a2a0..000000000 --- a/20/jdk/ubuntu/jammy/entrypoint.sh +++ /dev/null @@ -1,30 +0,0 @@ -#!/usr/bin/env bash -# Shebang needs to be `bash`, see https://github.com/adoptium/containers/issues/415 for details - -set -e - -# Opt-in is only activated if the environment variable is set -if [ -n "$USE_SYSTEM_CA_CERTS" ]; then - - # Copy certificates from /certificates to the system truststore, but only if the directory exists and is not empty. - # The reason why this is not part of the opt-in is because it leaves open the option to mount certificates at the - # system location, for whatever reason. - if [ -d /certificates ] && [ "$(ls -A /certificates)" ]; then - cp -a /certificates/* /usr/local/share/ca-certificates/ - fi - - CACERT=$JAVA_HOME/lib/security/cacerts - - # JDK8 puts its JRE in a subdirectory - if [ -f "$JAVA_HOME/jre/lib/security/cacerts" ]; then - CACERT=$JAVA_HOME/jre/lib/security/cacerts - fi - - # OpenJDK images used to create a hook for `update-ca-certificates`. Since we are using an entrypoint anyway, we - # might as well just generate the truststore and skip the hooks. - update-ca-certificates - - trust extract --overwrite --format=java-cacerts --filter=ca-anchors --purpose=server-auth "$CACERT" -fi - -exec "$@" diff --git a/20/jdk/windows/nanoserver-1809/Dockerfile.releases.full b/20/jdk/windows/nanoserver-1809/Dockerfile.releases.full deleted file mode 100644 index 8d418317b..000000000 --- a/20/jdk/windows/nanoserver-1809/Dockerfile.releases.full +++ /dev/null @@ -1,41 +0,0 @@ -# ------------------------------------------------------------------------------ -# NOTE: THIS DOCKERFILE IS GENERATED VIA "update_multiarch.sh" -# -# PLEASE DO NOT EDIT IT DIRECTLY. -# ------------------------------------------------------------------------------ -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# https://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -# - -FROM mcr.microsoft.com/windows/nanoserver:1809 - -SHELL ["cmd", "/s", "/c"] - -ENV JAVA_VERSION jdk-20.0.2+9 - -ENV JAVA_HOME C:\\openjdk-20 -# "ERROR: Access to the registry path is denied." -USER ContainerAdministrator -RUN echo Updating PATH: %JAVA_HOME%\bin;%PATH% \ - && setx /M PATH %JAVA_HOME%\bin;%PATH% \ - && echo Complete. -USER ContainerUser - -COPY --from=eclipse-temurin:20.0.2_9-jdk-windowsservercore-1809 $JAVA_HOME $JAVA_HOME - -RUN echo Verifying install ... \ - && echo javac --version && javac --version \ - && echo java --version && java --version \ - && echo Complete. - -CMD ["jshell"] diff --git a/20/jdk/windows/nanoserver-ltsc2022/Dockerfile.releases.full b/20/jdk/windows/nanoserver-ltsc2022/Dockerfile.releases.full deleted file mode 100644 index e66c45b40..000000000 --- a/20/jdk/windows/nanoserver-ltsc2022/Dockerfile.releases.full +++ /dev/null @@ -1,41 +0,0 @@ -# ------------------------------------------------------------------------------ -# NOTE: THIS DOCKERFILE IS GENERATED VIA "update_multiarch.sh" -# -# PLEASE DO NOT EDIT IT DIRECTLY. -# ------------------------------------------------------------------------------ -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# https://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -# - -FROM mcr.microsoft.com/windows/nanoserver:ltsc2022 - -SHELL ["cmd", "/s", "/c"] - -ENV JAVA_VERSION jdk-20.0.2+9 - -ENV JAVA_HOME C:\\openjdk-20 -# "ERROR: Access to the registry path is denied." -USER ContainerAdministrator -RUN echo Updating PATH: %JAVA_HOME%\bin;%PATH% \ - && setx /M PATH %JAVA_HOME%\bin;%PATH% \ - && echo Complete. -USER ContainerUser - -COPY --from=eclipse-temurin:20.0.2_9-jdk-windowsservercore-ltsc2022 $JAVA_HOME $JAVA_HOME - -RUN echo Verifying install ... \ - && echo javac --version && javac --version \ - && echo java --version && java --version \ - && echo Complete. - -CMD ["jshell"] diff --git a/20/jdk/windows/windowsservercore-1809/Dockerfile.releases.full b/20/jdk/windows/windowsservercore-1809/Dockerfile.releases.full deleted file mode 100644 index db99d2022..000000000 --- a/20/jdk/windows/windowsservercore-1809/Dockerfile.releases.full +++ /dev/null @@ -1,56 +0,0 @@ -# ------------------------------------------------------------------------------ -# NOTE: THIS DOCKERFILE IS GENERATED VIA "update_multiarch.sh" -# -# PLEASE DO NOT EDIT IT DIRECTLY. -# ------------------------------------------------------------------------------ -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# https://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -# - -FROM mcr.microsoft.com/windows/servercore:1809 - -# $ProgressPreference: https://github.com/PowerShell/PowerShell/issues/2138#issuecomment-251261324 -SHELL ["powershell", "-Command", "$ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue';"] - -ENV JAVA_VERSION jdk-20.0.2+9 - -RUN Write-Host ('Downloading https://github.com/adoptium/temurin20-binaries/releases/download/jdk-20.0.2%2B9/OpenJDK20U-jdk_x64_windows_hotspot_20.0.2_9.msi ...'); \ - curl.exe -LfsSo openjdk.msi https://github.com/adoptium/temurin20-binaries/releases/download/jdk-20.0.2%2B9/OpenJDK20U-jdk_x64_windows_hotspot_20.0.2_9.msi ; \ - Write-Host ('Verifying sha256 (703be6194d2ae3fc90870497417e22a72ba9a65995aa84b63bca4f4e1fb8395a) ...'); \ - if ((Get-FileHash openjdk.msi -Algorithm sha256).Hash -ne '703be6194d2ae3fc90870497417e22a72ba9a65995aa84b63bca4f4e1fb8395a') { \ - Write-Host 'FAILED!'; \ - exit 1; \ - }; \ - \ - New-Item -ItemType Directory -Path C:\temp | Out-Null; \ - \ - Write-Host 'Installing using MSI ...'; \ - $proc = Start-Process -FilePath "msiexec.exe" -ArgumentList '/i', 'openjdk.msi', '/L*V', 'C:\temp\OpenJDK.log', \ - '/quiet', 'ADDLOCAL=FeatureEnvironment,FeatureJarFileRunWith,FeatureJavaHome', 'INSTALLDIR=C:\openjdk-20' -Wait -Passthru; \ - $proc.WaitForExit() ; \ - if ($proc.ExitCode -ne 0) { \ - Write-Host 'FAILED installing MSI!' ; \ - exit 1; \ - }; \ - \ - Remove-Item -Path C:\temp -Recurse | Out-Null; \ - Write-Host 'Removing openjdk.msi ...'; \ - Remove-Item openjdk.msi -Force - -RUN Write-Host 'Verifying install ...'; \ - Write-Host 'javac --version'; javac --version; \ - Write-Host 'java --version'; java --version; \ - \ - Write-Host 'Complete.' - -CMD ["jshell"] diff --git a/20/jdk/windows/windowsservercore-ltsc2022/Dockerfile.releases.full b/20/jdk/windows/windowsservercore-ltsc2022/Dockerfile.releases.full deleted file mode 100644 index da024eb1e..000000000 --- a/20/jdk/windows/windowsservercore-ltsc2022/Dockerfile.releases.full +++ /dev/null @@ -1,56 +0,0 @@ -# ------------------------------------------------------------------------------ -# NOTE: THIS DOCKERFILE IS GENERATED VIA "update_multiarch.sh" -# -# PLEASE DO NOT EDIT IT DIRECTLY. -# ------------------------------------------------------------------------------ -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# https://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -# - -FROM mcr.microsoft.com/windows/servercore:ltsc2022 - -# $ProgressPreference: https://github.com/PowerShell/PowerShell/issues/2138#issuecomment-251261324 -SHELL ["powershell", "-Command", "$ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue';"] - -ENV JAVA_VERSION jdk-20.0.2+9 - -RUN Write-Host ('Downloading https://github.com/adoptium/temurin20-binaries/releases/download/jdk-20.0.2%2B9/OpenJDK20U-jdk_x64_windows_hotspot_20.0.2_9.msi ...'); \ - curl.exe -LfsSo openjdk.msi https://github.com/adoptium/temurin20-binaries/releases/download/jdk-20.0.2%2B9/OpenJDK20U-jdk_x64_windows_hotspot_20.0.2_9.msi ; \ - Write-Host ('Verifying sha256 (703be6194d2ae3fc90870497417e22a72ba9a65995aa84b63bca4f4e1fb8395a) ...'); \ - if ((Get-FileHash openjdk.msi -Algorithm sha256).Hash -ne '703be6194d2ae3fc90870497417e22a72ba9a65995aa84b63bca4f4e1fb8395a') { \ - Write-Host 'FAILED!'; \ - exit 1; \ - }; \ - \ - New-Item -ItemType Directory -Path C:\temp | Out-Null; \ - \ - Write-Host 'Installing using MSI ...'; \ - $proc = Start-Process -FilePath "msiexec.exe" -ArgumentList '/i', 'openjdk.msi', '/L*V', 'C:\temp\OpenJDK.log', \ - '/quiet', 'ADDLOCAL=FeatureEnvironment,FeatureJarFileRunWith,FeatureJavaHome', 'INSTALLDIR=C:\openjdk-20' -Wait -Passthru; \ - $proc.WaitForExit() ; \ - if ($proc.ExitCode -ne 0) { \ - Write-Host 'FAILED installing MSI!' ; \ - exit 1; \ - }; \ - \ - Remove-Item -Path C:\temp -Recurse | Out-Null; \ - Write-Host 'Removing openjdk.msi ...'; \ - Remove-Item openjdk.msi -Force - -RUN Write-Host 'Verifying install ...'; \ - Write-Host 'javac --version'; javac --version; \ - Write-Host 'java --version'; java --version; \ - \ - Write-Host 'Complete.' - -CMD ["jshell"] diff --git a/20/jre/alpine/Dockerfile.releases.full b/20/jre/alpine/Dockerfile.releases.full deleted file mode 100644 index 2523f05c3..000000000 --- a/20/jre/alpine/Dockerfile.releases.full +++ /dev/null @@ -1,64 +0,0 @@ -# ------------------------------------------------------------------------------ -# NOTE: THIS DOCKERFILE IS GENERATED VIA "update_multiarch.sh" -# -# PLEASE DO NOT EDIT IT DIRECTLY. -# ------------------------------------------------------------------------------ -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# https://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -# - -FROM alpine:3.18 - -ENV JAVA_HOME /opt/java/openjdk -ENV PATH $JAVA_HOME/bin:$PATH - -# Default to UTF-8 file.encoding -ENV LANG='en_US.UTF-8' LANGUAGE='en_US:en' LC_ALL='en_US.UTF-8' - -# fontconfig and ttf-dejavu added to support serverside image generation by Java programs -# java-cacerts added to support adding CA certificates to the Java keystore -# bash is required for the entrypoint script (s. https://github.com/adoptium/containers/issues/415) -RUN apk add --no-cache fontconfig java-cacerts bash libretls musl-locales musl-locales-lang ttf-dejavu tzdata zlib \ - && rm -rf /var/cache/apk/* - -ENV JAVA_VERSION jdk-20.0.2+9 - -RUN set -eux; \ - ARCH="$(apk --print-arch)"; \ - case "${ARCH}" in \ - amd64|x86_64) \ - ESUM='53b34747a3c042a4cccb2b8b78fba3330b105bc523f0861237baa9143dc39115'; \ - BINARY_URL='https://github.com/adoptium/temurin20-binaries/releases/download/jdk-20.0.2%2B9/OpenJDK20U-jre_x64_alpine-linux_hotspot_20.0.2_9.tar.gz'; \ - ;; \ - *) \ - echo "Unsupported arch: ${ARCH}"; \ - exit 1; \ - ;; \ - esac; \ - wget -O /tmp/openjdk.tar.gz ${BINARY_URL}; \ - echo "${ESUM} */tmp/openjdk.tar.gz" | sha256sum -c -; \ - mkdir -p "$JAVA_HOME"; \ - tar --extract \ - --file /tmp/openjdk.tar.gz \ - --directory "$JAVA_HOME" \ - --strip-components 1 \ - --no-same-owner \ - ; \ - rm -f /tmp/openjdk.tar.gz ${JAVA_HOME}/lib/src.zip; - -RUN echo Verifying install ... \ - && fileEncoding="$(echo 'System.out.println(System.getProperty("file.encoding"))' | jshell -s -)"; [ "$fileEncoding" = 'UTF-8' ]; rm -rf ~/.java \ - && echo java --version && java --version \ - && echo Complete. -COPY entrypoint.sh /__cacert_entrypoint.sh -ENTRYPOINT ["/__cacert_entrypoint.sh"] diff --git a/20/jre/alpine/entrypoint.sh b/20/jre/alpine/entrypoint.sh deleted file mode 100755 index 9a8c9a2a0..000000000 --- a/20/jre/alpine/entrypoint.sh +++ /dev/null @@ -1,30 +0,0 @@ -#!/usr/bin/env bash -# Shebang needs to be `bash`, see https://github.com/adoptium/containers/issues/415 for details - -set -e - -# Opt-in is only activated if the environment variable is set -if [ -n "$USE_SYSTEM_CA_CERTS" ]; then - - # Copy certificates from /certificates to the system truststore, but only if the directory exists and is not empty. - # The reason why this is not part of the opt-in is because it leaves open the option to mount certificates at the - # system location, for whatever reason. - if [ -d /certificates ] && [ "$(ls -A /certificates)" ]; then - cp -a /certificates/* /usr/local/share/ca-certificates/ - fi - - CACERT=$JAVA_HOME/lib/security/cacerts - - # JDK8 puts its JRE in a subdirectory - if [ -f "$JAVA_HOME/jre/lib/security/cacerts" ]; then - CACERT=$JAVA_HOME/jre/lib/security/cacerts - fi - - # OpenJDK images used to create a hook for `update-ca-certificates`. Since we are using an entrypoint anyway, we - # might as well just generate the truststore and skip the hooks. - update-ca-certificates - - trust extract --overwrite --format=java-cacerts --filter=ca-anchors --purpose=server-auth "$CACERT" -fi - -exec "$@" diff --git a/20/jre/ubi/ubi9-minimal/Dockerfile.releases.full b/20/jre/ubi/ubi9-minimal/Dockerfile.releases.full deleted file mode 100644 index 5b5525a49..000000000 --- a/20/jre/ubi/ubi9-minimal/Dockerfile.releases.full +++ /dev/null @@ -1,65 +0,0 @@ -# ------------------------------------------------------------------------------ -# NOTE: THIS DOCKERFILE IS GENERATED VIA "update_multiarch.sh" -# -# PLEASE DO NOT EDIT IT DIRECTLY. -# ------------------------------------------------------------------------------ -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# https://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -# - -FROM redhat/ubi9-minimal - -ENV JAVA_HOME /opt/java/openjdk -ENV PATH $JAVA_HOME/bin:$PATH - -# Default to UTF-8 file.encoding -ENV LANG='en_US.UTF-8' LANGUAGE='en_US:en' LC_ALL='en_US.UTF-8' - -RUN microdnf install -y binutils tzdata openssl wget ca-certificates fontconfig glibc-langpack-en gzip tar \ - && microdnf clean all - -ENV JAVA_VERSION jdk-20.0.2+9 - -RUN set -eux; \ - ARCH="$(objdump="$(command -v objdump)" && objdump --file-headers "$objdump" | awk -F '[:,]+[[:space:]]+' '$1 == "architecture" { print $2 }')"; \ - case "${ARCH}" in \ - aarch64|arm64) \ - ESUM='63a730d5a3b6d21d31f7cba15dc44b019a8a4d8652e13acec45040f98584112c'; \ - BINARY_URL='https://github.com/adoptium/temurin20-binaries/releases/download/jdk-20.0.2%2B9/OpenJDK20U-jre_aarch64_linux_hotspot_20.0.2_9.tar.gz'; \ - ;; \ - amd64|i386:x86-64) \ - ESUM='e3592e86290c192804d9c6b5035d42cc32cf04141d1c0b9d1ecb67739826c8c5'; \ - BINARY_URL='https://github.com/adoptium/temurin20-binaries/releases/download/jdk-20.0.2%2B9/OpenJDK20U-jre_x64_linux_hotspot_20.0.2_9.tar.gz'; \ - ;; \ - *) \ - echo "Unsupported arch: ${ARCH}"; \ - exit 1; \ - ;; \ - esac; \ - wget -O /tmp/openjdk.tar.gz ${BINARY_URL}; \ - echo "${ESUM} */tmp/openjdk.tar.gz" | sha256sum -c -; \ - mkdir -p "$JAVA_HOME"; \ - tar --extract \ - --file /tmp/openjdk.tar.gz \ - --directory "$JAVA_HOME" \ - --strip-components 1 \ - --no-same-owner \ - ; \ - rm -f /tmp/openjdk.tar.gz ${JAVA_HOME}/lib/src.zip; - -RUN echo Verifying install ... \ - && fileEncoding="$(echo 'System.out.println(System.getProperty("file.encoding"))' | jshell -s -)"; [ "$fileEncoding" = 'UTF-8' ]; rm -rf ~/.java \ - && echo java --version && java --version \ - && echo Complete. -COPY entrypoint.sh /__cacert_entrypoint.sh -ENTRYPOINT ["/__cacert_entrypoint.sh"] diff --git a/20/jre/ubi/ubi9-minimal/entrypoint.sh b/20/jre/ubi/ubi9-minimal/entrypoint.sh deleted file mode 100755 index 481ab8862..000000000 --- a/20/jre/ubi/ubi9-minimal/entrypoint.sh +++ /dev/null @@ -1,30 +0,0 @@ -#!/usr/bin/env bash -# Shebang needs to be `bash`, see https://github.com/adoptium/containers/issues/415 for details - -set -e - -# Opt-in is only activated if the environment variable is set -if [ -n "$USE_SYSTEM_CA_CERTS" ]; then - - # Copy certificates from /certificates to the system truststore, but only if the directory exists and is not empty. - # The reason why this is not part of the opt-in is because it leaves open the option to mount certificates at the - # system location, for whatever reason. - if [ -d /certificates ] && [ "$(ls -A /certificates)" ]; then - cp -a /certificates/* /usr/share/pki/ca-trust-source/anchors/ - fi - - CACERT=$JAVA_HOME/lib/security/cacerts - - # JDK8 puts its JRE in a subdirectory - if [ -f "$JAVA_HOME/jre/lib/security/cacerts" ]; then - CACERT=$JAVA_HOME/jre/lib/security/cacerts - fi - - # RHEL-based images already include a routine to update a java truststore from the system CA bundle within - # `update-ca-trust`. All we need to do is to link the system CA bundle to the java truststore. - update-ca-trust - - ln -sf /etc/pki/ca-trust/extracted/java/cacerts "$CACERT" -fi - -exec "$@" diff --git a/20/jre/ubuntu/jammy/Dockerfile.releases.full b/20/jre/ubuntu/jammy/Dockerfile.releases.full deleted file mode 100644 index 09b52094f..000000000 --- a/20/jre/ubuntu/jammy/Dockerfile.releases.full +++ /dev/null @@ -1,74 +0,0 @@ -# ------------------------------------------------------------------------------ -# NOTE: THIS DOCKERFILE IS GENERATED VIA "update_multiarch.sh" -# -# PLEASE DO NOT EDIT IT DIRECTLY. -# ------------------------------------------------------------------------------ -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# https://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -# - -FROM ubuntu:22.04 - -ENV JAVA_HOME /opt/java/openjdk -ENV PATH $JAVA_HOME/bin:$PATH - -# Default to UTF-8 file.encoding -ENV LANG='en_US.UTF-8' LANGUAGE='en_US:en' LC_ALL='en_US.UTF-8' - -RUN apt-get update \ - && DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends tzdata curl wget ca-certificates fontconfig locales p11-kit binutils \ - && echo "en_US.UTF-8 UTF-8" >> /etc/locale.gen \ - && locale-gen en_US.UTF-8 \ - && rm -rf /var/lib/apt/lists/* - -ENV JAVA_VERSION jdk-20.0.2+9 - -RUN set -eux; \ - ARCH="$(dpkg --print-architecture)"; \ - case "${ARCH}" in \ - aarch64|arm64) \ - ESUM='63a730d5a3b6d21d31f7cba15dc44b019a8a4d8652e13acec45040f98584112c'; \ - BINARY_URL='https://github.com/adoptium/temurin20-binaries/releases/download/jdk-20.0.2%2B9/OpenJDK20U-jre_aarch64_linux_hotspot_20.0.2_9.tar.gz'; \ - ;; \ - amd64|i386:x86-64) \ - ESUM='e3592e86290c192804d9c6b5035d42cc32cf04141d1c0b9d1ecb67739826c8c5'; \ - BINARY_URL='https://github.com/adoptium/temurin20-binaries/releases/download/jdk-20.0.2%2B9/OpenJDK20U-jre_x64_linux_hotspot_20.0.2_9.tar.gz'; \ - ;; \ - *) \ - echo "Unsupported arch: ${ARCH}"; \ - exit 1; \ - ;; \ - esac; \ - wget -O /tmp/openjdk.tar.gz ${BINARY_URL}; \ - echo "${ESUM} */tmp/openjdk.tar.gz" | sha256sum -c -; \ - mkdir -p "$JAVA_HOME"; \ - tar --extract \ - --file /tmp/openjdk.tar.gz \ - --directory "$JAVA_HOME" \ - --strip-components 1 \ - --no-same-owner \ - ; \ - rm -f /tmp/openjdk.tar.gz ${JAVA_HOME}/lib/src.zip; \ -# https://github.com/docker-library/openjdk/issues/331#issuecomment-498834472 - find "$JAVA_HOME/lib" -name '*.so' -exec dirname '{}' ';' | sort -u > /etc/ld.so.conf.d/docker-openjdk.conf; \ - ldconfig; \ -# https://github.com/docker-library/openjdk/issues/212#issuecomment-420979840 -# https://openjdk.java.net/jeps/341 - java -Xshare:dump; - -RUN echo Verifying install ... \ - && fileEncoding="$(echo 'System.out.println(System.getProperty("file.encoding"))' | jshell -s -)"; [ "$fileEncoding" = 'UTF-8' ]; rm -rf ~/.java \ - && echo java --version && java --version \ - && echo Complete. -COPY entrypoint.sh /__cacert_entrypoint.sh -ENTRYPOINT ["/__cacert_entrypoint.sh"] diff --git a/20/jre/ubuntu/jammy/entrypoint.sh b/20/jre/ubuntu/jammy/entrypoint.sh deleted file mode 100755 index 9a8c9a2a0..000000000 --- a/20/jre/ubuntu/jammy/entrypoint.sh +++ /dev/null @@ -1,30 +0,0 @@ -#!/usr/bin/env bash -# Shebang needs to be `bash`, see https://github.com/adoptium/containers/issues/415 for details - -set -e - -# Opt-in is only activated if the environment variable is set -if [ -n "$USE_SYSTEM_CA_CERTS" ]; then - - # Copy certificates from /certificates to the system truststore, but only if the directory exists and is not empty. - # The reason why this is not part of the opt-in is because it leaves open the option to mount certificates at the - # system location, for whatever reason. - if [ -d /certificates ] && [ "$(ls -A /certificates)" ]; then - cp -a /certificates/* /usr/local/share/ca-certificates/ - fi - - CACERT=$JAVA_HOME/lib/security/cacerts - - # JDK8 puts its JRE in a subdirectory - if [ -f "$JAVA_HOME/jre/lib/security/cacerts" ]; then - CACERT=$JAVA_HOME/jre/lib/security/cacerts - fi - - # OpenJDK images used to create a hook for `update-ca-certificates`. Since we are using an entrypoint anyway, we - # might as well just generate the truststore and skip the hooks. - update-ca-certificates - - trust extract --overwrite --format=java-cacerts --filter=ca-anchors --purpose=server-auth "$CACERT" -fi - -exec "$@" diff --git a/20/jre/windows/nanoserver-1809/Dockerfile.releases.full b/20/jre/windows/nanoserver-1809/Dockerfile.releases.full deleted file mode 100644 index 76a8178dc..000000000 --- a/20/jre/windows/nanoserver-1809/Dockerfile.releases.full +++ /dev/null @@ -1,38 +0,0 @@ -# ------------------------------------------------------------------------------ -# NOTE: THIS DOCKERFILE IS GENERATED VIA "update_multiarch.sh" -# -# PLEASE DO NOT EDIT IT DIRECTLY. -# ------------------------------------------------------------------------------ -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# https://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -# - -FROM mcr.microsoft.com/windows/nanoserver:1809 - -SHELL ["cmd", "/s", "/c"] - -ENV JAVA_VERSION jdk-20.0.2+9 - -ENV JAVA_HOME C:\\openjdk-20 -# "ERROR: Access to the registry path is denied." -USER ContainerAdministrator -RUN echo Updating PATH: %JAVA_HOME%\bin;%PATH% \ - && setx /M PATH %JAVA_HOME%\bin;%PATH% \ - && echo Complete. -USER ContainerUser - -COPY --from=eclipse-temurin:20.0.2_9-jre-windowsservercore-1809 $JAVA_HOME $JAVA_HOME - -RUN echo Verifying install ... \ - && echo java --version && java --version \ - && echo Complete. diff --git a/20/jre/windows/nanoserver-ltsc2022/Dockerfile.releases.full b/20/jre/windows/nanoserver-ltsc2022/Dockerfile.releases.full deleted file mode 100644 index e829c9807..000000000 --- a/20/jre/windows/nanoserver-ltsc2022/Dockerfile.releases.full +++ /dev/null @@ -1,38 +0,0 @@ -# ------------------------------------------------------------------------------ -# NOTE: THIS DOCKERFILE IS GENERATED VIA "update_multiarch.sh" -# -# PLEASE DO NOT EDIT IT DIRECTLY. -# ------------------------------------------------------------------------------ -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# https://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -# - -FROM mcr.microsoft.com/windows/nanoserver:ltsc2022 - -SHELL ["cmd", "/s", "/c"] - -ENV JAVA_VERSION jdk-20.0.2+9 - -ENV JAVA_HOME C:\\openjdk-20 -# "ERROR: Access to the registry path is denied." -USER ContainerAdministrator -RUN echo Updating PATH: %JAVA_HOME%\bin;%PATH% \ - && setx /M PATH %JAVA_HOME%\bin;%PATH% \ - && echo Complete. -USER ContainerUser - -COPY --from=eclipse-temurin:20.0.2_9-jre-windowsservercore-ltsc2022 $JAVA_HOME $JAVA_HOME - -RUN echo Verifying install ... \ - && echo java --version && java --version \ - && echo Complete. diff --git a/20/jre/windows/windowsservercore-1809/Dockerfile.releases.full b/20/jre/windows/windowsservercore-1809/Dockerfile.releases.full deleted file mode 100644 index 496540eba..000000000 --- a/20/jre/windows/windowsservercore-1809/Dockerfile.releases.full +++ /dev/null @@ -1,53 +0,0 @@ -# ------------------------------------------------------------------------------ -# NOTE: THIS DOCKERFILE IS GENERATED VIA "update_multiarch.sh" -# -# PLEASE DO NOT EDIT IT DIRECTLY. -# ------------------------------------------------------------------------------ -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# https://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -# - -FROM mcr.microsoft.com/windows/servercore:1809 - -# $ProgressPreference: https://github.com/PowerShell/PowerShell/issues/2138#issuecomment-251261324 -SHELL ["powershell", "-Command", "$ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue';"] - -ENV JAVA_VERSION jdk-20.0.2+9 - -RUN Write-Host ('Downloading https://github.com/adoptium/temurin20-binaries/releases/download/jdk-20.0.2%2B9/OpenJDK20U-jre_x64_windows_hotspot_20.0.2_9.msi ...'); \ - curl.exe -LfsSo openjdk.msi https://github.com/adoptium/temurin20-binaries/releases/download/jdk-20.0.2%2B9/OpenJDK20U-jre_x64_windows_hotspot_20.0.2_9.msi ; \ - Write-Host ('Verifying sha256 (0217ba025c5ac579982a80791d4637e2b4b6afb14de522fff2b818d0203d4cea) ...'); \ - if ((Get-FileHash openjdk.msi -Algorithm sha256).Hash -ne '0217ba025c5ac579982a80791d4637e2b4b6afb14de522fff2b818d0203d4cea') { \ - Write-Host 'FAILED!'; \ - exit 1; \ - }; \ - \ - New-Item -ItemType Directory -Path C:\temp | Out-Null; \ - \ - Write-Host 'Installing using MSI ...'; \ - $proc = Start-Process -FilePath "msiexec.exe" -ArgumentList '/i', 'openjdk.msi', '/L*V', 'C:\temp\OpenJDK.log', \ - '/quiet', 'ADDLOCAL=FeatureEnvironment,FeatureJarFileRunWith,FeatureJavaHome', 'INSTALLDIR=C:\openjdk-20' -Wait -Passthru; \ - $proc.WaitForExit() ; \ - if ($proc.ExitCode -ne 0) { \ - Write-Host 'FAILED installing MSI!' ; \ - exit 1; \ - }; \ - \ - Remove-Item -Path C:\temp -Recurse | Out-Null; \ - Write-Host 'Removing openjdk.msi ...'; \ - Remove-Item openjdk.msi -Force - -RUN Write-Host 'Verifying install ...'; \ - Write-Host 'java --version'; java --version; \ - \ - Write-Host 'Complete.' diff --git a/20/jre/windows/windowsservercore-ltsc2022/Dockerfile.releases.full b/20/jre/windows/windowsservercore-ltsc2022/Dockerfile.releases.full deleted file mode 100644 index ffb432560..000000000 --- a/20/jre/windows/windowsservercore-ltsc2022/Dockerfile.releases.full +++ /dev/null @@ -1,53 +0,0 @@ -# ------------------------------------------------------------------------------ -# NOTE: THIS DOCKERFILE IS GENERATED VIA "update_multiarch.sh" -# -# PLEASE DO NOT EDIT IT DIRECTLY. -# ------------------------------------------------------------------------------ -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# https://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -# - -FROM mcr.microsoft.com/windows/servercore:ltsc2022 - -# $ProgressPreference: https://github.com/PowerShell/PowerShell/issues/2138#issuecomment-251261324 -SHELL ["powershell", "-Command", "$ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue';"] - -ENV JAVA_VERSION jdk-20.0.2+9 - -RUN Write-Host ('Downloading https://github.com/adoptium/temurin20-binaries/releases/download/jdk-20.0.2%2B9/OpenJDK20U-jre_x64_windows_hotspot_20.0.2_9.msi ...'); \ - curl.exe -LfsSo openjdk.msi https://github.com/adoptium/temurin20-binaries/releases/download/jdk-20.0.2%2B9/OpenJDK20U-jre_x64_windows_hotspot_20.0.2_9.msi ; \ - Write-Host ('Verifying sha256 (0217ba025c5ac579982a80791d4637e2b4b6afb14de522fff2b818d0203d4cea) ...'); \ - if ((Get-FileHash openjdk.msi -Algorithm sha256).Hash -ne '0217ba025c5ac579982a80791d4637e2b4b6afb14de522fff2b818d0203d4cea') { \ - Write-Host 'FAILED!'; \ - exit 1; \ - }; \ - \ - New-Item -ItemType Directory -Path C:\temp | Out-Null; \ - \ - Write-Host 'Installing using MSI ...'; \ - $proc = Start-Process -FilePath "msiexec.exe" -ArgumentList '/i', 'openjdk.msi', '/L*V', 'C:\temp\OpenJDK.log', \ - '/quiet', 'ADDLOCAL=FeatureEnvironment,FeatureJarFileRunWith,FeatureJavaHome', 'INSTALLDIR=C:\openjdk-20' -Wait -Passthru; \ - $proc.WaitForExit() ; \ - if ($proc.ExitCode -ne 0) { \ - Write-Host 'FAILED installing MSI!' ; \ - exit 1; \ - }; \ - \ - Remove-Item -Path C:\temp -Recurse | Out-Null; \ - Write-Host 'Removing openjdk.msi ...'; \ - Remove-Item openjdk.msi -Force - -RUN Write-Host 'Verifying install ...'; \ - Write-Host 'java --version'; java --version; \ - \ - Write-Host 'Complete.'