Skip to content

Commit

Permalink
ci: Do not use hashes when pip-installing
Browse files Browse the repository at this point in the history
  • Loading branch information
cdecker committed May 13, 2024
1 parent cd85e8f commit 9137b98
Showing 1 changed file with 8 additions and 3 deletions.
11 changes: 8 additions & 3 deletions docker/gl-testing/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -72,9 +72,14 @@ WORKDIR repo
# We filter out all path-depenendencies from this list cause we
# don't have the code in the Docker-repo yet.
RUN poetry lock
RUN poetry export -f requirements.txt -o requirements.txt --with=dev
RUN cat requirements.txt | sed '/file:\/\/\//d' > requirements2.txt
RUN python -m pip install --upgrade pip && pip install wheel && pip install -r requirements2.txt
RUN poetry export \
-f requirements.txt \
-o requirements.txt \
--without-hashes \
--with=dev
RUN python -m pip install --upgrade pip && \
pip install wheel && \
pip install -r requirements.txt

# Later we will run this image under another user
# It is great if they can access this as well
Expand Down

0 comments on commit 9137b98

Please sign in to comment.