diff --git a/8/jdk/ubuntu/focal/Dockerfile b/8/jdk/ubuntu/focal/Dockerfile index 5bf1be677..25522532e 100644 --- a/8/jdk/ubuntu/focal/Dockerfile +++ b/8/jdk/ubuntu/focal/Dockerfile @@ -56,6 +56,14 @@ RUN set -eux; \ ESUM='15d091e22aa0cad12a241acff8c1634e7228b9740f8d19634250aa6fe0c19a33'; \ BINARY_URL='https://github.com/adoptium/temurin8-binaries/releases/download/jdk8u392-b08/OpenJDK8U-jdk_x64_linux_hotspot_8u392b08.tar.gz'; \ ;; \ + armhf|arm) \ + ESUM='9e574cff0b8dba29930e38eeec4cb4350a77a56a27d03fa316fa6b2383eeef9d'; \ + BINARY_URL='https://github.com/adoptium/temurin8-binaries/releases/download/jdk8u392-b08/OpenJDK8U-jdk_arm_linux_hotspot_8u392b08.tar.gz'; \ + # Fixes libatomic.so.1: cannot open shared object file + apt-get update; \ + DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends libatomic1; \ + rm -rf /var/lib/apt/lists/*; \ + ;; \ ppc64el|powerpc:common64) \ ESUM='9d9813d2840360ffdbc449c45e71124e8170c31a3b6cce9151fbb31352064406'; \ BINARY_URL='https://github.com/adoptium/temurin8-binaries/releases/download/jdk8u392-b08/OpenJDK8U-jdk_ppc64le_linux_hotspot_8u392b08.tar.gz'; \ diff --git a/8/jdk/ubuntu/jammy/Dockerfile b/8/jdk/ubuntu/jammy/Dockerfile index d45cb76ee..b3ace79dc 100644 --- a/8/jdk/ubuntu/jammy/Dockerfile +++ b/8/jdk/ubuntu/jammy/Dockerfile @@ -56,6 +56,14 @@ RUN set -eux; \ ESUM='15d091e22aa0cad12a241acff8c1634e7228b9740f8d19634250aa6fe0c19a33'; \ BINARY_URL='https://github.com/adoptium/temurin8-binaries/releases/download/jdk8u392-b08/OpenJDK8U-jdk_x64_linux_hotspot_8u392b08.tar.gz'; \ ;; \ + armhf|arm) \ + ESUM='9e574cff0b8dba29930e38eeec4cb4350a77a56a27d03fa316fa6b2383eeef9d'; \ + BINARY_URL='https://github.com/adoptium/temurin8-binaries/releases/download/jdk8u392-b08/OpenJDK8U-jdk_arm_linux_hotspot_8u392b08.tar.gz'; \ + # Fixes libatomic.so.1: cannot open shared object file + apt-get update; \ + DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends libatomic1; \ + rm -rf /var/lib/apt/lists/*; \ + ;; \ ppc64el|powerpc:common64) \ ESUM='9d9813d2840360ffdbc449c45e71124e8170c31a3b6cce9151fbb31352064406'; \ BINARY_URL='https://github.com/adoptium/temurin8-binaries/releases/download/jdk8u392-b08/OpenJDK8U-jdk_ppc64le_linux_hotspot_8u392b08.tar.gz'; \ diff --git a/8/jre/ubuntu/focal/Dockerfile b/8/jre/ubuntu/focal/Dockerfile index 08885d82f..6427b3dc5 100644 --- a/8/jre/ubuntu/focal/Dockerfile +++ b/8/jre/ubuntu/focal/Dockerfile @@ -56,6 +56,14 @@ RUN set -eux; \ ESUM='91d31027da0d985be3549714389593d9e0da3da5057d87e3831c7c538b9a2a0f'; \ BINARY_URL='https://github.com/adoptium/temurin8-binaries/releases/download/jdk8u392-b08/OpenJDK8U-jre_x64_linux_hotspot_8u392b08.tar.gz'; \ ;; \ + armhf|arm) \ + ESUM='877953bfabcdbcd000c11364d806456ca579a921085de2ca942280ebe168cac2'; \ + BINARY_URL='https://github.com/adoptium/temurin8-binaries/releases/download/jdk8u392-b08/OpenJDK8U-jre_arm_linux_hotspot_8u392b08.tar.gz'; \ + # Fixes libatomic.so.1: cannot open shared object file + apt-get update; \ + DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends libatomic1; \ + rm -rf /var/lib/apt/lists/*; \ + ;; \ ppc64el|powerpc:common64) \ ESUM='0ecb0aeb54fb9d3c9e1a7ea411490127e8e298d93219fafc4dd6051a5b74671f'; \ BINARY_URL='https://github.com/adoptium/temurin8-binaries/releases/download/jdk8u392-b08/OpenJDK8U-jre_ppc64le_linux_hotspot_8u392b08.tar.gz'; \ diff --git a/8/jre/ubuntu/jammy/Dockerfile b/8/jre/ubuntu/jammy/Dockerfile index 2bf37107d..d6e34f8de 100644 --- a/8/jre/ubuntu/jammy/Dockerfile +++ b/8/jre/ubuntu/jammy/Dockerfile @@ -56,6 +56,14 @@ RUN set -eux; \ ESUM='91d31027da0d985be3549714389593d9e0da3da5057d87e3831c7c538b9a2a0f'; \ BINARY_URL='https://github.com/adoptium/temurin8-binaries/releases/download/jdk8u392-b08/OpenJDK8U-jre_x64_linux_hotspot_8u392b08.tar.gz'; \ ;; \ + armhf|arm) \ + ESUM='877953bfabcdbcd000c11364d806456ca579a921085de2ca942280ebe168cac2'; \ + BINARY_URL='https://github.com/adoptium/temurin8-binaries/releases/download/jdk8u392-b08/OpenJDK8U-jre_arm_linux_hotspot_8u392b08.tar.gz'; \ + # Fixes libatomic.so.1: cannot open shared object file + apt-get update; \ + DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends libatomic1; \ + rm -rf /var/lib/apt/lists/*; \ + ;; \ ppc64el|powerpc:common64) \ ESUM='0ecb0aeb54fb9d3c9e1a7ea411490127e8e298d93219fafc4dd6051a5b74671f'; \ BINARY_URL='https://github.com/adoptium/temurin8-binaries/releases/download/jdk8u392-b08/OpenJDK8U-jre_ppc64le_linux_hotspot_8u392b08.tar.gz'; \ diff --git a/docker_templates/partials/multi-arch-install.j2 b/docker_templates/partials/multi-arch-install.j2 index 1b32f8a77..8009925d9 100644 --- a/docker_templates/partials/multi-arch-install.j2 +++ b/docker_templates/partials/multi-arch-install.j2 @@ -7,9 +7,9 @@ RUN set -eux; \ BINARY_URL='{{ details.download_url }}'; \ {% if architecture == "armhf|arm" and os == "ubuntu" and version|int == 8 -%} # Fixes libatomic.so.1: cannot open shared object file - apt-get update \\ - && DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends libatomic1 \\ - && rm -rf /var/lib/apt/lists/* \\ + apt-get update; \ + DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends libatomic1; \ + rm -rf /var/lib/apt/lists/*; \ {% endif -%} ;; \ {% endfor -%}