Skip to content

Commit

Permalink
Rollforward tool to latest release of runtime
Browse files Browse the repository at this point in the history
  • Loading branch information
kant2002 committed Dec 5, 2024
1 parent a3af6b0 commit b38fd4b
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 0 deletions.
13 changes: 13 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
FROM mcr.microsoft.com/dotnet/sdk:8.0
WORKDIR /App

# Copy everything
COPY . ./
# Restore as distinct layers
RUN dotnet restore
# Build and publish a release
RUN dotnet pack FSharpPacker.FSharp -c Release
RUN dotnet tool install FSharpPacker --global --add-source FSharpPacker.FSharp/bin/Release/
ENV PATH "$PATH:/root/.dotnet/tools"

ENTRYPOINT ["/bin/bash"]
1 change: 1 addition & 0 deletions FSharpPacker.FSharp/FSharpPacker.FSharp.fsproj
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
<PackageId>FSharpPacker</PackageId>
<PackageReadmeFile>README.md</PackageReadmeFile>
<PackageLicenseExpression>MIT</PackageLicenseExpression>
<RollForward>LatestMajor</RollForward>
</PropertyGroup>

<ItemGroup>
Expand Down

0 comments on commit b38fd4b

Please sign in to comment.