Skip to content

Commit

Permalink
updated checksums and download references to the Jan 2024 CPU release…
Browse files Browse the repository at this point in the history
…s of Java

Signed-off-by: Aurelio Garcia-Ribeyro <[email protected]>
  • Loading branch information
aureliogrb authored and Djelibeybi committed Jan 17, 2024
1 parent 20980a8 commit 021a04c
Show file tree
Hide file tree
Showing 7 changed files with 12 additions and 12 deletions.
4 changes: 2 additions & 2 deletions OracleJava/11/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -47,10 +47,10 @@ RUN set -eux; \
if [ "$ARCH" = "x86_64" ]; \
then \
mv "$(ls /tmp/jdk-11*_linux-x64_bin.tar.gz)" /tmp/jdk.tar.gz ; \
JAVA_SHA256=612b6687c185b2b0f0651d5ca2cfd1dfd5936418e9bf0b169b516e83d18d178d ; \
JAVA_SHA256=f9eaf0f224fac4ff26f146089181a155d547ebcf2e033cf4cc850efa228086ba ; \
else \
mv "$(ls /tmp/jdk-11*_linux-aarch64_bin.tar.gz)" /tmp/jdk.tar.gz ; \
JAVA_SHA256=5036569e689c5385a31d55d5f66332768e1ee552624cbd097fcab17c6b583f22 ; \
JAVA_SHA256=97ee39f2a39ab9612a06b0d56882571f701cad082b7cf169b5cfdee174aec7eb ; \
fi && \
echo "$JAVA_SHA256 */tmp/jdk.tar.gz" | sha256sum -c -; \
mkdir -p "$JAVA_HOME"; \
Expand Down
4 changes: 2 additions & 2 deletions OracleJava/11/Dockerfile.8
Original file line number Diff line number Diff line change
Expand Up @@ -46,10 +46,10 @@ RUN set -eux; \
if [ "$ARCH" = "x86_64" ]; \
then \
mv "$(ls /tmp/jdk-11*_linux-x64_bin.tar.gz)" /tmp/jdk.tar.gz ; \
JAVA_SHA256=612b6687c185b2b0f0651d5ca2cfd1dfd5936418e9bf0b169b516e83d18d178d ; \
JAVA_SHA256=f9eaf0f224fac4ff26f146089181a155d547ebcf2e033cf4cc850efa228086ba ; \
else \
mv "$(ls /tmp/jdk-11*_linux-aarch64_bin.tar.gz)" /tmp/jdk.tar.gz ; \
JAVA_SHA256=5036569e689c5385a31d55d5f66332768e1ee552624cbd097fcab17c6b583f22 ; \
JAVA_SHA256=97ee39f2a39ab9612a06b0d56882571f701cad082b7cf169b5cfdee174aec7eb ; \
fi && \
echo "$JAVA_SHA256 */tmp/jdk.tar.gz" | sha256sum -c -; \
mkdir -p "$JAVA_HOME"; \
Expand Down
4 changes: 2 additions & 2 deletions OracleJava/8/jdk/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -45,10 +45,10 @@ RUN set -eux; \
if [ "$ARCH" = "x86_64" ]; \
then \
mv "$(ls /tmp/jdk-8*-linux-x64.tar.gz)" /tmp/jdk.tar.gz ; \
JAVA_SHA256=c2f9513727fa7a06d6cf9a10a4c1712a984baa33a69373c0b909785b1f805108 ; \
JAVA_SHA256=19684fccd7ff32a8400e952a643f0049449a772ef63b8037d5b917cbd137d173 ; \
else \
mv "$(ls /tmp/jdk-8*-linux-aarch64.tar.gz)" /tmp/jdk.tar.gz ; \
JAVA_SHA256=c4aa317651de863dc1164aa270a1f9e8045245f3c77a1863d01c3dfc55c04780 ; \
JAVA_SHA256=daa226b47bc57b03dbd6f7398eadd89d5fca5e98353e9e66017de362ecb7e7f8 ; \
fi && \
echo "$JAVA_SHA256 */tmp/jdk.tar.gz" | sha256sum -c -; \
mkdir -p "$JAVA_HOME"; \
Expand Down
4 changes: 2 additions & 2 deletions OracleJava/8/jdk/Dockerfile.8
Original file line number Diff line number Diff line change
Expand Up @@ -45,10 +45,10 @@ RUN set -eux; \
if [ "$ARCH" = "x86_64" ]; \
then \
mv "$(ls /tmp/jdk-8*-linux-x64.tar.gz)" /tmp/jdk.tar.gz ; \
JAVA_SHA256=c2f9513727fa7a06d6cf9a10a4c1712a984baa33a69373c0b909785b1f805108 ; \
JAVA_SHA256=19684fccd7ff32a8400e952a643f0049449a772ef63b8037d5b917cbd137d173 ; \
else \
mv "$(ls /tmp/jdk-8*-linux-aarch64.tar.gz)" /tmp/jdk.tar.gz ; \
JAVA_SHA256=c4aa317651de863dc1164aa270a1f9e8045245f3c77a1863d01c3dfc55c04780 ; \
JAVA_SHA256=daa226b47bc57b03dbd6f7398eadd89d5fca5e98353e9e66017de362ecb7e7f8 ; \
fi && \
echo "$JAVA_SHA256 */tmp/jdk.tar.gz" | sha256sum -c -; \
mkdir -p "$JAVA_HOME"; \
Expand Down
2 changes: 1 addition & 1 deletion OracleJava/8/serverjre/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ ENV JAVA_HOME=/usr/java/jdk-8
COPY server-jre-8u*-linux-x64.tar.gz /tmp/jdk.tgz
SHELL ["/bin/bash", "-o", "pipefail", "-c"]
RUN set -eux; \
JAVA_SHA256=03454fe3a293ad3179bcc00f09dc4ced38dea77ad4f952d0d4154d9cc1f87160 ; \
JAVA_SHA256=cf22b1e332da4eb70bc0e37b2968f60e051496df026c0a8b57138d8e646b7119 ; \
echo "$JAVA_SHA256 */tmp/jdk.tgz" | sha256sum -c -; \
mkdir -p "$JAVA_HOME"; \
tar --extract --file /tmp/jdk.tgz --directory "$JAVA_HOME" --strip-components 1;
Expand Down
2 changes: 1 addition & 1 deletion OracleJava/8/serverjre/Dockerfile.8
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ ENV JAVA_HOME=/usr/java/jdk-8
COPY server-jre-8u*-linux-x64.tar.gz /tmp/jdk.tgz
SHELL ["/bin/bash", "-o", "pipefail", "-c"]
RUN set -eux; \
JAVA_SHA256=03454fe3a293ad3179bcc00f09dc4ced38dea77ad4f952d0d4154d9cc1f87160 ; \
JAVA_SHA256=cf22b1e332da4eb70bc0e37b2968f60e051496df026c0a8b57138d8e646b7119 ; \
echo "$JAVA_SHA256 */tmp/jdk.tgz" | sha256sum -c -; \
mkdir -p "$JAVA_HOME"; \
tar --extract --file /tmp/jdk.tgz --directory "$JAVA_HOME" --strip-components 1;
Expand Down
4 changes: 2 additions & 2 deletions OracleOpenJDK/21/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ FROM oraclelinux:8

LABEL maintainer="Aurelio Garcia-Ribeyro <[email protected]>"

ENV JAVA_URL=https://download.java.net/java/GA/jdk21.0.1/415e3f918a1f4062a0074a2794853d0d/12/GPL \
ENV JAVA_URL=https://download.java.net/java/GA/jdk21.0.2/f2283984656d49d69e91c558476027ac/13/GPL \
JAVA_HOME=/usr/java/jdk-21 \
LANG=en_US.UTF-8

Expand All @@ -50,7 +50,7 @@ RUN set -eux; \
if [ "$ARCH" = "x86_64" ]; \
then ARCH="x64"; \
fi && \
JAVA_PKG="$JAVA_URL"/openjdk-21.0.1_linux-"${ARCH}"_bin.tar.gz ; \
JAVA_PKG="$JAVA_URL"/openjdk-21.0.2_linux-"${ARCH}"_bin.tar.gz ; \
JAVA_SHA256="$(curl "$JAVA_PKG".sha256)" ; \
curl --output /tmp/jdk.tgz "$JAVA_PKG" && \
echo "$JAVA_SHA256" */tmp/jdk.tgz | sha256sum -c -; \
Expand Down

0 comments on commit 021a04c

Please sign in to comment.