Skip to content

Commit

Permalink
Merge pull request #61 from maxcarl/master
Browse files Browse the repository at this point in the history
Upgrade .net, nuget and docker image
  • Loading branch information
nefarius authored Jul 6, 2024
2 parents 6d916e1 + e34c167 commit 64544ac
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 24 deletions.
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
#See https://aka.ms/customizecontainer to learn how to customize your debug container and how Visual Studio uses this Dockerfile to build your images for faster debugging.

FROM mcr.microsoft.com/dotnet/runtime:7.0 AS base
FROM mcr.microsoft.com/dotnet/runtime:8.0 AS base
WORKDIR /app

FROM mcr.microsoft.com/dotnet/sdk:7.0 AS build
FROM mcr.microsoft.com/dotnet/sdk:8.0 AS build
WORKDIR /src
COPY ["GotifySmtpForwarder/GotifySmtpForwarder.csproj", "GotifySmtpForwarder/"]
COPY ["nuget.config", "GotifySmtpForwarder/"]
Expand Down
41 changes: 19 additions & 22 deletions GotifySmtpForwarder/GotifySmtpForwarder.csproj
Original file line number Diff line number Diff line change
@@ -1,23 +1,20 @@
<Project Sdk="Microsoft.NET.Sdk.Worker">

<PropertyGroup>
<TargetFramework>net7.0</TargetFramework>
<Nullable>enable</Nullable>
<ImplicitUsings>enable</ImplicitUsings>
<UserSecretsId>dotnet-GotifySmtpForwarder-45fdd520-f73c-40a6-8317-b52c9388f0bc</UserSecretsId>
<DockerDefaultTargetOS>Linux</DockerDefaultTargetOS>
</PropertyGroup>

<ItemGroup>
<PackageReference Include="HtmlSanitizer" Version="8.0.865"/>
<PackageReference Include="MailKit" Version="4.6.0"/>
<PackageReference Include="Microsoft.Extensions.Hosting" Version="8.0.0"/>
<PackageReference Include="Microsoft.Extensions.Http.Polly" Version="8.0.6"/>
<PackageReference Include="Microsoft.VisualStudio.Azure.Containers.Tools.Targets" Version="1.21.0"/>
<PackageReference Include="MimeKit" Version="4.7.0"/>
<PackageReference Include="Polly.Contrib.WaitAndRetry" Version="1.1.1"/>
<PackageReference Include="Refit.HttpClientFactory" Version="7.1.2"/>
<PackageReference Include="ReverseMarkdown" Version="4.6.0"/>
<PackageReference Include="SmtpServer" Version="10.0.1"/>
</ItemGroup>
</Project>
<PropertyGroup>
<TargetFramework>net8.0</TargetFramework>
<Nullable>enable</Nullable>
<ImplicitUsings>enable</ImplicitUsings>
<UserSecretsId>dotnet-GotifySmtpForwarder-45fdd520-f73c-40a6-8317-b52c9388f0bc</UserSecretsId>
<DockerDefaultTargetOS>Linux</DockerDefaultTargetOS>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="HtmlSanitizer" Version="8.0.865" />
<PackageReference Include="MailKit" Version="4.7.0" />
<PackageReference Include="MimeKit" Version="4.7.0" />
<PackageReference Include="Polly.Contrib.WaitAndRetry" Version="1.1.1" />
<PackageReference Include="Refit.HttpClientFactory" Version="7.1.2" />
<PackageReference Include="ReverseMarkdown" Version="4.6.0" />
<PackageReference Include="SmtpServer" Version="10.0.1" />
<PackageReference Include="Microsoft.Extensions.Hosting" Version="8.0.0" />
<PackageReference Include="Microsoft.Extensions.Http.Polly" Version="8.0.6" />
</ItemGroup>
</Project>

0 comments on commit 64544ac

Please sign in to comment.