| hashar added a comment. |
docker-registry.wikimedia.org/wikimedia-stretch:latest does not have locale config:
docker run --entrypoint=/usr/bin/locale docker-registry.wikimedia.org/wikimedia-stretch:latest
LANG= LANGUAGE= LC_CTYPE="POSIX" LC_NUMERIC="POSIX" LC_TIME="POSIX" LC_COLLATE="POSIX" LC_MONETARY="POSIX" LC_MESSAGES="POSIX" LC_PAPER="POSIX" LC_NAME="POSIX" LC_ADDRESS="POSIX" LC_TELEPHONE="POSIX" LC_MEASUREMENT="POSIX" LC_IDENTIFICATION="POSIX" LC_ALL=
For CI we have our own base containers based on that one, eg docker-registry.wikimedia.org/releng/ci-stretch which does:
Dockerfile.template# Locale generation, auto generated by installing 'locales' RUN echo "en_US.UTF-8 UTF-8" > /etc/locale.gen \ && {{ "ca-certificates git locales" | apt_install }} \ && install --directory --mode 777 "${XDG_CACHE_HOME}" /log /src ENV LANG='en_US.UTF-8' LANGUAGE='en_US:en' LC_ALL='en_US.UTF-8'So yeah you need a locale.gen and install the locales package then set LC_ALL which should be sufficient.
TASK DETAIL
EMAIL PREFERENCES
To: hashar
Cc: hashar, akosiaris, Aklapper, Ladsgroup, Nandana, Lahi, Gq86, Vacio, GoranSMilovanovic, QZanden, Gstupp, LawExplorer, _jensen, D3r1ck01, notconfusing, thcipriani, mobrovac, Wikidata-bugs, aude, dduvall, Alchimista, Addshore, Mbch331, Jay8g, greg
Cc: hashar, akosiaris, Aklapper, Ladsgroup, Nandana, Lahi, Gq86, Vacio, GoranSMilovanovic, QZanden, Gstupp, LawExplorer, _jensen, D3r1ck01, notconfusing, thcipriani, mobrovac, Wikidata-bugs, aude, dduvall, Alchimista, Addshore, Mbch331, Jay8g, greg
_______________________________________________ Wikidata-bugs mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs
