Skip to content

Commit

Permalink
Remove .net 6 workaround and fix arm builds
Browse files Browse the repository at this point in the history
  • Loading branch information
peppy committed Nov 12, 2024
1 parent 3acfd2d commit 74ebe3b
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions osu.ElasticIndexer/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM mcr.microsoft.com/dotnet/sdk:8.0 AS build-env
FROM --platform=$BUILDPLATFORM mcr.microsoft.com/dotnet/sdk:8.0 AS build-env
WORKDIR /app

# Copy csproj and restore as distinct layers
@@ -17,5 +17,4 @@ WORKDIR /app
COPY --from=build-env /app/out .
COPY docker docker

# see https://github.com/dotnet/runtime/issues/66707 for issue handling signals on arm64
ENTRYPOINT ["/app/docker/wait_term.sh", "osu.ElasticIndexer.dll"]
ENTRYPOINT ["dotnet", "osu.ElasticIndexer.dll"]

0 comments on commit 74ebe3b

Please sign in to comment.