Build the dlls on a matching container (#7)

This commit is contained in:
Gervasio Marchand 2022-12-19 13:00:16 -08:00 committed by GitHub
parent 20befd3d9e
commit f3ec35c802
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,7 +1,7 @@
# syntax=docker/dockerfile:1
ARG ARCH=
FROM mcr.microsoft.com/dotnet/sdk:6.0.404-alpine3.16 AS builder
FROM mcr.microsoft.com/dotnet/sdk:6.0.404-alpine3.16-${ARCH} AS builder
WORKDIR /src
COPY src /src/
RUN dotnet publish -c Release /src/FakeRelay.sln -o /app