From 4b6826d00d991bc3eb00a7ef99bc15106f14837c Mon Sep 17 00:00:00 2001
From: Daniel <d.hornung@indiscale.com>
Date: Tue, 26 Nov 2024 13:03:50 +0100
Subject: [PATCH] FIX: Use current pip in pipeline.

---
 .docker/Dockerfile | 9 +++++----
 1 file changed, 5 insertions(+), 4 deletions(-)

diff --git a/.docker/Dockerfile b/.docker/Dockerfile
index f028bbb1..5e412efc 100644
--- a/.docker/Dockerfile
+++ b/.docker/Dockerfile
@@ -21,14 +21,15 @@ RUN apt-get update && \
 
 COPY .docker/wait-for-it.sh /wait-for-it.sh
 ADD https://gitlab.com/api/v4/projects/13656973/repository/branches/dev \
-   pylib_version.json
+  pylib_version.json
+RUN pip install -U pip
 RUN git clone https://gitlab.com/caosdb/caosdb-pylib.git && \
-   cd caosdb-pylib && git checkout dev && pip3 install .
+   cd caosdb-pylib && git checkout dev && pip install .
 # At least recommonmark 0.6 required.
-RUN pip3 install -U html2text pycodestyle pylint recommonmark sphinx-rtd-theme gitignore-parser
+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 && pip3 install .[all]
+RUN cd /git && pip install .[all]
 WORKDIR /git/integrationtests
 CMD /wait-for-it.sh caosdb-server:10443 -t 500 -- ./test.sh --force
-- 
GitLab