We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d045899 commit 67783a8Copy full SHA for 67783a8
testcontainers-advanced-imagebuilder-demo/Dockerfile
@@ -1,6 +1,6 @@
1
# syntax=docker/dockerfile:1-labs
2
# Stage 1: Build the dummy app
3
-ARG JAVA_VERSION=21
+ARG JAVA_VERSION=25
4
FROM eclipse-temurin:$JAVA_VERSION-jdk-alpine AS build-env
5
6
RUN apk add --no-cache bash
@@ -26,7 +26,7 @@ RUN echo "Executing '$MAVEN_BUILD_COMMAND'"
26
RUN ${MAVEN_BUILD_COMMAND}
27
28
# Stage 2: Build the executable image
29
-FROM eclipse-temurin:21-jre-alpine
+FROM eclipse-temurin:$JAVA_VERSION-jre-alpine
30
31
ARG user=dummy-app
32
ARG group=dummy-app
0 commit comments