Skip to content

Commit 0de4304

Browse files
WIP
1 parent 88c726e commit 0de4304

File tree

2 files changed

+6
-3
lines changed

2 files changed

+6
-3
lines changed

.github/workflows/ci.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,8 @@ jobs:
3636
docker-images: false # Do not remove locally built images (including trivy scanner)
3737
- name: Build images
3838
id: build
39+
env:
40+
ORACLE_JAVA8_TOKEN: ${{ secrets.ORACLE_JAVA8_TOKEN }}
3941
run: ./build
4042
- name: Test images
4143
run: ./build --test

Dockerfile

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -67,9 +67,10 @@ COPY --from=ghcr.io/graalvm/native-image-community:17-ol9 /usr/lib64/graalvm/gra
6767
COPY --from=ghcr.io/graalvm/native-image-community:21-ol9 /usr/lib64/graalvm/graalvm-community-java21 /usr/lib/jvm/graalvm21
6868
COPY --from=ghcr.io/graalvm/native-image-community:25-ol10 /usr/lib64/graalvm/graalvm-community-java25 /usr/lib/jvm/graalvm25
6969

70-
# See: https://gist.github.com/wavezhang/ba8425f24a968ec9b2a8619d7c2d86a6
71-
# Note it seems that latest Oracle JDK 8 are not available for download without an account.
72-
# Latest available is jdk-8u381-linux-x64.tar.gz
70+
# See: Oracle docimention about script friendly download: https://docs.oracle.com/en-us/iaas/jms/doc/script-friendly-download.html
71+
# Note:
72+
# 1. Token can be created here: https://cloud.oracle.com/?tenant=ddsbxplayground&domain=datadog&region=us-ashburn-1
73+
# 2. Once created, token should be added to GitHub protected environment by repository administrator.
7374
RUN <<-EOT
7475
set -eux
7576
sudo mkdir -p /usr/lib/jvm/oracle8

0 commit comments

Comments
 (0)