Skip to content

Commit

Permalink
Docker: Make pip install slightly faster (juju#415)
Browse files Browse the repository at this point in the history
  • Loading branch information
jkfran committed Jun 21, 2022
1 parent 1a8525b commit e75f315
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Dockerfile
Expand Up @@ -5,6 +5,7 @@
FROM ubuntu:focal AS python-dependencies
RUN apt-get update && apt-get install --no-install-recommends --yes python3-pip python3-setuptools
ADD requirements.txt /tmp/requirements.txt
RUN pip3 config set global.disable-pip-version-check true
RUN --mount=type=cache,target=/root/.cache/pip pip3 install --user --requirement /tmp/requirements.txt


Expand Down

0 comments on commit e75f315

Please sign in to comment.