Skip to content

Commit f428e54

Browse files
debug 2
1 parent 69021ed commit f428e54

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

Dockerfile

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
# syntax=docker/dockerfile:1.6
22

3-
FROM ubuntu:latest AS oracle8
3+
ARG LATEST_VERSION
4+
FROM eclipse-temurin:${LATEST_VERSION}-jdk-noble AS temurin-latest
45
# See: Oracle docimention about script friendly download: https://docs.oracle.com/en-us/iaas/jms/doc/script-friendly-download.html
56
# Note:
67
# 1. Token can be created here: https://cloud.oracle.com/?tenant=ddsbxplayground&domain=datadog&region=us-ashburn-1
@@ -16,9 +17,6 @@ RUN --mount=type=secret,id=oracle_java8_token <<-EOT
1617
unset ORACLE_JAVA8_TOKEN
1718
EOT
1819

19-
ARG LATEST_VERSION
20-
FROM eclipse-temurin:${LATEST_VERSION}-jdk-noble AS temurin-latest
21-
2220
# Intermediate image used to prune cruft from JDKs and squash them all.
2321
FROM ubuntu:latest AS all-jdk
2422
ARG LATEST_VERSION

0 commit comments

Comments
 (0)