File tree Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Original file line number Diff line number Diff line change 1+ ARG BUILDTIME_IMAGE=mcr.microsoft.com/dotnet/sdk:8.0.402-alpine3.19
2+ ARG RUNTIME_IMAGE=mcr.microsoft.com/dotnet/runtime:8.0.8-alpine3.19
3+
14# ##############################################################################
2- FROM mcr.microsoft.com/dotnet/sdk:8.0.402-alpine3.19-amd64 AS init
5+ FROM ${BUILDTIME_IMAGE} AS init
36
47ENV WORKDIR=/app
58WORKDIR ${WORKDIR}
@@ -104,7 +107,7 @@ CMD ["make", "test"]
104107# # in the production phase, "good practices" such as
105108# # WORKDIR and USER are maintained
106109# #
107- FROM mcr.microsoft.com/dotnet/runtime:8.0.8-alpine3.19-amd64 AS production
110+ FROM ${RUNTIME_IMAGE} AS production
108111
109112RUN apk add --update --no-cache make \
110113 && apk upgrade --no-cache # Avoid some CVE reports updating basic packages.
You can’t perform that action at this time.
0 commit comments