Skip to content

Commit

Permalink
Merge pull request #42 from AElfProject/feature/dotnet-8-sdk
Browse files Browse the repository at this point in the history
feat: allow dotnet 8 projects to be built
  • Loading branch information
yongenaelf authored Oct 21, 2024
2 parents da94f85 + 2346200 commit 1170e7a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,9 @@ FROM mcr.microsoft.com/dotnet/sdk:${DOTNET_6} AS base-env
# Set the working directory
WORKDIR /app

# Install .NET 7 Runtime alongside .NET 6 SDK
# Install .NET 7 Runtime and .NET 8 SDK alongside .NET 6 SDK
COPY --from=mcr.microsoft.com/dotnet/sdk:7.0 /usr/share/dotnet/shared /usr/share/dotnet/shared
COPY --from=mcr.microsoft.com/dotnet/sdk:8.0 /usr/share/dotnet /usr/share/dotnet

# Copy the project files
COPY out/ /app/
Expand Down

0 comments on commit 1170e7a

Please sign in to comment.