Skip to content

Commit

Permalink
updated files for Jul 2024 Java SE Critical Patch Updates
Browse files Browse the repository at this point in the history
Signed-off-by: Aurelio Garcia-Ribeyro <[email protected]>
  • Loading branch information
aureliogrb authored and Djelibeybi committed Jul 16, 2024
1 parent dcf44a5 commit 62b04da
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=e73531c1b09cb6e618d4d3617f622acfb05bd9afea2f1539aa4cf452a24eb3bc ; \
JAVA_SHA256=f50fdec8a48a9b360d30ecc29af36f63f04f0b70ec829d3bf821e4e361682791 ; \
else \
mv "$(ls /tmp/jdk-11*_linux-aarch64_bin.tar.gz)" /tmp/jdk.tar.gz ; \
JAVA_SHA256=34c22df9bb58a97f92e4fffdd6961e56b9b4387a5055f8f4a98b361168e881cc ; \
JAVA_SHA256=ff0c3387f47ed2eff9fdf936952573113824fc29de463bb13a3a804cc13d2ae8 ; \
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=e73531c1b09cb6e618d4d3617f622acfb05bd9afea2f1539aa4cf452a24eb3bc ; \
JAVA_SHA256=f50fdec8a48a9b360d30ecc29af36f63f04f0b70ec829d3bf821e4e361682791 ; \
else \
mv "$(ls /tmp/jdk-11*_linux-aarch64_bin.tar.gz)" /tmp/jdk.tar.gz ; \
JAVA_SHA256=34c22df9bb58a97f92e4fffdd6961e56b9b4387a5055f8f4a98b361168e881cc ; \
JAVA_SHA256=ff0c3387f47ed2eff9fdf936952573113824fc29de463bb13a3a804cc13d2ae8 ; \
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=6210799322de9316e16ec884e6904eab14017bc98725a85a5b66071be1dc1596 ; \
JAVA_SHA256=92bfdee599c334f641de2d4ae08a4a082b966cb19b88d13d48b8486f80727b58 ; \
else \
mv "$(ls /tmp/jdk-8*-linux-aarch64.tar.gz)" /tmp/jdk.tar.gz ; \
JAVA_SHA256=29c0543af33986667122cdcc0cc70b17dc4b3e53a9115149b531c8e3270d301d ; \
JAVA_SHA256=2cec03d24cf622d3c97af5fb3e6d0465de8cf7ce599b586e254bedb5ba23a9ca ; \
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=6210799322de9316e16ec884e6904eab14017bc98725a85a5b66071be1dc1596 ; \
JAVA_SHA256=92bfdee599c334f641de2d4ae08a4a082b966cb19b88d13d48b8486f80727b58 ; \
else \
mv "$(ls /tmp/jdk-8*-linux-aarch64.tar.gz)" /tmp/jdk.tar.gz ; \
JAVA_SHA256=29c0543af33986667122cdcc0cc70b17dc4b3e53a9115149b531c8e3270d301d ; \
JAVA_SHA256=2cec03d24cf622d3c97af5fb3e6d0465de8cf7ce599b586e254bedb5ba23a9ca ; \
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=fc46938f1186ee72a372410bcce4750047b0781ad94e592be38149d648144da6 ; \
JAVA_SHA256=f6ad55ddd04f3a3a920312092e29be872b76104aded2cd5df51edb50c14136f2 ; \
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=fc46938f1186ee72a372410bcce4750047b0781ad94e592be38149d648144da6 ; \
JAVA_SHA256=f6ad55ddd04f3a3a920312092e29be872b76104aded2cd5df51edb50c14136f2 ; \
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/22/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/jdk22.0.1/c7ec1332f7bb44aeba2eb341ae18aca4/8/GPL \
ENV JAVA_URL=https://download.java.net/java/GA/jdk22.0.2/c9ecb94cd31b495da20a27d4581645e8/9/GPL \
JAVA_HOME=/usr/java/jdk-22 \
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-22.0.1_linux-"${ARCH}"_bin.tar.gz ; \
JAVA_PKG="$JAVA_URL"/openjdk-22.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 62b04da

Please sign in to comment.