Docker: Generate dockerfiles for remaining CI tests

This commit is contained in:
Ole Schütt 2022-02-02 22:58:19 +01:00 committed by Ole Schütt
parent b639cfd4b8
commit 2e46d64db7
35 changed files with 1216 additions and 147 deletions

View file

@ -1,16 +1,24 @@
#
# This file was created by generate_dockerfiles.py.
# Usage: docker build -f ./Dockerfile.test_python ../../
#
FROM ubuntu:20.04
# author: Ole Schuett
# Install test for python.
WORKDIR /workspace
COPY ./scripts/install_basics.sh .
COPY ./tools/docker/scripts/install_basics.sh .
RUN ./install_basics.sh
COPY ./scripts/install_python.sh .
# Some buggy Python packages open utf8 files in text mode.
# As workaround we set locale.getpreferredencoding() to utf8.
ENV LANG="en_US.UTF-8" LANGUAGE="en_US:en" LC_ALL="en_US.UTF-8"
COPY ./tools/docker/scripts/install_python.sh .
RUN ./install_python.sh
COPY ./scripts/ci_entrypoint.sh ./scripts/test_python.sh ./
COPY ./tools/docker/scripts/ci_entrypoint.sh ./tools/docker/scripts/test_python.sh ./
CMD ["./ci_entrypoint.sh", "./test_python.sh"]
#EOF