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.
1 parent f45af17 commit cccdccdCopy full SHA for cccdccd
Dockerfile
@@ -1,5 +1,8 @@
1
+ARG BUILDTIME_IMAGE_VERSION=gradle:8.14.0-jdk21-alpine
2
+ARG RUNTIME_IMAGE_VERSION=eclipse-temurin:24.0.1_9-jre-alpine
3
+
4
###############################################################################
-FROM gradle:8.14.0-jdk21-alpine AS base
5
+FROM ${BUILDTIME_IMAGE_VERSION} 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_VERSION} AS production
102
103
104
0 commit comments