From 4c4d1d657e2befb7bda2a0e2412159a74858dd12 Mon Sep 17 00:00:00 2001 From: Tudor Stanciu Date: Sat, 21 Jan 2023 18:03:05 +0200 Subject: [PATCH] .NET 6 upgrade --- Directory.Build.props | 2 +- src/GoDaddyDDNS/Dockerfile | 4 ++-- src/GoDaddyDDNS/GoDaddyDDNS.csproj | 10 +++++----- 3 files changed, 8 insertions(+), 8 deletions(-) diff --git a/Directory.Build.props b/Directory.Build.props index 778376a..0c6ec45 100644 --- a/Directory.Build.props +++ b/Directory.Build.props @@ -1,6 +1,6 @@ - 1.0.1 + 1.0.2 Tudor Stanciu STA GoDaddyDDNS diff --git a/src/GoDaddyDDNS/Dockerfile b/src/GoDaddyDDNS/Dockerfile index 2069697..3974c8f 100644 --- a/src/GoDaddyDDNS/Dockerfile +++ b/src/GoDaddyDDNS/Dockerfile @@ -1,9 +1,9 @@ #See https://aka.ms/containerfastmode to understand how Visual Studio uses this Dockerfile to build your images for faster debugging. -FROM mcr.microsoft.com/dotnet/runtime:5.0 AS base +FROM mcr.microsoft.com/dotnet/runtime:6.0 AS base WORKDIR /app -FROM mcr.microsoft.com/dotnet/sdk:5.0 AS build +FROM mcr.microsoft.com/dotnet/sdk:6.0 AS build WORKDIR /workspace COPY Directory.Build.props . COPY ["src/GoDaddyDDNS/GoDaddyDDNS.csproj", "src/GoDaddyDDNS/"] diff --git a/src/GoDaddyDDNS/GoDaddyDDNS.csproj b/src/GoDaddyDDNS/GoDaddyDDNS.csproj index 869757f..8149f29 100644 --- a/src/GoDaddyDDNS/GoDaddyDDNS.csproj +++ b/src/GoDaddyDDNS/GoDaddyDDNS.csproj @@ -1,16 +1,16 @@ - + - net5.0 + net6.0 dotnet-GoDaddyDDNS-FB6B86D1-EE02-4695-9CFC-3552E66F6B4F Linux ..\.. - - - + + +