Skip to content

Commit

Permalink
Upgrade to .NET 7
Browse files Browse the repository at this point in the history
  • Loading branch information
ErikSchierboom committed Aug 13, 2023
1 parent 247f29b commit 522aa2a
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 63 deletions.
6 changes: 3 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM mcr.microsoft.com/dotnet/sdk:6.0.401-alpine3.16-amd64 AS build
FROM mcr.microsoft.com/dotnet/sdk:7.0.306-alpine3.18-amd64 AS build
WORKDIR /app

# Copy fsproj and restore as distinct layers
Expand All @@ -7,10 +7,10 @@ RUN dotnet restore -r linux-musl-x64

# Copy everything else and build
COPY src/Exercism.Representers.FSharp/ ./
RUN dotnet publish -r linux-musl-x64 -c Release -o /opt/representer --no-restore
RUN dotnet publish -r linux-musl-x64 -c Release -o /opt/analyzer --no-restore --self-contained true

# Build runtime image
FROM mcr.microsoft.com/dotnet/runtime-deps:6.0.9-alpine3.16-amd64
FROM mcr.microsoft.com/dotnet/runtime-deps:7.0.9-alpine3.18-amd64 AS runtime
WORKDIR /opt/representer

COPY --from=build /opt/representer/ .
Expand Down

This file was deleted.

38 changes: 0 additions & 38 deletions src/Exercism.Representers.FSharp.Bulk/Program.fs

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

<PropertyGroup>
<OutputType>Exe</OutputType>
<TargetFramework>net6.0</TargetFramework>
<TargetFramework>net7.0</TargetFramework>
</PropertyGroup>

<ItemGroup>
Expand Down

0 comments on commit 522aa2a

Please sign in to comment.