Skip to content

Commit b0665aa

Browse files
Retarget to .NET 10 and upgrade deps
1 parent cc08bd0 commit b0665aa

File tree

2 files changed

+10
-11
lines changed

2 files changed

+10
-11
lines changed

Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
1-
FROM --platform=${BUILDPLATFORM} mcr.microsoft.com/dotnet/sdk:9.0-alpine AS build-env
1+
FROM --platform=${BUILDPLATFORM} mcr.microsoft.com/dotnet/sdk:10.0-alpine AS build-env
22
WORKDIR /app
33
COPY *.csproj ./
44
RUN dotnet restore
55
COPY . ./
66
RUN dotnet build -c Release -o out
7-
FROM mcr.microsoft.com/dotnet/runtime:9.0-alpine
7+
FROM mcr.microsoft.com/dotnet/runtime:10.0-alpine
88
LABEL com.centurylinklabs.watchtower.enable="true"
99
WORKDIR /app
1010
COPY --from=build-env /app/out .

MechanicalMilkshake.csproj

Lines changed: 8 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -2,20 +2,19 @@
22

33
<PropertyGroup>
44
<OutputType>Exe</OutputType>
5-
<TargetFramework>net9.0</TargetFramework>
5+
<TargetFramework>net10.0</TargetFramework>
66
<InvariantGlobalization>false</InvariantGlobalization>
77
</PropertyGroup>
88

99
<ItemGroup>
1010
<PackageReference Include="Abyssal.HumanDateParser" Version="2.0.0-20191113.1" />
11-
<PackageReference Include="DSharpPlus" Version="5.0.0-nightly-02573" />
12-
<PackageReference Include="DSharpPlus.Commands" Version="5.0.0-nightly-02573" />
13-
<PackageReference Include="DSharpPlus.Interactivity" Version="5.0.0-nightly-02573" />
14-
<PackageReference Include="Humanizer.Core" Version="3.0.0-beta.54" />
15-
<PackageReference Include="Microsoft.CodeAnalysis.CSharp" Version="4.12.0-2.final" />
16-
<PackageReference Include="Microsoft.CodeAnalysis.CSharp.Scripting" Version="4.12.0-2.final" />
17-
<PackageReference Include="StackExchange.Redis" Version="2.8.16" />
18-
<PackageReference Include="System.Linq.Async" Version="6.0.1" />
11+
<PackageReference Include="DSharpPlus" Version="5.0.0-nightly-02575" />
12+
<PackageReference Include="DSharpPlus.Commands" Version="5.0.0-nightly-02575" />
13+
<PackageReference Include="DSharpPlus.Interactivity" Version="5.0.0-nightly-02575" />
14+
<PackageReference Include="Humanizer.Core" Version="3.0.10" />
15+
<PackageReference Include="Microsoft.CodeAnalysis.CSharp" Version="5.3.0" />
16+
<PackageReference Include="Microsoft.CodeAnalysis.CSharp.Scripting" Version="5.3.0" />
17+
<PackageReference Include="StackExchange.Redis" Version="2.11.8" />
1918
</ItemGroup>
2019

2120
<ItemGroup>

0 commit comments

Comments
 (0)