From 4781e9fb63ff2b0313d73a70e14339531a8fc25b Mon Sep 17 00:00:00 2001
From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com>
Date: Tue, 12 Sep 2023 16:37:43 +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..aafbc8bc2 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.10-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..62539c240 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 e3abc3726..149fbd27c 100644
--- a/TramsDataApi/TramsDataApi.csproj
+++ b/TramsDataApi/TramsDataApi.csproj
@@ -8,17 +8,17 @@
-
-
+
+
-
-
+
+
all
runtime; build; native; contentfiles; analyzers; buildtransitive
-
+