Skip to content

Commit 67783a8

Browse files
committed
Update Demo to Java 25
1 parent d045899 commit 67783a8

File tree

1 file changed

+2
-2
lines changed
  • testcontainers-advanced-imagebuilder-demo

1 file changed

+2
-2
lines changed

testcontainers-advanced-imagebuilder-demo/Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# syntax=docker/dockerfile:1-labs
22
# Stage 1: Build the dummy app
3-
ARG JAVA_VERSION=21
3+
ARG JAVA_VERSION=25
44
FROM eclipse-temurin:$JAVA_VERSION-jdk-alpine AS build-env
55

66
RUN apk add --no-cache bash
@@ -26,7 +26,7 @@ RUN echo "Executing '$MAVEN_BUILD_COMMAND'"
2626
RUN ${MAVEN_BUILD_COMMAND}
2727

2828
# Stage 2: Build the executable image
29-
FROM eclipse-temurin:21-jre-alpine
29+
FROM eclipse-temurin:$JAVA_VERSION-jre-alpine
3030

3131
ARG user=dummy-app
3232
ARG group=dummy-app

0 commit comments

Comments
 (0)