mirror of
https://github.com/cp2k/cp2k.git
synced 2026-07-27 21:55:16 -04:00
Docker: Generate dockerfiles for remaining CI tests
This commit is contained in:
parent
b639cfd4b8
commit
2e46d64db7
35 changed files with 1216 additions and 147 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue