Skip to content
This repository was archived by the owner on Aug 28, 2025. It is now read-only.

Commit 506a282

Browse files
authored
Update Dockerfile to include timezone and culture information (#226)
```json "PdfGeneratorSettings": { "DisplayFooter": true } ``` requires globalisation and timezone info in docker images Altinn/app-lib-dotnet#792
1 parent 67294de commit 506a282

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/Dockerfile

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,10 @@ ENV ASPNETCORE_URLS=
2323
# -s --shell
2424
RUN addgroup -g 3000 dotnet && adduser -u 1000 -G dotnet -D -s /bin/false dotnet
2525

26+
# Add globalization timezone support
27+
RUN apk add --no-cache icu-libs tzdata
28+
ENV DOTNET_SYSTEM_GLOBALIZATION_INVARIANT=false
29+
2630
USER dotnet
2731
RUN mkdir /tmp/logtelemetry
2832

0 commit comments

Comments
 (0)