diff --git a/SaucyBot/Dockerfile b/SaucyBot/Dockerfile index 8ccf936..d3b2a5a 100644 --- a/SaucyBot/Dockerfile +++ b/SaucyBot/Dockerfile @@ -1,9 +1,9 @@ ARG CONFIGURATION=Release -FROM --platform=$BUILDPLATFORM mcr.microsoft.com/dotnet/runtime:8.0-alpine3.20@sha256:6981d441f1213c06278bd3217bde4ec4f3b6da4065033ec5a37158ea00e71740 AS base +FROM --platform=$BUILDPLATFORM mcr.microsoft.com/dotnet/runtime:9.0-alpine3.20@sha256:96dcd4ca34fb98132aa22cd30243590b4f65b7bd39e07db229afe3b6c0cbe407 AS base WORKDIR /app -FROM --platform=$BUILDPLATFORM mcr.microsoft.com/dotnet/sdk:8.0-alpine3.20@sha256:eca9cd7300e8d48de5b0866b2b5f8e087f79c2aca6e02e13d4c411141076cac7 AS build +FROM --platform=$BUILDPLATFORM mcr.microsoft.com/dotnet/sdk:9.0-alpine3.20@sha256:53b1a50ed48f3f8a465c26d26b152ea27a90e37a5756b1da85da9fdd20c32216 AS build WORKDIR /src COPY ["SaucyBot.csproj", "SaucyBot/"] RUN dotnet restore "SaucyBot/SaucyBot.csproj" -a "${TARGETARCH}" diff --git a/SaucyBot/SaucyBot.csproj b/SaucyBot/SaucyBot.csproj index 4ed8cab..7e1bdf3 100644 --- a/SaucyBot/SaucyBot.csproj +++ b/SaucyBot/SaucyBot.csproj @@ -21,19 +21,19 @@ - - + + all runtime; build; native; contentfiles; analyzers; buildtransitive - - + + all runtime; build; native; contentfiles; analyzers; buildtransitive - - - + + + diff --git a/global.json b/global.json index 88f49d7..5913c02 100644 --- a/global.json +++ b/global.json @@ -1,6 +1,6 @@ { "sdk": { - "version": "8.0.406", + "version": "9.0.200", "rollForward": "latestMajor", "allowPrerelease": false }