Skip to content

Commit

Permalink
Updated dotnet tools version to 8.0.8 in the dockerfiles (#597)
Browse files Browse the repository at this point in the history
Co-authored-by: Farshad DASHTI <[email protected]>
  • Loading branch information
FrostyApeOne and Farshad DASHTI authored Sep 4, 2024
1 parent 2c040c3 commit e64e181
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ RUN touch /app/SQL/DbMigrationScript.sql
RUN --mount=type=secret,id=github_token dotnet nuget add source --username USERNAME --password $(cat /run/secrets/github_token) --store-password-in-clear-text --name github "https://nuget.pkg.github.com/DFE-Digital/index.json"
RUN dotnet restore TramsDataApi.sln
RUN dotnet new tool-manifest
RUN dotnet tool install dotnet-ef --version 8.0.7
RUN dotnet tool install dotnet-ef --version 8.0.8
ENV PATH="$PATH:/root/.dotnet/tools"

RUN dotnet ef migrations script --output /app/SQL/DbMigrationScriptLegacy.sql --project TramsDataApi --context TramsDataApi.DatabaseModels.LegacyTramsDbContext --idempotent -v
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile.PersonsApi
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ RUN dotnet build -c Release PersonsApi -p:CI=${CI}
RUN dotnet publish PersonsApi -c Release -o /app --no-restore

RUN dotnet new tool-manifest
RUN dotnet tool install dotnet-ef --version 8.0.7
RUN dotnet tool install dotnet-ef --version 8.0.8
ENV PATH="$PATH:/root/.dotnet/tools"

ARG ASPNET_IMAGE_TAG
Expand Down

0 comments on commit e64e181

Please sign in to comment.