We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 69021ed commit f428e54Copy full SHA for f428e54
1 file changed
Dockerfile
@@ -1,6 +1,7 @@
1
# syntax=docker/dockerfile:1.6
2
3
-FROM ubuntu:latest AS oracle8
+ARG LATEST_VERSION
4
+FROM eclipse-temurin:${LATEST_VERSION}-jdk-noble AS temurin-latest
5
# See: Oracle docimention about script friendly download: https://docs.oracle.com/en-us/iaas/jms/doc/script-friendly-download.html
6
# Note:
7
# 1. Token can be created here: https://cloud.oracle.com/?tenant=ddsbxplayground&domain=datadog®ion=us-ashburn-1
@@ -16,9 +17,6 @@ RUN --mount=type=secret,id=oracle_java8_token <<-EOT
16
17
unset ORACLE_JAVA8_TOKEN
18
EOT
19
-ARG LATEST_VERSION
20
-FROM eclipse-temurin:${LATEST_VERSION}-jdk-noble AS temurin-latest
21
-
22
# Intermediate image used to prune cruft from JDKs and squash them all.
23
FROM ubuntu:latest AS all-jdk
24
ARG LATEST_VERSION
0 commit comments