Skip to content

Commit

Permalink
⚡️ 🚨 use --no-cache-dir then installing packages
Browse files Browse the repository at this point in the history
  • Loading branch information
josuablejeru committed Apr 30, 2023
1 parent c1e7e9c commit 8de6879
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 -r requirements.txt
RUN pip install --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>`

Check failure on line 19 in Dockerfile

View workflow job for this annotation

GitHub Actions / docker-publish

DL3042 warning: Avoid use of cache directory with pip. Use `pip install --no-cache-dir <package>`

ENTRYPOINT ["/bin/bash"]

0 comments on commit 8de6879

Please sign in to comment.