mirror of
https://ops.gitlab.net/gitlab-org/gitlab-build-images.git
synced 2025-12-09 18:12:55 +01:00
Generate UTF-8 locales and set ENV
http://jaredmarkell.com/docker-and-locales/
This commit is contained in:
parent
66c1a55f98
commit
5d15c62821
5 changed files with 43 additions and 9 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue