Add locales to omnibus images.

This commit is contained in:
Marin Jankovski 2017-06-30 12:56:15 +00:00
parent 51a645fd67
commit b19c8abae4
7 changed files with 43 additions and 5 deletions

View file

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