Skip to content

Commit

Permalink
⚡️ 🚨 use no cache dir also for then upgrading pip
Browse files Browse the repository at this point in the history
  • Loading branch information
josuablejeru committed Apr 30, 2023
1 parent 8de6879 commit ef885e3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,6 @@ ENV ANSIBLE_SSH_PIPELINING True

COPY requirements.txt .

RUN pip install --upgrade pip && pip install --no-cache-dir -r requirements.txt
RUN pip install --no-cache-dir --upgrade pip && pip install --no-cache-dir -r requirements.txt

Check failure on line 19 in Dockerfile

View workflow job for this annotation

GitHub Actions / docker-publish

DL3013 warning: Pin versions in pip. Instead of `pip install <package>` use `pip install <package>==<version>` or `pip install --requirement <requirements file>`

ENTRYPOINT ["/bin/bash"]

0 comments on commit ef885e3

Please sign in to comment.