Skip to content

Commit 2d38d35

Browse files
Trying to get JDK
1 parent 7ea30df commit 2d38d35

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

Dockerfile

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -68,12 +68,9 @@ COPY --from=ghcr.io/graalvm/native-image-community:21-ol9 /usr/lib64/graalvm/gra
6868
RUN <<-EOT
6969
set -eux
7070
sudo mkdir -p /usr/lib/jvm/oracle8
71-
sudo curl -L --fail "https://javadl.oracle.com/webapps/download/AutoDL?BundleId=252034_8a1589aa0fe24566b4337beee47c2d29" | sudo tar -xvzf - -C /usr/lib/jvm/oracle8 --strip-components 1
71+
sudo curl -L --fail "https://download.oracle.com/otn/java/jdk/8u441-b07/7ed26d28139143f38c58992680c214a5/jdk-8u441-linux-x64.tar.gz?AuthParam=1749061812_04c9734bb40ae3a2eebc1b5edce5453" | sudo tar -xvzf - -C /usr/lib/jvm/oracle8 --strip-components 1
7272
EOT
7373

74-
# Copy missing 'tools.jar' to Oracle JRE.
75-
COPY --from=azul/zulu-openjdk:8 /usr/lib/jvm/zulu8/lib/tools.jar /usr/lib/jvm/oracle8/lib/tools.jar
76-
7774
# Install Ubuntu's OpenJDK 17 and fix broken symlinks:
7875
# some files in /usr/lib/jvm/ubuntu17 are symlinks to /etc/java-17-openjdk/, so we just copy all symlinks targets.
7976
RUN <<-EOT

0 commit comments

Comments
 (0)