Skip to content

Commit 0d04032

Browse files
authored
move to JDK 21
coming from #1611
1 parent 34e0aa3 commit 0d04032

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

k8s/docker/Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# Build Stage
2-
FROM eclipse-temurin:17-jdk AS build
2+
FROM eclipse-temurin:21-jdk AS build
33
MAINTAINER daynnnnn
44

55
# Setting environment variables
@@ -37,7 +37,7 @@ RUN chmod +x mvnw
3737
RUN ./mvnw clean package -Pkubernetes -Djdk.tls.client.protocols="TLSv1,TLSv1.1,TLSv1.2"
3838

3939
# Release Stage
40-
FROM eclipse-temurin:17-jdk AS release
40+
FROM eclipse-temurin:21-jdk AS release
4141

4242
# Copy only the generated jar file from the build stage
4343
COPY --from=build /code/target /app

0 commit comments

Comments
 (0)