From 88c005c50e434bec4af4793e074700b68b381cf4 Mon Sep 17 00:00:00 2001 From: Kwoth Date: Fri, 20 Aug 2021 02:52:33 +0200 Subject: [PATCH] - Removed unneeded package - Fixed build not working on dotnet sdk older than 5.0.3xx, this was done by downgrading Microsoft.CodeAnalysis.CSharp to 3.8.0 --- CHANGELOG.md | 2 +- Dockerfile | 3 ++- src/NadekoBot.Generators/NadekoBot.Generators.csproj | 2 +- src/NadekoBot/NadekoBot.csproj | 1 - 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 4d085b180..939eeef15 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -17,7 +17,7 @@ Experimental changelog. Mostly based on [keepachangelog](https://keepachangelog. - todo: Reworked from source installation (linux/windows) guide - todo: Added docker support, installation guide at - Guides - - Now instruct users to set build output to nadekobot/output instead of running from nadekobot/src/NadekoBot +- Now instruct users to set build output to nadekobot/output instead of running from nadekobot/src/NadekoBot ### Fixed diff --git a/Dockerfile b/Dockerfile index b9725ef1f..518cf090f 100644 --- a/Dockerfile +++ b/Dockerfile @@ -9,10 +9,11 @@ RUN dotnet restore src/NadekoBot/ COPY . . WORKDIR /source/src/NadekoBot +RUN dotnet --version RUN dotnet publish -c Release -o /app --no-restore # final stage/image -FROM mcr.microsoft.com/dotnet/aspnet:5.0 +FROM mcr.microsoft.com/dotnet/runtime:5.0 ENV shard_id=0 ENV total_shards=1 WORKDIR /app diff --git a/src/NadekoBot.Generators/NadekoBot.Generators.csproj b/src/NadekoBot.Generators/NadekoBot.Generators.csproj index 9e89c01b8..5441287aa 100644 --- a/src/NadekoBot.Generators/NadekoBot.Generators.csproj +++ b/src/NadekoBot.Generators/NadekoBot.Generators.csproj @@ -6,7 +6,7 @@ - + diff --git a/src/NadekoBot/NadekoBot.csproj b/src/NadekoBot/NadekoBot.csproj index adc3ee751..e92ebbdcb 100644 --- a/src/NadekoBot/NadekoBot.csproj +++ b/src/NadekoBot/NadekoBot.csproj @@ -53,7 +53,6 @@ -