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 alpine:latest AS base
1+ FROM mcr.microsoft.com/dotnet/runtime-deps:10.0-alpine AS base
22USER $APP_UID
33WORKDIR /app
44
55FROM mcr.microsoft.com/dotnet/sdk:10.0-alpine-aot AS build
6- RUN apk add --upgrade --no-cache build-base clang zlib-dev
76ARG BUILD_CONFIGURATION=Release
8- ARG BUILD_RUNTIME=linux-musl- x64
7+ ARG BUILD_RUNTIME=linux-x64
98ARG OPENAPI=false
109ARG VERSION=0.0.0
1110
@@ -35,9 +34,9 @@ RUN dotnet build "Helldivers-2-API.csproj" --no-restore -r $BUILD_RUNTIME -c $BU
3534
3635FROM build AS publish
3736ARG BUILD_CONFIGURATION=Release
38- ARG BUILD_RUNTIME=linux-musl- x64
37+ ARG BUILD_RUNTIME=linux-x64
3938ARG VERSION=0.0.0
40- RUN dotnet publish "Helldivers-2-API.csproj" /p:Version="$VERSION" --no-restore -- self-contained -r $BUILD_RUNTIME -c $BUILD_CONFIGURATION -o /app/publish
39+ RUN dotnet publish "Helldivers-2-API.csproj" /p:Version="$VERSION" --self-contained -r $BUILD_RUNTIME -c $BUILD_CONFIGURATION -o /app/publish
4140
4241FROM base AS final
4342WORKDIR /app
You can’t perform that action at this time.
0 commit comments