From a2b815022549604d30cd201b4a380ee0ce851c50 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Elias=20H=C3=B6rner?= Date: Sat, 14 Feb 2026 21:58:13 +0100 Subject: [PATCH] Fix --- docker/turnierplan-amd64/Dockerfile | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/docker/turnierplan-amd64/Dockerfile b/docker/turnierplan-amd64/Dockerfile index 0177b991..ce6adcd8 100644 --- a/docker/turnierplan-amd64/Dockerfile +++ b/docker/turnierplan-amd64/Dockerfile @@ -21,10 +21,11 @@ RUN dotnet publish "./Turnierplan.App.csproj" -c Release --runtime linux-x64 -o FROM base AS final # Install some packages: -# - 'gcompat' to run QuestPDF dependencies on Alpine Linux -# - 'krb5-libs' to enable Npgsql GSS session encryption -# - 'tzdata' contains relevant time zone information -RUN apk add gcompat krb5-libs tzdata +# - 'gcompat' to run QuestPDF dependencies on Alpine Linux +# - 'icu-libs' & 'icu-data-full' contains relevant localization data +# - 'krb5-libs' to enable Npgsql GSS session encryption +# - 'tzdata' contains relevant time zone information +RUN apk add gcompat icu-libs icu-data-full krb5-libs tzdata # Prepare the directory used by the turnierplan.NET application RUN mkdir "$DATA_DIRECTORY" && chown "$APP_UID" "$DATA_DIRECTORY" @@ -41,5 +42,8 @@ COPY --from=publish /app/publish . ENV Identity__StoragePath=$DATA_DIRECTORY/identity ENV ImageStorage__StoragePath=$DATA_DIRECTORY/images +# Tells dotnet to use the previously installed localization data +ENV DOTNET_SYSTEM_GLOBALIZATION_INVARIANT=false + # Entrypoint is the DLL of the Turnierplan.App project ENTRYPOINT ["dotnet", "Turnierplan.App.dll"]