Skip to content

Commit 9bbac21

Browse files
committed
Adding step to update openssl for docker image
1 parent fec3e9d commit 9bbac21

File tree

1 file changed

+6
-0
lines changed
  • Rsk.Samples.IdentityServer.AdminUiIntegration

1 file changed

+6
-0
lines changed

Rsk.Samples.IdentityServer.AdminUiIntegration/Dockerfile

+6
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,12 @@ RUN dotnet publish -c Release -o out
1313
# Stage 2 - Runtime
1414
FROM mcr.microsoft.com/dotnet/aspnet:6.0-alpine AS runtime
1515

16+
# Ensuring latest openssl is installed as the one in base
17+
# is out of date and vulnerable
18+
RUN apk update && \
19+
apk upgrade && \
20+
apk upgrade openssl
21+
1622
ENV ASPNETCORE_ENVIRONMENT Production
1723
ENV ASPNETCORE_HTTP_PORT=5003
1824
ENV ASPNETCORE_URLS http://*:5003

0 commit comments

Comments
 (0)