-
-
Save samir-plusb/67212fb02c9f1e72f696a1c9021d5ac4 to your computer and use it in GitHub Desktop.
install locales inside a docker image
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FROM debian | |
RUN apt-get update && \ | |
apt-get install -y \ | |
locales && \ | |
rm -r /var/lib/apt/lists/* | |
RUN sed -i -e 's/# en_US.UTF-8 UTF-8/en_US.UTF-8 UTF-8/' /etc/locale.gen && \ | |
sed -i -e 's/# de_DE.UTF-8 UTF-8/de_DE.UTF-8 UTF-8/' /etc/locale.gen && \ | |
dpkg-reconfigure --frontend=noninteractive locales |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment