diff --git a/Core/Core.csproj b/Core/Core.csproj index 1931408..491a28a 100644 --- a/Core/Core.csproj +++ b/Core/Core.csproj @@ -1,7 +1,7 @@  - net6.0 + net8.0 TelegramBot Kruzya.TelegramBot.Core @@ -9,13 +9,13 @@ - + all runtime; build; native; contentfiles; analyzers; buildtransitive - - - + + + diff --git a/Dockerfile b/Dockerfile index 9e9a18e..5f16d55 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,5 +1,5 @@ # Build a project -FROM mcr.microsoft.com/dotnet/sdk:6.0.404-alpine3.17 AS build +FROM mcr.microsoft.com/dotnet/sdk:8.0-alpine AS build WORKDIR /source # Copy project and perform restoring @@ -29,7 +29,7 @@ RUN dotnet publish -c release -o /app --no-restore Kruzya.TelegramBot.sln && \ rm -f /app/TelegramBot.*.dll /app/TelegramBot.*.pdb # Now reuse image with only runtime -FROM mcr.microsoft.com/dotnet/aspnet:6.0.12-alpine3.17 +FROM mcr.microsoft.com/dotnet/aspnet:8.0-alpine WORKDIR /user COPY --from=build /app /app diff --git a/modules/ChatManagement/ChatManagement.csproj b/modules/ChatManagement/ChatManagement.csproj index ff72078..d5c1bc3 100644 --- a/modules/ChatManagement/ChatManagement.csproj +++ b/modules/ChatManagement/ChatManagement.csproj @@ -1,7 +1,7 @@ - net6.0 + net8.0 TelegramBot.ChatManagement West.TelegramBot.ChatManagement diff --git a/modules/ChatQuotes/ChatQuotes.csproj b/modules/ChatQuotes/ChatQuotes.csproj index 1a1653a..7dbc820 100644 --- a/modules/ChatQuotes/ChatQuotes.csproj +++ b/modules/ChatQuotes/ChatQuotes.csproj @@ -1,7 +1,7 @@  - net6.0 + net8.0 enable enable West.TelegramBot.ChatQuotes diff --git a/modules/CodeWatcher/CodeWatcher.csproj b/modules/CodeWatcher/CodeWatcher.csproj index d4176ad..6100d99 100644 --- a/modules/CodeWatcher/CodeWatcher.csproj +++ b/modules/CodeWatcher/CodeWatcher.csproj @@ -1,7 +1,7 @@ - net6.0 + net8.0 enable enable TelegramBot.CodeWatcher diff --git a/modules/CombotAntiSpam/CombotAntiSpam.csproj b/modules/CombotAntiSpam/CombotAntiSpam.csproj index e2f3e82..0f8eb7e 100644 --- a/modules/CombotAntiSpam/CombotAntiSpam.csproj +++ b/modules/CombotAntiSpam/CombotAntiSpam.csproj @@ -1,7 +1,7 @@ - net6.0 + net8.0 TelegramBot.CombotAntiSpam Kruzya.TelegramBot.CombotAntiSpam diff --git a/modules/ContentStore/ContentStore.csproj b/modules/ContentStore/ContentStore.csproj index c520860..08dd92c 100644 --- a/modules/ContentStore/ContentStore.csproj +++ b/modules/ContentStore/ContentStore.csproj @@ -1,7 +1,7 @@  - net6.0 + net8.0 enable enable TelegramBot.ContentStore diff --git a/modules/DebugTools/DebugTools.csproj b/modules/DebugTools/DebugTools.csproj index 763cd93..50eab9f 100644 --- a/modules/DebugTools/DebugTools.csproj +++ b/modules/DebugTools/DebugTools.csproj @@ -1,7 +1,7 @@ - net6.0 + net8.0 enable enable TelegramBot.DebugTools diff --git a/modules/Destiny2.WhereIsXur/Destiny2.WhereIsXur.csproj b/modules/Destiny2.WhereIsXur/Destiny2.WhereIsXur.csproj index 1e8fa06..dcb29ac 100644 --- a/modules/Destiny2.WhereIsXur/Destiny2.WhereIsXur.csproj +++ b/modules/Destiny2.WhereIsXur/Destiny2.WhereIsXur.csproj @@ -1,7 +1,7 @@ - net6.0 + net8.0 TelegramBot.D2_WhereIsXur Kruzya.TelegramBot.Destiny2.WhereIsXur diff --git a/modules/Entertainment/Entertainment.csproj b/modules/Entertainment/Entertainment.csproj index 5a62490..bbd1a53 100644 --- a/modules/Entertainment/Entertainment.csproj +++ b/modules/Entertainment/Entertainment.csproj @@ -1,7 +1,7 @@ - net6.0 + net8.0 TelegramBot.Entertainment West.Entertainment diff --git a/modules/Reputation/Reputation.csproj b/modules/Reputation/Reputation.csproj index 28d1b18..9220b7d 100644 --- a/modules/Reputation/Reputation.csproj +++ b/modules/Reputation/Reputation.csproj @@ -1,7 +1,7 @@  - net6.0 + net8.0 enable enable TelegramBot.Reputation diff --git a/modules/RichSiteSummary/RichSiteSummary.csproj b/modules/RichSiteSummary/RichSiteSummary.csproj index 7341b84..1adfa3e 100644 --- a/modules/RichSiteSummary/RichSiteSummary.csproj +++ b/modules/RichSiteSummary/RichSiteSummary.csproj @@ -1,7 +1,7 @@ - net6.0 + net8.0 TelegramBot.RichSiteSummary Kruzya.TelegramBot.RichSiteSummary @@ -13,6 +13,10 @@ + + + + diff --git a/modules/StickerTools/StickerTools.csproj b/modules/StickerTools/StickerTools.csproj index 867efcd..caa45e7 100644 --- a/modules/StickerTools/StickerTools.csproj +++ b/modules/StickerTools/StickerTools.csproj @@ -1,7 +1,7 @@  - net6.0 + net8.0 enable enable TelegramBot.StickerTools diff --git a/modules/UrlLimitations/UrlLimitations.csproj b/modules/UrlLimitations/UrlLimitations.csproj index 09c082d..4005c91 100644 --- a/modules/UrlLimitations/UrlLimitations.csproj +++ b/modules/UrlLimitations/UrlLimitations.csproj @@ -1,7 +1,7 @@ - net6.0 + net8.0 TelegramBot.UrlLimitations Kruzya.TelegramBot.UrlLimitations diff --git a/modules/UserGroupTag/UserGroupTag.csproj b/modules/UserGroupTag/UserGroupTag.csproj index 2c5932d..441321b 100644 --- a/modules/UserGroupTag/UserGroupTag.csproj +++ b/modules/UserGroupTag/UserGroupTag.csproj @@ -1,7 +1,7 @@ - net6.0 + net8.0 TelegramBot.UserGroupTag diff --git a/tests/Tests.csproj b/tests/Tests.csproj index d25df7c..d549f26 100644 --- a/tests/Tests.csproj +++ b/tests/Tests.csproj @@ -1,7 +1,7 @@ - net6.0 + net8.0 false