From c875f8f4f01817c6663542482c64576021afd52e Mon Sep 17 00:00:00 2001 From: Tyrrrz <1935960+Tyrrrz@users.noreply.github.com> Date: Sat, 11 Nov 2023 16:27:17 +0200 Subject: [PATCH] Install ICU libs in Docker --- DiscordChatExporter.Cli.dockerfile | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/DiscordChatExporter.Cli.dockerfile b/DiscordChatExporter.Cli.dockerfile index 2de9211..edd8e78 100644 --- a/DiscordChatExporter.Cli.dockerfile +++ b/DiscordChatExporter.Cli.dockerfile @@ -35,6 +35,10 @@ LABEL org.opencontainers.image.url="https://github.com/Tyrrrz/DiscordChatExporte LABEL org.opencontainers.image.source="https://github.com/Tyrrrz/DiscordChatExporter/blob/master/DiscordChatExporter.Cli.dockerfile" LABEL org.opencontainers.image.licenses="MIT" +# Alpine image doesn't come with the ICU libraries pre-installed, so we need to install them manually +RUN apk add --no-cache icu-libs +ENV DOTNET_SYSTEM_GLOBALIZATION_INVARIANT=false + # Create a non-root user to run the app, so that the output files can be accessed by the host # https://github.com/Tyrrrz/DiscordChatExporter/issues/851 RUN adduser --disabled-password --no-create-home dce