aboutsummaryrefslogtreecommitdiff
path: root/utopic-amd64-art
diff options
context:
space:
mode:
authorJulien Duraj <julien.duraj@linaro.org>2017-08-15 15:02:39 +0100
committerFathi Boudra <fathi.boudra@linaro.org>2017-08-16 10:28:52 +0300
commitce8deade32b14374e115c3a4f2e157bed84948e1 (patch)
treee6e8b9e440bd505b724f211d0242f25cc281d9cb /utopic-amd64-art
parent5da9d308e2e5b7a106f40ca57fd5a8c29dc8b605 (diff)
utopic-amd64-art: 004-JniTest requires UTF-8 locale
Change-Id: I6c045173fd69606f789032e01f478066fdd6f691
Diffstat (limited to 'utopic-amd64-art')
-rw-r--r--utopic-amd64-art/Dockerfile5
1 files changed, 5 insertions, 0 deletions
diff --git a/utopic-amd64-art/Dockerfile b/utopic-amd64-art/Dockerfile
index 1b7e2ec0..1e134b03 100644
--- a/utopic-amd64-art/Dockerfile
+++ b/utopic-amd64-art/Dockerfile
@@ -3,6 +3,8 @@ FROM ubuntu:utopic
COPY setup-sshd /usr/sbin/setup-sshd
RUN dpkg --add-architecture i386 \
+ && 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 \
&& sed -i -e 's/archive.ubuntu.com\|security.ubuntu.com/old-releases.ubuntu.com/g' /etc/apt/sources.list \
&& apt-get update \
&& DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends software-properties-common \
@@ -10,6 +12,7 @@ RUN dpkg --add-architecture i386 \
&& add-apt-repository -y ppa:linaro-maintainers/tools \
&& apt-get update \
&& DEBIAN_FRONTEND=noninteractive apt-get dist-upgrade -y \
+ && DEBIAN_FRONTEND=noninteractive apt-get install -y locales \
&& DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends \
acpica-tools \
android-tools-adb \
@@ -64,5 +67,7 @@ RUN useradd -m -G plugdev buildslave \
&& chmod a+x /home/buildslave/bin/* \
&& chown -R buildslave:buildslave /home/buildslave/bin
+ENV LC_ALL C.UTF-8
+
EXPOSE 22
ENTRYPOINT ["/usr/sbin/setup-sshd"]