Skip to content

Commit

Permalink
chore: make docker build .NET natively instead emulation
Browse files Browse the repository at this point in the history
  • Loading branch information
moreal committed Nov 11, 2024
1 parent 36c0b8b commit 9c9349c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM mcr.microsoft.com/dotnet/sdk:8.0 AS build-env
FROM --platform=$BUILDPLATFORM mcr.microsoft.com/dotnet/sdk:8.0 AS build-env
WORKDIR /app
ARG COMMIT
ARG TARGETPLATFORM
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile.ACC
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Use the SDK image to build the app
FROM mcr.microsoft.com/dotnet/sdk:8.0-jammy AS build-env
FROM --platform=$BUILDPLATFORM mcr.microsoft.com/dotnet/sdk:8.0 AS build-env
WORKDIR /app
ARG COMMIT
ARG TARGETPLATFORM
Expand Down

0 comments on commit 9c9349c

Please sign in to comment.