mirror of
https://github.com/g3rv4/FakeRelay.git
synced 2024-11-21 23:03:07 +01:00
Build the dlls on a matching container (#7)
This commit is contained in:
parent
20befd3d9e
commit
f3ec35c802
@ -1,7 +1,7 @@
|
|||||||
# syntax=docker/dockerfile:1
|
# syntax=docker/dockerfile:1
|
||||||
|
|
||||||
ARG ARCH=
|
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
|
WORKDIR /src
|
||||||
COPY src /src/
|
COPY src /src/
|
||||||
RUN dotnet publish -c Release /src/FakeRelay.sln -o /app
|
RUN dotnet publish -c Release /src/FakeRelay.sln -o /app
|
||||||
|
Loading…
Reference in New Issue
Block a user