Fix the locales in the docker test images

This commit is contained in:
louiz’
2016-12-08 09:39:43 +01:00
parent 7a8b4e37a5
commit 6fee8394f0
2 changed files with 2 additions and 11 deletions
-11
View File
@@ -57,17 +57,6 @@ RUN cd /charybdis && git checkout 4f2b9a4 && sed s/113/1113/ -i /charybdis/authd
RUN chown -R tester:tester /home/tester/ircd
RUN rm -rf /charybdis
RUN apt install -y locales
RUN export LANGUAGE=en_US.UTF-8
RUN export LANG=en_US.UTF-8
RUN export LC_ALL=en_US.UTF-8
RUN locale-gen
RUN dpkg-reconfigure locales
RUN dpkg-reconfigure locales && \
locale-gen C.UTF-8 && \
/usr/sbin/update-locale LANG=C.UTF-8
ENV LC_ALL C.UTF-8
WORKDIR /home/tester
+2
View File
@@ -64,6 +64,8 @@ COPY sonar-scanner-2.8 /home/tester/sonar-scanner
RUN dnf install -y which java-1.8.0-openjdk
ENV LC_ALL C.UTF-8
WORKDIR /home/tester
USER tester