diff --git a/build/Jobs.Dockerfile b/build/Jobs.Dockerfile index 0f1692b..352053d 100644 --- a/build/Jobs.Dockerfile +++ b/build/Jobs.Dockerfile @@ -1,6 +1,6 @@ ARG BUILD_NUMBER -FROM mcr.microsoft.com/dotnet/sdk:6.0.300-alpine3.14-amd64 AS build +FROM mcr.microsoft.com/dotnet/sdk:7.0 AS build WORKDIR /app @@ -8,9 +8,9 @@ COPY ./src/Backend/ ./ WORKDIR /app/Geen.Jobs -RUN dotnet publish -c Release -o /app/out -r linux-musl-x64 --self-contained true /p:PublishReadyToRun=true /p:PublishSingleFile=true --packages packages +RUN dotnet publish -c Release -o /app/out -r linux-x64 --self-contained true /p:PublishReadyToRun=true /p:PublishSingleFile=true --packages packages -FROM mcr.microsoft.com/dotnet/runtime-deps:6.0.5-alpine3.14-amd64 AS runtime +FROM mcr.microsoft.com/dotnet/runtime-deps:7.0 AS runtime WORKDIR /app COPY --from=build /app/out . ENTRYPOINT ["./Geen.Jobs"] diff --git a/build/Web.Dockerfile b/build/Web.Dockerfile index a69455c..a63eda1 100644 --- a/build/Web.Dockerfile +++ b/build/Web.Dockerfile @@ -2,7 +2,7 @@ ARG BUILD_NUMBER FROM geen-frontend:$BUILD_NUMBER as frontend -FROM mcr.microsoft.com/dotnet/sdk:6.0.300-alpine3.14-amd64 AS build +FROM mcr.microsoft.com/dotnet/sdk:7.0 AS build WORKDIR /app @@ -12,9 +12,9 @@ WORKDIR /app/Geen.Web COPY --from=frontend /app/dist wwwroot -RUN dotnet publish -c Release -o /app/out -r linux-musl-x64 --self-contained true /p:PublishReadyToRun=true /p:PublishSingleFile=true --packages packages +RUN dotnet publish -c Release -o /app/out -r linux-x64 --self-contained true /p:PublishReadyToRun=true /p:PublishSingleFile=true --packages packages -FROM mcr.microsoft.com/dotnet/runtime-deps:6.0.5-alpine3.14-amd64 AS runtime +FROM mcr.microsoft.com/dotnet/runtime-deps:7.0 AS runtime WORKDIR /app COPY --from=build /app/out . ENTRYPOINT ["./Geen.Web"] diff --git a/src/Backend/Geen.Core/Geen.Core.csproj b/src/Backend/Geen.Core/Geen.Core.csproj index 4b0fd33..6fd6428 100644 --- a/src/Backend/Geen.Core/Geen.Core.csproj +++ b/src/Backend/Geen.Core/Geen.Core.csproj @@ -1,8 +1,8 @@  - net6.0 + net7.0 - + \ No newline at end of file diff --git a/src/Backend/Geen.Data/Geen.Data.csproj b/src/Backend/Geen.Data/Geen.Data.csproj index 6e933ba..96e5eda 100644 --- a/src/Backend/Geen.Data/Geen.Data.csproj +++ b/src/Backend/Geen.Data/Geen.Data.csproj @@ -1,14 +1,14 @@  - net6.0 + net7.0 - - - - - + + + + + diff --git a/src/Backend/Geen.Jobs/Geen.Jobs.csproj b/src/Backend/Geen.Jobs/Geen.Jobs.csproj index 22b5c12..8b9c9d4 100644 --- a/src/Backend/Geen.Jobs/Geen.Jobs.csproj +++ b/src/Backend/Geen.Jobs/Geen.Jobs.csproj @@ -2,7 +2,7 @@ Exe - net6.0 + net7.0 enable enable @@ -13,7 +13,7 @@ - + diff --git a/src/Backend/Geen.Web/Geen.Web.csproj b/src/Backend/Geen.Web/Geen.Web.csproj index b52a4f0..7a7ad9a 100644 --- a/src/Backend/Geen.Web/Geen.Web.csproj +++ b/src/Backend/Geen.Web/Geen.Web.csproj @@ -1,6 +1,6 @@  - net6.0 + net7.0