~singpolyma/biboumi

6fee8394f021fe5aee459ecbf678cd3a0a42ea32 — louiz’ 5 years ago 7a8b4e3
Fix the locales in the docker test images
2 files changed, 2 insertions(+), 11 deletions(-)

M docker/biboumi-test/debian/Dockerfile
M docker/biboumi-test/fedora/Dockerfile
M docker/biboumi-test/debian/Dockerfile => docker/biboumi-test/debian/Dockerfile +0 -11
@@ 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

M docker/biboumi-test/fedora/Dockerfile => docker/biboumi-test/fedora/Dockerfile +2 -0
@@ 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