Skip to content

Commit 2f6ccd1

Browse files
authored
Merge pull request #99 from DataDog/jdk-8u401
Change Oracle Java 8 link to use JDK 8u401, because latest link is JRE only
2 parents a3d34f8 + e1cac25 commit 2f6ccd1

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

Dockerfile

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,10 +65,12 @@ COPY --from=ghcr.io/graalvm/native-image-community:17-ol9 /usr/lib64/graalvm/gra
6565
COPY --from=ghcr.io/graalvm/native-image-community:21-ol9 /usr/lib64/graalvm/graalvm-community-java21 /usr/lib/jvm/graalvm21
6666

6767
# See: https://gist.github.com/wavezhang/ba8425f24a968ec9b2a8619d7c2d86a6
68+
# Note it seems that latest Oracle JDK 8 are not available for download without an account.
69+
# Latest availble is jdk-8u381-linux-x64.tar.gz
6870
RUN <<-EOT
6971
set -eux
7072
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
73+
sudo curl -L --fail "https://javadl.oracle.com/webapps/download/AutoDL?BundleId=248746_8c876547113c4e4aab3c868e9e0ec572" | sudo tar -xvzf - -C /usr/lib/jvm/oracle8 --strip-components 1
7274
EOT
7375

7476
# Install Ubuntu's OpenJDK 17 and fix broken symlinks:

0 commit comments

Comments
 (0)