Skip to content

Commit fecbcfc

Browse files
committed
Fixed Dockerfile to use the $BUILDPLATFORM var
1 parent 5fc65dc commit fecbcfc

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM mcr.microsoft.com/dotnet/sdk:6.0-bullseye-slim AS build-env
1+
FROM --platform=$BUILDPLATFORM mcr.microsoft.com/dotnet/sdk:6.0-bullseye-slim AS build-env
22
WORKDIR /app
33

44
COPY *.csproj ./

0 commit comments

Comments
 (0)