Skip to content

Instantly share code, notes, and snippets.

@icaroscherma
Created November 30, 2016 18:34
Show Gist options
  • Save icaroscherma/5d727945832116a07902cc8d5feeab65 to your computer and use it in GitHub Desktop.
Save icaroscherma/5d727945832116a07902cc8d5feeab65 to your computer and use it in GitHub Desktop.
Add more languages to a docker container
# replace 'pt_BR' for the desired language
sed -i -e 's/# pt_BR.UTF-8 UTF-8/pt_BR.UTF-8 UTF-8/' /etc/locale.gen && \
echo 'LANG="pt_BR.UTF-8"'>/etc/default/locale && \
dpkg-reconfigure --frontend=noninteractive locales && \
update-locale LANG=pt_BR.UTF-8
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment