Skip to content

Commit 0dbd940

Browse files
authored
Merge branch 'master' into sarahchen6/update-java-25-image
2 parents e91ab6a + d47e3ab commit 0dbd940

File tree

7 files changed

+16
-12
lines changed

7 files changed

+16
-12
lines changed

.github/workflows/ci.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -20,12 +20,12 @@ jobs:
2020
runs-on: ubuntu-latest
2121
steps:
2222
- name: Checkout repository
23-
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # 4.2.2
23+
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # 5.0.0
2424
- name: Set up Docker Buildx
2525
id: buildx
2626
uses: docker/setup-buildx-action@e468171a9de216ec08956ac3ada2f0791b6bd435 # 3.11.1
2727
- name: Login to ghcr.io
28-
uses: docker/login-action@74a5d142397b4f367a81961eba4e8cd7edddf772 # 3.4.0
28+
uses: docker/login-action@184bdaa0721073962dff0199f1fb9940f07167d1 # 3.5.0
2929
with:
3030
registry: ghcr.io
3131
username: ${{ github.actor }}
@@ -44,7 +44,7 @@ jobs:
4444
- name: Push images
4545
run: ./build --push
4646
- name: Run Trivy vulnerability scanner
47-
uses: aquasecurity/trivy-action@dc5a429b52fcf669ce959baa2c2dd26090d2a6c4 # v0.32.0
47+
uses: aquasecurity/trivy-action@b6643a29fecd7f34b3597bc6acb0a98b03d33ff8 # v0.33.1
4848
with:
4949
image-ref: '${{ steps.build.outputs.LATEST_IMAGE_TAG }}'
5050
format: 'sarif'
@@ -55,6 +55,6 @@ jobs:
5555
TRIVY_DB_REPOSITORY: ghcr.io/aquasecurity/trivy-db,public.ecr.aws/aquasecurity/trivy-db
5656
TRIVY_JAVA_DB_REPOSITORY: ghcr.io/aquasecurity/trivy-java-db,public.ecr.aws/aquasecurity/trivy-java-db
5757
- name: Upload Trivy scan results to GitHub Security tab
58-
uses: github/codeql-action/upload-sarif@4e828ff8d448a8a6e532957b1811f387a63867e8 # v3.29.4
58+
uses: github/codeql-action/upload-sarif@f1f6e5f6af878fb37288ce1c627459e94dbf7d01 # v3.30.1
5959
with:
6060
sarif_file: 'trivy-results.sarif'

.github/workflows/docker-tag.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,9 @@ jobs:
1414
packages: write
1515
steps:
1616
- name: Checkout repository
17-
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # 4.2.2
17+
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # 5.0.0
1818
- name: Login to ghcr.io
19-
uses: docker/login-action@74a5d142397b4f367a81961eba4e8cd7edddf772 # 3.4.0
19+
uses: docker/login-action@184bdaa0721073962dff0199f1fb9940f07167d1 # 3.5.0
2020
with:
2121
registry: ghcr.io
2222
username: ${{ github.actor }}

.github/workflows/keep-alive.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ jobs:
1717
contents: write # Required to push changes to the repository
1818
steps:
1919
- name: Checkout repository
20-
uses: actions/checkout@v4
20+
uses: actions/checkout@v5
2121

2222
- name: Set up Git
2323
run: |

.github/workflows/vuln-check.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,15 +22,15 @@ jobs:
2222
runs-on: ubuntu-latest
2323
steps:
2424
- name: Checkout code
25-
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
25+
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
2626

2727
- name: Free Disk Space (Ubuntu) # Reclaim disk space for scan
2828
uses: jlumbroso/free-disk-space@54081f138730dfa15788a46383842cd2f914a1be # v1.3.1
2929
with:
3030
docker-images: false # Do not remove locally built images (including trivy scanner)
3131

3232
- name: Run Trivy vulnerability scanner
33-
uses: aquasecurity/trivy-action@dc5a429b52fcf669ce959baa2c2dd26090d2a6c4 # v0.32.0
33+
uses: aquasecurity/trivy-action@b6643a29fecd7f34b3597bc6acb0a98b03d33ff8 # v0.33.1
3434
with:
3535
image-ref: 'ghcr.io/datadog/dd-trace-java-docker-build:latest'
3636
format: 'sarif'
@@ -42,7 +42,7 @@ jobs:
4242
TRIVY_JAVA_DB_REPOSITORY: ghcr.io/aquasecurity/trivy-java-db,public.ecr.aws/aquasecurity/trivy-java-db
4343

4444
- name: Upload Trivy scan results to GitHub Security tab
45-
uses: github/codeql-action/upload-sarif@4e828ff8d448a8a6e532957b1811f387a63867e8 # v3.29.4
45+
uses: github/codeql-action/upload-sarif@f1f6e5f6af878fb37288ce1c627459e94dbf7d01 # v3.30.1
4646
if: always()
4747
with:
4848
sarif_file: 'trivy-results.sarif'

Dockerfile

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ ARG LATEST_VERSION
44
FROM eclipse-temurin:${LATEST_VERSION}-jdk-noble AS temurin-latest
55

66
# Intermediate image used to prune cruft from JDKs and squash them all.
7-
FROM ubuntu:24.04 AS all-jdk
7+
FROM ubuntu:latest AS all-jdk
88
ARG LATEST_VERSION
99

1010
RUN <<-EOT
@@ -65,6 +65,7 @@ COPY --from=ibm-semeru-runtimes:open-17-jdk-jammy /opt/java/openjdk /usr/lib/jvm
6565

6666
COPY --from=ghcr.io/graalvm/native-image-community:17-ol9 /usr/lib64/graalvm/graalvm-community-java17 /usr/lib/jvm/graalvm17
6767
COPY --from=ghcr.io/graalvm/native-image-community:21-ol9 /usr/lib64/graalvm/graalvm-community-java21 /usr/lib/jvm/graalvm21
68+
COPY --from=ghcr.io/graalvm/native-image-community:25-ol10 /usr/lib64/graalvm/graalvm-community-java25 /usr/lib/jvm/graalvm25
6869

6970
# See: https://gist.github.com/wavezhang/ba8425f24a968ec9b2a8619d7c2d86a6
7071
# Note it seems that latest Oracle JDK 8 are not available for download without an account.
@@ -204,6 +205,7 @@ COPY --from=all-jdk /usr/lib/jvm/semeru11 /usr/lib/jvm/semeru11
204205
COPY --from=all-jdk /usr/lib/jvm/semeru17 /usr/lib/jvm/semeru17
205206
COPY --from=all-jdk /usr/lib/jvm/graalvm17 /usr/lib/jvm/graalvm17
206207
COPY --from=all-jdk /usr/lib/jvm/graalvm21 /usr/lib/jvm/graalvm21
208+
COPY --from=all-jdk /usr/lib/jvm/graalvm25 /usr/lib/jvm/graalvm25
207209

208210
ENV JAVA_7_HOME=/usr/lib/jvm/7
209211

@@ -224,3 +226,4 @@ ENV JAVA_SEMERU17_HOME=/usr/lib/jvm/semeru17
224226

225227
ENV JAVA_GRAALVM17_HOME=/usr/lib/jvm/graalvm17
226228
ENV JAVA_GRAALVM21_HOME=/usr/lib/jvm/graalvm21
229+
ENV JAVA_GRAALVM25_HOME=/usr/lib/jvm/graalvm25

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ Pre-built images are available in [GitHub Container Registry](https://github.com
88

99
Image variants are available on a per JDK basis:
1010
- The `base` variant and its aliases, `8`, `11`, `17`, `21`, `25`, and `stable`, contain the base Eclipse Temurin JDK 8, 11, 17, 21, 25, and latest stable JDK versions,
11-
- The `zulu8`, `zulu11`, `oracle8`, `ibm8`, `semeru8`, `semeru11`, `semeru17`, `graalvm17` and `graalvm21` variants all contain the base JDKs in addition to the specific JDK from their name,
11+
- The `zulu8`, `zulu11`, `oracle8`, `ibm8`, `semeru8`, `semeru11`, `semeru17`, `graalvm17`, `graalvm21`, and `graalvm25` variants all contain the base JDKs in addition to the specific JDK from their name,
1212
- The `latest` variant contains the base JDKs and all the above specific JDKs.
1313

1414
## Development

build

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ readonly VARIANTS=(
1616
semeru17
1717
graalvm17
1818
graalvm21
19+
graalvm25
1920
)
2021

2122
# Use buildkit to match CI as closely as possible.

0 commit comments

Comments
 (0)