From e64e1819be55ecaa3cf9ea47bf407460173d4700 Mon Sep 17 00:00:00 2001 From: FrostyApeOne <78855469+FrostyApeOne@users.noreply.github.com> Date: Wed, 4 Sep 2024 13:45:39 +0100 Subject: [PATCH] Updated dotnet tools version to 8.0.8 in the dockerfiles (#597) Co-authored-by: Farshad DASHTI --- Dockerfile | 2 +- Dockerfile.PersonsApi | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 31a1feeac..3f295ed1b 100644 --- a/Dockerfile +++ b/Dockerfile @@ -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 diff --git a/Dockerfile.PersonsApi b/Dockerfile.PersonsApi index d525feb7d..751f94b8d 100644 --- a/Dockerfile.PersonsApi +++ b/Dockerfile.PersonsApi @@ -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