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.
2 parents f45af17 + 37fa262 commit 1b7dd57Copy full SHA for 1b7dd57
Dockerfile
@@ -1,5 +1,8 @@
1
+ARG BUILDTIME_IMAGE=gradle:8.14.0-jdk21-alpine
2
+ARG RUNTIME_IMAGE=eclipse-temurin:24.0.1_9-jre-alpine
3
+
4
###############################################################################
-FROM gradle:8.14.0-jdk21-alpine AS base
5
+FROM ${BUILDTIME_IMAGE} AS base
6
7
RUN apk add --update --no-cache make \
8
# FIX CVE-2024-5535
@@ -94,7 +97,8 @@ CMD ["make", "test"]
94
97
## in the production phase, "good practices" such as
95
98
## WORKDIR and USER are maintained
96
99
##
-FROM eclipse-temurin:24.0.1_9-jre-alpine AS production
100
101
+FROM ${RUNTIME_IMAGE} AS production
102
103
104
0 commit comments