File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 66
77# This stage depends on a JDK image and uses Maven Wrapper to pull in dependencies and build the project
88# from source.
9- FROM amazoncorretto:21-alpine@sha256:fda60fd7965970ce7ed7ce789b18418647b56ac6112fc17df006337bdc6355c4 AS build
9+ FROM amazoncorretto:21.0.10 -alpine@sha256:c64034bdceaff59b33bc366b9ab1b7fc5593d8155daf82cd978541b206555d1f AS build
1010ARG APP_NAME
1111ARG APP_VERSION
1212WORKDIR /build
@@ -35,7 +35,7 @@ RUN ./mvnw -B -o process-test-classes
3535
3636# This stage uses a JRE rather than JDK because it doesn't have to compile any Java sources.
3737# It is assembling the runnable test container and packaging all its Maven dependencies
38- FROM amazoncorretto:21-alpine@sha256:fda60fd7965970ce7ed7ce789b18418647b56ac6112fc17df006337bdc6355c4
38+ FROM amazoncorretto:21.0.10 -alpine@sha256:c64034bdceaff59b33bc366b9ab1b7fc5593d8155daf82cd978541b206555d1f
3939ARG APP_NAME
4040ARG APP_VERSION
4141
Original file line number Diff line number Diff line change 44# # Stage 1: Build and test the Java Sources
55# #
66
7- FROM amazoncorretto:21-alpine@sha256:fda60fd7965970ce7ed7ce789b18418647b56ac6112fc17df006337bdc6355c4 AS build
7+ FROM amazoncorretto:21.0.10 -alpine@sha256:c64034bdceaff59b33bc366b9ab1b7fc5593d8155daf82cd978541b206555d1f AS build
88ARG APP_NAME
99ARG APP_VERSION
1010
@@ -34,7 +34,7 @@ RUN ./mvnw -B -X package
3434
3535# This stage uses a JRE rather than JDK because it doesn't have to build anything; it just runs the fat jar
3636# produced by the previous stage.
37- FROM amazoncorretto:21-alpine@sha256:fda60fd7965970ce7ed7ce789b18418647b56ac6112fc17df006337bdc6355c4
37+ FROM amazoncorretto:21.0.10 -alpine@sha256:c64034bdceaff59b33bc366b9ab1b7fc5593d8155daf82cd978541b206555d1f
3838ARG APP_NAME
3939ARG APP_VERSION
4040
You can’t perform that action at this time.
0 commit comments