Skip to content

Instantly share code, notes, and snippets.

@deluvas
Last active February 25, 2017 18:21
Show Gist options
  • Save deluvas/8f19fb415a17ec2cabe0385230032cb0 to your computer and use it in GitHub Desktop.
Save deluvas/8f19fb415a17ec2cabe0385230032cb0 to your computer and use it in GitHub Desktop.
Configure locales in Debian Docker image
FROM debian:jessie
ENV DEBIAN_FRONTEND=noninteractive
RUN apt-get -qq update \
&& apt-get install -y locales
RUN echo "en_US.UTF-8 UTF-8" > /etc/locale.gen && locale-gen
ENV LC_ALL=en_US.UTF-8 \
LANG=en_US.UTF-8 \
LANGUAGE=en_US.UTF-8
# ...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment