diff options
author | Christian Pointner <equinox@helsinki.at> | 2018-08-08 16:08:25 (GMT) |
---|---|---|
committer | Christian Pointner <equinox@helsinki.at> | 2018-08-08 16:08:25 (GMT) |
commit | d6f0f61b51c943c664cdf774e8f1d504e76722bd (patch) | |
tree | 8f64ad7a58c325953f22e30cdf8e0ddf690e0a4b /ubuntu/bionic/Dockerfile | |
parent | 04f828f50f305a4843837dccde6549289a14fc30 (diff) |
generate locales in os images
Diffstat (limited to 'ubuntu/bionic/Dockerfile')
-rw-r--r-- | ubuntu/bionic/Dockerfile | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/ubuntu/bionic/Dockerfile b/ubuntu/bionic/Dockerfile index 4f4c027..1cf9ff6 100644 --- a/ubuntu/bionic/Dockerfile +++ b/ubuntu/bionic/Dockerfile @@ -9,7 +9,7 @@ RUN set -x \ && echo 'deb http://apt.helsinki.at/ubuntu-security/ bionic-security main universe' >>/etc/apt/sources.list \ && echo 'APT::Install-Recommends "false";' >/etc/apt/apt.conf.d/02-norecommends \ && apt-get update -q \ - && apt-get install -y -q tzdata gnupg2 \ + && apt-get install -y -q tzdata gnupg2 locales \ && apt-get upgrade -y -q \ && rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/* @@ -21,6 +21,8 @@ RUN set -x \ && rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/* RUN set -x \ + && echo "de_AT.UTF-8 UTF-8\nen_US.UTF-8 UTF-8" > /etc/locale.gen \ + && locale-gen \ && echo "Europe/Vienna" > /etc/timezone \ && dpkg-reconfigure -f noninteractive tzdata |