From d6ec9ee05d9b2801e3fef74be2ccf8a0dbff967b Mon Sep 17 00:00:00 2001 From: John Kirkham Date: Fri, 9 Oct 2015 11:09:11 -0400 Subject: [PATCH] Dockerfile: Install and configure for the locale `en_US.UTF-8`. --- ubuntu_14_04_locale_fix/Dockerfile | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/ubuntu_14_04_locale_fix/Dockerfile b/ubuntu_14_04_locale_fix/Dockerfile index 2fa56086..bda4d76c 100644 --- a/ubuntu_14_04_locale_fix/Dockerfile +++ b/ubuntu_14_04_locale_fix/Dockerfile @@ -1 +1,6 @@ FROM ubuntu:14.04 + +# Setting the language and encoding won't work without this tweak. +# See bug here ( https://bugs.launchpad.net/ubuntu/+bug/920601 ). +RUN DEBIAN_FRONTEND=noninteractive locale-gen en_US.UTF-8 && \ + DEBIAN_FRONTEND=noninteractive dpkg-reconfigure locales