From 604b565c948827469a01f9228f12eb3c3c1083a0 Mon Sep 17 00:00:00 2001 From: Josh Matthews Date: Tue, 9 Jun 2020 16:48:25 -0400 Subject: [PATCH] Set docker image locale to UTF-8. --- etc/taskcluster/docker/base.dockerfile | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/etc/taskcluster/docker/base.dockerfile b/etc/taskcluster/docker/base.dockerfile index 96cc7efecc3..2598bb65d24 100644 --- a/etc/taskcluster/docker/base.dockerfile +++ b/etc/taskcluster/docker/base.dockerfile @@ -4,7 +4,10 @@ ENV \ # # Some APT packages like 'tzdata' wait for user input on install by default. # https://stackoverflow.com/questions/44331836/apt-get-install-tzdata-noninteractive - DEBIAN_FRONTEND=noninteractive + DEBIAN_FRONTEND=noninteractive \ + LANG=C.UTF-8 \ + LANGUAGE=C.UTF-8 \ + LC_ALL=C.UTF-8 RUN \ apt-get update -q && \ @@ -30,5 +33,8 @@ RUN \ gcc \ # # Installing rustup and sccache (build dockerfile) or fetching build artifacts (run tasks) - curl + curl \ + # Setting the default locale + locales \ + locales-all