Skip to content

Instantly share code, notes, and snippets.

@lmatt-bit
Created November 7, 2017 03:45
Show Gist options
  • Save lmatt-bit/face15c28a52b0fcca37855198a32106 to your computer and use it in GitHub Desktop.
Save lmatt-bit/face15c28a52b0fcca37855198a32106 to your computer and use it in GitHub Desktop.
docker file to set the locale
# Set the locale
RUN sed -i -e 's/# en_US.UTF-8 UTF-8/en_US.UTF-8 UTF-8/' /etc/locale.gen && \
locale-gen
ENV LANG en_US.UTF-8
ENV LANGUAGE en_US:en
ENV LC_ALL en_US.UTF-8
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment