diff --git a/src/oidc-guard/Dockerfile b/src/oidc-guard/Dockerfile index 1085fd8..a7bd9c5 100644 --- a/src/oidc-guard/Dockerfile +++ b/src/oidc-guard/Dockerfile @@ -1,6 +1,6 @@ ARG BUILDPLATFORM=linux/amd64 -FROM --platform=$BUILDPLATFORM mcr.microsoft.com/dotnet/sdk:9.0-alpine@sha256:d27f74bbb6f04810e8ba7c986b4382dc2e7510218771e43a2ecb10706a02eae7 AS build +FROM --platform=$BUILDPLATFORM mcr.microsoft.com/dotnet/sdk:9.0-alpine@sha256:cdc618c61fb14b297986a06ea895efe6eb49e30dfe3b2b6c8b4793e600a5f298 AS build RUN apk add build-base zlib-dev WORKDIR /src COPY oidc-guard.csproj . @@ -12,7 +12,7 @@ FROM build AS publish ARG VERSION=0.0.1 RUN dotnet publish "oidc-guard.csproj" -c Release --use-current-runtime -o /app/publish /p:Version=${VERSION} -FROM mcr.microsoft.com/dotnet/runtime-deps:9.0-alpine@sha256:273df0607bac8879a1ae5fa1a2f9d80246fef56aefe8928bd470aedb2479e89e AS base +FROM mcr.microsoft.com/dotnet/runtime-deps:9.0-alpine@sha256:af88eef3a293a3d57b49f1e9114f6a6b17f7525c651ef257262c10ab5b8cd1bf AS base WORKDIR /app EXPOSE 8080 ENV ASPNETCORE_URLS=http://+:8080