mirror of
https://ops.gitlab.net/gitlab-org/gitlab-build-images.git
synced 2025-12-09 10:02:56 +01:00
Add locales to omnibus images.
This commit is contained in:
parent
51a645fd67
commit
b19c8abae4
7 changed files with 43 additions and 5 deletions
|
|
@ -1,9 +1,16 @@
|
|||
FROM debian:stretch
|
||||
|
||||
RUN apt-get update -q \
|
||||
&& apt-get install -y gcc git make curl zlib1g-dev libssl1.0-dev \
|
||||
&& apt-get install -y gcc git make curl zlib1g-dev libssl1.0-dev locales \
|
||||
&& rm -rf /var/lib/apt/lists/*
|
||||
|
||||
RUN echo "en_US.UTF-8 UTF-8" > /etc/locale.gen
|
||||
RUN locale-gen en_US.UTF-8
|
||||
ENV LANG en_US.UTF-8
|
||||
ENV LANGUAGE en_US:en
|
||||
ENV LC_ALL en_US.UTF-8
|
||||
|
||||
|
||||
ENV RUBY_VERSION 2.3.3
|
||||
RUN curl -fsSL "https://cache.ruby-lang.org/pub/ruby/2.3/ruby-${RUBY_VERSION}.tar.gz" \
|
||||
| tar -xzC /tmp \
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue