Skip to content
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
18 lines (14 sloc) 565 Bytes
FROM AS build
# copy csproj and restore as distinct layers
COPY *.sln .
COPY *.csproj .
RUN dotnet restore
# copy everything else and build app
COPY . .
RUN dotnet add package ILLink.Tasks -v 0.1.5-preview-1841731 -s
RUN dotnet publish -c Release -r linux-arm -o out /p:ShowLinkerSizeComparison=true
FROM AS runtime
COPY --from=build /app/out ./
ENTRYPOINT ["./GuidMaker"]
You can’t perform that action at this time.