From 97787c67c09e1e8372dd9f468fad870db5a4a05b Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Tue, 24 Oct 2023 12:50:55 +0000 Subject: [PATCH] Update dotnet monorepo to v7 --- Dockerfile | 4 ++-- TramsDataApi.Test/TramsDataApi.Test.csproj | 2 +- TramsDataApi/TramsDataApi.csproj | 10 +++++----- 3 files changed, 8 insertions(+), 8 deletions(-) diff --git a/Dockerfile b/Dockerfile index a5a22cd4e..618372a67 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM mcr.microsoft.com/dotnet/sdk:6.0-bullseye-slim AS build +FROM mcr.microsoft.com/dotnet/sdk:7.0-bullseye-slim AS build WORKDIR /build ENV DEBIAN_FRONTEND=noninteractive @@ -23,7 +23,7 @@ RUN dotnet build -c Release TramsDataApi.sln --no-restore RUN dotnet publish TramsDataApi -c Release -o /app --no-restore ARG ASPNET_IMAGE_TAG -FROM mcr.microsoft.com/dotnet/aspnet:6.0.9-bullseye-slim AS final +FROM mcr.microsoft.com/dotnet/aspnet:7.0.12-bullseye-slim AS final RUN apt-get update RUN apt-get install unixodbc curl gnupg -y diff --git a/TramsDataApi.Test/TramsDataApi.Test.csproj b/TramsDataApi.Test/TramsDataApi.Test.csproj index ea46281e0..5ea7ebbb8 100644 --- a/TramsDataApi.Test/TramsDataApi.Test.csproj +++ b/TramsDataApi.Test/TramsDataApi.Test.csproj @@ -17,7 +17,7 @@ - + diff --git a/TramsDataApi/TramsDataApi.csproj b/TramsDataApi/TramsDataApi.csproj index 991fcfe80..7998a9451 100644 --- a/TramsDataApi/TramsDataApi.csproj +++ b/TramsDataApi/TramsDataApi.csproj @@ -9,17 +9,17 @@ - - + + - - + + all runtime; build; native; contentfiles; analyzers; buildtransitive - +