Use proper flags with pip

This commit is contained in:
Adrien Ferrand 2020-12-11 19:04:01 +01:00
parent 693abd4a27
commit 2ced0de4fe
2 changed files with 4 additions and 2 deletions

View file

@ -42,5 +42,7 @@ RUN apk add --no-cache --virtual .build-deps \
musl-dev \
libffi-dev \
&& python tools/pipstrap.py \
&& PIP_NO_BUILD_CACHE=no python tools/pip_install_editable.py src/acme src/certbot \
&& python tools/pip_install.py --no-cache-dir \
--editable src/acme \
--editable src/certbot \
&& apk del .build-deps

View file

@ -11,4 +11,4 @@ COPY qemu-${QEMU_ARCH}-static /usr/bin/
COPY . /opt/certbot/src/plugin
# Install the DNS plugin
RUN PIP_NO_BUILD_CACHE=no python tools/pip_install_editable.py /opt/certbot/src/plugin
RUN python tools/pip_install.py --no-cache-dir --editable /opt/certbot/src/plugin