docker: set locale to en_US.utf-8

This commit is contained in:
bigeagle 2017-01-09 22:33:40 +08:00
parent a5f8abf769
commit ec9eed3a26

View File

@ -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