FROM debian:11 RUN apt-get update && \ apt-get install \ curl \ libhdf5-dev \ pkgconf \ python3 \ python3-pip \ python3-requests \ python3-pandas \ python3-html2text \ python3-sphinx \ tox \ git \ openjdk-11-jdk-headless \ python3-autopep8 \ python3-pytest \ libxml2 \ -y COPY .docker/wait-for-it.sh /wait-for-it.sh ADD https://gitlab.com/api/v4/projects/13656973/repository/branches/dev \ pylib_version.json RUN pip install -U pip RUN git clone https://gitlab.com/caosdb/caosdb-pylib.git && \ cd caosdb-pylib && git checkout dev && pip install . # At least recommonmark 0.6 required. RUN pip install -U html2text pycodestyle pylint recommonmark sphinx-rtd-theme gitignore-parser COPY . /git RUN rm -r /git/.git \ && mv /git/.docker/pycaosdb.ini /git/integrationtests RUN cd /git && pip install .[all] WORKDIR /git/integrationtests CMD /wait-for-it.sh caosdb-server:10443 -t 500 -- ./test.sh --force