From 62fc7eb2f0f8629ee78d166d3ee95a354b0be92a Mon Sep 17 00:00:00 2001 From: Pierre-Olivier Mercier Date: Tue, 29 Aug 2023 13:04:25 +0200 Subject: [PATCH] Fix locales --- Dockerfile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 5e4c002..6d82e54 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,11 +1,13 @@ FROM alpine:3 +ENV MUSL_LOCPATH="/usr/share/i18n/locales/musl" + ENTRYPOINT ["python", "/srv/e-paper/main.py"] WORKDIR /srv/e-paper VOLUME /data -RUN apk add --no-cache python3 py3-cairosvg py3-pillow py3-pip py3-pygal tzdata && pip install --upgrade icalendar +RUN apk add --no-cache musl-locales musl-locales-lang python3 py3-cairosvg py3-pillow py3-pip py3-pygal tzdata && pip install --upgrade icalendar ADD https://github.com/adobe-fonts/source-sans/raw/release/OTF/SourceSans3-Bold.otf /usr/share/fonts/source-sans/SourceSans3-Bold.otf ADD https://github.com/adobe-fonts/source-sans/raw/release/OTF/SourceSans3-It.otf /usr/share/fonts/source-sans/SourceSans3-It.otf