File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1- FROM mcr.microsoft.com/dotnet/runtime-deps:10.0-alpine AS base
1+ FROM mcr.microsoft.com/dotnet/runtime-deps:10.0-alpine-extra AS base
22USER $APP_UID
33WORKDIR /app
44
55FROM mcr.microsoft.com/dotnet/sdk:10.0-alpine-aot AS build
6+ RUN apk add --no-cache build-base clang lld llvm zlib-dev libstdc++
67ARG BUILD_CONFIGURATION=Release
7- ARG BUILD_RUNTIME=linux-x64
8+ ARG BUILD_RUNTIME=linux-musl- x64
89ARG OPENAPI=false
910ARG VERSION=0.0.0
1011
@@ -34,7 +35,7 @@ RUN dotnet build "Helldivers-2-API.csproj" --no-restore -r $BUILD_RUNTIME -c $BU
3435
3536FROM build AS publish
3637ARG BUILD_CONFIGURATION=Release
37- ARG BUILD_RUNTIME=linux-x64
38+ ARG BUILD_RUNTIME=linux-musl- x64
3839ARG VERSION=0.0.0
3940RUN dotnet publish "Helldivers-2-API.csproj" /p:Version="$VERSION" --self-contained -r $BUILD_RUNTIME -c $BUILD_CONFIGURATION -o /app/publish
4041
You can’t perform that action at this time.
0 commit comments