File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -4,7 +4,8 @@ FROM mcr.microsoft.com/dotnet/sdk:8.0.402-alpine3.19-amd64 AS init
4
4
ENV WORKDIR=/app
5
5
WORKDIR ${WORKDIR}
6
6
7
- RUN apk add --update --no-cache make
7
+ RUN apk add --update --no-cache make \
8
+ && apk upgrade --no-cache # Avoid some CVE reports updating basic packages.
8
9
9
10
# ##############################################################################
10
11
FROM init AS base
@@ -105,7 +106,8 @@ CMD ["make", "test"]
105
106
# #
106
107
FROM mcr.microsoft.com/dotnet/runtime:8.0.8-alpine3.19-amd64 AS production
107
108
108
- RUN apk add --update --no-cache make
109
+ RUN apk add --update --no-cache make \
110
+ && apk upgrade --no-cache # Avoid some CVE reports updating basic packages.
109
111
110
112
ENV LOG_LEVEL=info
111
113
ENV BRUTEFORCE=false
You can’t perform that action at this time.
0 commit comments