We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5208589 commit b5e7b12Copy full SHA for b5e7b12
Rsk.Samples.IdentityServer.AdminUiIntegration/Dockerfile
@@ -1,5 +1,5 @@
1
# Stage 1 - Build
2
-FROM --platform=$BUILDPLATFORM mcr.microsoft.com/dotnet/sdk:8.0-alpine AS build
+FROM --platform=$TARGETPLATFORM mcr.microsoft.com/dotnet/sdk:8.0-alpine AS build
3
WORKDIR /app
4
5
# packages installed
@@ -15,7 +15,7 @@ COPY . .
15
RUN dotnet publish -c Release -o out
16
17
# Stage 2 - Runtime
18
-FROM --platform=$BUILDPLATFORM mcr.microsoft.com/dotnet/aspnet:8.0-alpine AS runtime
+FROM --platform=$TARGETPLATFORM mcr.microsoft.com/dotnet/aspnet:8.0-alpine AS runtime
19
20
# Ensuring latest openssl is installed as the one in base
21
# is out of date and vulnerable
0 commit comments