Skip to content

Commit

Permalink
Fix: Docker-file do not install path dependencies
Browse files Browse the repository at this point in the history
We have a filter that prevents us from installing path-dependencies in
the `python-builder` stage.

This filter wasn't working all the time. I've modified it to make it
less stringent
  • Loading branch information
ErikDeSmedt committed May 13, 2024
1 parent 7fc2fd0 commit cd85e8f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docker/gl-testing/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ WORKDIR repo
# 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 cat requirements.txt | sed '/file:\/\/\//d' > requirements2.txt
RUN python -m pip install --upgrade pip && pip install wheel && pip install -r requirements2.txt

# Later we will run this image under another user
Expand Down

0 comments on commit cd85e8f

Please sign in to comment.