diff --git a/src/Dapr/AdminPanel.Host/Dockerfile b/src/Dapr/AdminPanel.Host/Dockerfile index c5b639231b..29e0d1c2f2 100644 --- a/src/Dapr/AdminPanel.Host/Dockerfile +++ b/src/Dapr/AdminPanel.Host/Dockerfile @@ -3,7 +3,8 @@ WORKDIR /app # OpenMU uses localized texts, which require the culture data of ICU. # The alpine images don't contain it and run in the globalization-invariant mode by default. -RUN apk add --no-cache icu-libs +# tzdata provides the IANA time zones (e.g. Europe/Berlin), which the alpine images don't contain either. +RUN apk add --no-cache icu-libs tzdata ENV DOTNET_SYSTEM_GLOBALIZATION_INVARIANT=false EXPOSE 8080 diff --git a/src/Dapr/CentralServer.Host/Dockerfile b/src/Dapr/CentralServer.Host/Dockerfile index 1f5575480a..bb38108ffe 100644 --- a/src/Dapr/CentralServer.Host/Dockerfile +++ b/src/Dapr/CentralServer.Host/Dockerfile @@ -3,7 +3,8 @@ WORKDIR /app # OpenMU uses localized texts, which require the culture data of ICU. # The alpine images don't contain it and run in the globalization-invariant mode by default. -RUN apk add --no-cache icu-libs +# tzdata provides the IANA time zones (e.g. Europe/Berlin), which the alpine images don't contain either. +RUN apk add --no-cache icu-libs tzdata ENV DOTNET_SYSTEM_GLOBALIZATION_INVARIANT=false EXPOSE 8080 EXPOSE 44405 diff --git a/src/Dapr/GameServer.Host/Dockerfile b/src/Dapr/GameServer.Host/Dockerfile index baa9468e9e..63581e6f25 100644 --- a/src/Dapr/GameServer.Host/Dockerfile +++ b/src/Dapr/GameServer.Host/Dockerfile @@ -3,7 +3,8 @@ WORKDIR /app # OpenMU uses localized texts, which require the culture data of ICU. # The alpine images don't contain it and run in the globalization-invariant mode by default. -RUN apk add --no-cache icu-libs +# tzdata provides the IANA time zones (e.g. Europe/Berlin), which the alpine images don't contain either. +RUN apk add --no-cache icu-libs tzdata ENV DOTNET_SYSTEM_GLOBALIZATION_INVARIANT=false EXPOSE 8080 diff --git a/src/Startup/Dockerfile b/src/Startup/Dockerfile index 2f97505258..f58fe76da9 100644 --- a/src/Startup/Dockerfile +++ b/src/Startup/Dockerfile @@ -1,7 +1,8 @@ FROM mcr.microsoft.com/dotnet/aspnet:10.0-alpine AS base WORKDIR /app -RUN apk add --no-cache icu-libs +# tzdata provides the IANA time zones (e.g. America/Argentina/Buenos_Aires) for the server time zone setting. +RUN apk add --no-cache icu-libs tzdata ENV DOTNET_SYSTEM_GLOBALIZATION_INVARIANT=false EXPOSE 8080