diff --git a/Dockerfile b/Dockerfile index ca3600843..a5620d202 100644 --- a/Dockerfile +++ b/Dockerfile @@ -8,7 +8,5 @@ WORKDIR /code RUN python -m venv /tmp/venv RUN . /tmp/venv/bin/activate ENV PATH="/tmp/venv/bin:${PATH}" -RUN pip install --upgrade pip -RUN pip install --upgrade pip-tools -RUN pip install --upgrade setuptools -RUN pip install -r requirements/requirements.dev.txt --no-index --find-links ./vendor/ \ No newline at end of file +RUN pip install --upgrade pip pip-tools setuptools +RUN pip install -r requirements/requirements.dev.txt --no-index --find-links ./vendor/ diff --git a/Dockerfiles/Dockerfile.selenium-jenkins-python311-chromium b/Dockerfiles/Dockerfile.selenium-jenkins-python311-chromium index b8eed6e49..c7c7c0ae6 100644 --- a/Dockerfiles/Dockerfile.selenium-jenkins-python311-chromium +++ b/Dockerfiles/Dockerfile.selenium-jenkins-python311-chromium @@ -6,3 +6,10 @@ RUN apt-get update ; apt-get install -yq python3 python3-venv RUN ln -s /usr/bin/python3 /usr/local/bin/python USER seluser +COPY requirements.dev.txt . +RUN python -m venv /tmp/venv +RUN . /tmp/venv/bin/activate +ENV PATH="/tmp/venv/bin:${PATH}" +RUN pip install --upgrade pip pip-tools setuptools +RUN pip install psycopg2-binary cffi +RUN pip install -r requirements.dev.txt