docker: enable utf8 in Ubuntu Docker images

This commit is contained in:
Tiziano Müller 2020-08-10 11:50:46 +02:00 committed by Tiziano Müller
parent d53dec3ee7
commit ff9eaa847a
4 changed files with 14 additions and 1 deletions

View file

@ -7,10 +7,14 @@ WORKDIR /workspace
COPY ./scripts/install_basics.sh .
RUN ./install_basics.sh
# set a proper unicode-enabled locale, see https://hub.docker.com/_/ubuntu?tab=description
RUN localedef -i en_US -c -f UTF-8 -A /usr/share/locale/locale.alias en_US.UTF-8
ENV LANG en_US.UTF-8
COPY ./scripts/install_python.sh .
RUN ./install_python.sh
COPY ./scripts/ci_entrypoint.sh ./scripts/test_python.sh ./
CMD ["./ci_entrypoint.sh", "./test_python.sh"]
#EOF
#EOF