aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFathi Boudra <fathi.boudra@linaro.org>2021-01-21 20:31:00 +0100
committerFathi Boudra <fathi.boudra@linaro.org>2021-01-21 20:31:00 +0100
commit2526cf2c1bf812d5153cb049a37f310c9a546778 (patch)
treeb3284bd0d9ce84d38b1982ac0693021dd2a5cebc
parent8cd1ff61abb7e648d7bfede4365eace7210a7151 (diff)
downloaddockerfiles-2526cf2c1bf812d5153cb049a37f310c9a546778.tar.gz
TF-A: add locales, set to UTF-8
Some python code require to be unicode aware. Install locales to be on the safe side. Signed-off-by: Fathi Boudra <fathi.boudra@linaro.org> Change-Id: I74d062c8d89ff04e98a8c753f62431fb487fa697
-rw-r--r--bionic-amd64-tf-a-build/Dockerfile3
1 files changed, 3 insertions, 0 deletions
diff --git a/bionic-amd64-tf-a-build/Dockerfile b/bionic-amd64-tf-a-build/Dockerfile
index 502a09f..a1c52e0 100644
--- a/bionic-amd64-tf-a-build/Dockerfile
+++ b/bionic-amd64-tf-a-build/Dockerfile
@@ -28,6 +28,7 @@ ENV PKG_DEPS="\
libssl-dev \
libxml-libxml-perl \
lld \
+ locales \
openjdk-8-jdk \
openssh-server \
perl \
@@ -55,6 +56,8 @@ COPY tf-*.install /tmp/
COPY setup-sshd /usr/sbin/setup-sshd
RUN set -e ;\
+ echo 'locales locales/locales_to_be_generated multiselect C.UTF-8 UTF-8, en_US.UTF-8 UTF-8 ' | debconf-set-selections ;\
+ echo 'locales locales/default_environment_locale select en_US.UTF-8' | debconf-set-selections ;\
apt update -q=2 ;\
apt dist-upgrade -q=2 --yes ;\
apt install -q=2 --yes --no-install-recommends ${PKG_DEPS} ;\