Skip to content

Instantly share code, notes, and snippets.

Last active Apr 1, 2022
What would you like to do?
install locales inside a docker image
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
Copy link

samir-plusb commented Aug 17, 2021


Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment