Skip to content

Commit

Permalink
use jdk 21 image for package stage
Browse files Browse the repository at this point in the history
  • Loading branch information
emmysteven committed Dec 7, 2023
1 parent cc308e4 commit deecddb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ RUN --mount=type=cache,target=/root/.m2 mvn install -Dmaven.test.skip=true
RUN mkdir -p target/deps && (cd target/deps; jar -xf ../libs/*-0.0.1.jar)

# Package stage
FROM amazoncorretto:17-alpine@sha256:0770cab734f259b1f68060bd543aab1e217f1634d7bbac76c09996a1a9bf723b
FROM amazoncorretto:21-alpine@sha256:696d03bfaeae332077e0ed579845c692949567944837dd99dd2f4fce405c806e
RUN apk add --no-cache dumb-init
RUN addgroup --system javauser && adduser -S -s /bin/false -G javauser javauser

Expand Down

0 comments on commit deecddb

Please sign in to comment.