Skip to content

Commit

Permalink
Add locales package and only generate locale after adding package (Po…
Browse files Browse the repository at this point in the history
  • Loading branch information
TravisEz13 authored and daxian-dbw committed May 10, 2017
1 parent ee779b5 commit c06caa9
Showing 1 changed file with 8 additions and 7 deletions.
15 changes: 8 additions & 7 deletions docker/release/ubuntu16.04/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,20 +6,21 @@ LABEL maintainer="PowerShell Team <powershellteam@hotmail.com>"
LABEL readme.md="https://github.com/PowerShell/PowerShell/blob/master/docker/README.md"
LABEL description="This Dockerfile will install the latest release of PS."

# Setup the locale
ENV LANG en_US.UTF-8
ENV LC_ALL $LANG
RUN locale-gen $LANG && update-locale

# Install dependencies and clean up
RUN apt-get update \
&& apt-get install -y --no-install-recommends \
apt-utils \
ca-certificates \
curl \
apt-transport-https \
apt-transport-https \
locales\
&& rm -rf /var/lib/apt/lists/*


# Setup the locale
ENV LANG en_US.UTF-8
ENV LC_ALL $LANG
RUN locale-gen $LANG && update-locale

# Import the public repository GPG keys for Microsoft
RUN curl https://packages.microsoft.com/keys/microsoft.asc | apt-key add -

Expand Down

0 comments on commit c06caa9

Please sign in to comment.