aboutsummaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
authorJosh Matthews <josh@joshmatthews.net>2020-06-09 16:48:25 -0400
committerGitHub <noreply@github.com>2020-06-09 16:48:25 -0400
commit604b565c948827469a01f9228f12eb3c3c1083a0 (patch)
treee80d4f88a5367f0df140ec4dc7e201f684d3fcde /etc
parent2a42c14544107c05fa3b98b130f1e78ff5d58068 (diff)
downloadservo-604b565c948827469a01f9228f12eb3c3c1083a0.tar.gz
servo-604b565c948827469a01f9228f12eb3c3c1083a0.zip
Set docker image locale to UTF-8.
Diffstat (limited to 'etc')
-rw-r--r--etc/taskcluster/docker/base.dockerfile10
1 files 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