Skip to content

Commit

Permalink
install dependencies in CI ECR image
Browse files Browse the repository at this point in the history
  • Loading branch information
JFU-NAVA-PBC committed Dec 13, 2024
1 parent 16faadb commit 4e2d515
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 4 deletions.
6 changes: 2 additions & 4 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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/
RUN pip install --upgrade pip pip-tools setuptools
RUN pip install -r requirements/requirements.dev.txt --no-index --find-links ./vendor/
7 changes: 7 additions & 0 deletions Dockerfiles/Dockerfile.selenium-jenkins-python311-chromium
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 4e2d515

Please sign in to comment.