From 08e518c340b8240b930592a8fe5cc281f3508825 Mon Sep 17 00:00:00 2001 From: Jeff Leung Date: Tue, 27 Feb 2024 20:27:46 -0800 Subject: [PATCH] Remove reference to musl x64 as this was breaking multiarch builds --- AS1024.GeoFeed.MinimalAPI/Dockerfile.bare-image | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/AS1024.GeoFeed.MinimalAPI/Dockerfile.bare-image b/AS1024.GeoFeed.MinimalAPI/Dockerfile.bare-image index b218b4d..3409c40 100644 --- a/AS1024.GeoFeed.MinimalAPI/Dockerfile.bare-image +++ b/AS1024.GeoFeed.MinimalAPI/Dockerfile.bare-image @@ -13,7 +13,7 @@ RUN dotnet build "./AS1024.GeoFeed.MinimalAPI.csproj" -c $BUILD_CONFIGURATION -o FROM build AS publish ARG BUILD_CONFIGURATION=Release -RUN dotnet publish "./AS1024.GeoFeed.MinimalAPI.csproj" -c $BUILD_CONFIGURATION -o /app/publish -r linux-musl-x64 /p:StaticOpenSslLinking=true /p:StaticExecutable=true /p:StaticallyLinked=true /p:StripSymbols=true /p:DebugType=None /p:DebugSymbols=false +RUN dotnet publish "./AS1024.GeoFeed.MinimalAPI.csproj" -c $BUILD_CONFIGURATION -o /app/publish /p:StaticOpenSslLinking=true /p:StaticExecutable=true /p:StaticallyLinked=true /p:StripSymbols=true /p:DebugType=None /p:DebugSymbols=false FROM scratch AS final WORKDIR /tmp @@ -21,4 +21,4 @@ WORKDIR /app EXPOSE 8080 COPY --from=publish /app/publish . COPY --from=build /etc/ssl/certs/* /etc/ssl/certs/ -ENTRYPOINT ["./AS1024.GeoFeed.MinimalAPI"] \ No newline at end of file +ENTRYPOINT ["./AS1024.GeoFeed.MinimalAPI"]