Skip to content
This repository has been archived by the owner on Jan 25, 2023. It is now read-only.

Commit

Permalink
Ensure language env vars are set for everything
Browse files Browse the repository at this point in the history
  • Loading branch information
brycekahle committed Feb 13, 2018
1 parent 3d923ad commit 97ea99b
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions Dockerfile
Expand Up @@ -8,6 +8,10 @@ MAINTAINER Netlify
#
################################################################################

ENV LANGUAGE en_US:en
ENV LANG en_US.UTF-8
ENV LC_ALL en_US.UTF-8

# language export needed for ondrej/php PPA https://github.com/oerdnj/deb.sury.org/issues/56
RUN export DEBIAN_FRONTEND=noninteractive && \
apt-get -y update && \
Expand All @@ -17,9 +21,6 @@ RUN export DEBIAN_FRONTEND=noninteractive && \
echo 'LANGUAGE="en_US:en"' >> /etc/default/locale && \
locale-gen en_US.UTF-8 && \
update-locale en_US.UTF-8 && \
export LANG=en_US.UTF-8 && \
export LANGUAGE=en_US.UTF-8 && \
export LC_ALL=en_US.UTF-8 && \
apt-key adv --fetch-keys https://packagecloud.io/github/git-lfs/gpgkey && \
apt-add-repository -y -s 'deb https://packagecloud.io/github/git-lfs/ubuntu/ trusty main' && \
add-apt-repository -y ppa:ondrej/php && \
Expand Down

0 comments on commit 97ea99b

Please sign in to comment.