From ec9eed3a26551924258bc267d6421ba67b8b5b8f Mon Sep 17 00:00:00 2001 From: bigeagle Date: Mon, 9 Jan 2017 22:33:40 +0800 Subject: [PATCH] docker: set locale to en_US.utf-8 --- Dockerfile | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Dockerfile b/Dockerfile index 9ee4c47..1c684de 100644 --- a/Dockerfile +++ b/Dockerfile @@ -17,5 +17,10 @@ ADD https://storage.googleapis.com/git-repo-downloads/repo /usr/local/bin/aosp-r RUN chmod a+x /usr/local/bin/aosp-repo RUN apt-get install -y python3-lxml && pip3 install pyquery +RUN echo "en_US.UTF-8 UTF-8" > /etc/locale.gen && apt-get install -y locales -qq && locale-gen +ENV LANG=en_US.UTF-8 +ENV LANGUAGE=en_US.UTF-8 +ENV LC_ALL=en_US.UTF-8 + ENV HOME=/tmp CMD /bin/bash