Generate UTF-8 locales and set ENV

http://jaredmarkell.com/docker-and-locales/
This commit is contained in:
Achilleas Pipinellis 2016-09-01 00:52:04 +02:00
parent 66c1a55f98
commit 5d15c62821
5 changed files with 43 additions and 9 deletions

View file

@ -1,8 +1,14 @@
FROM ruby:2.1
ENV PACKAGES="git-core" \
LC_ALL=en_US.UTF-8
ENV PACKAGES="git-core"
ADD / /
RUN /scripts/install-essentials
# Set UTF-8 http://jaredmarkell.com/docker-and-locales/
# Must be set after install-essentials is run
ENV LANG en_US.UTF-8
ENV LANGUAGE en_US:en
ENV LC_ALL en_US.UTF-8
RUN /scripts/install-phantomjs