Update docker build

This commit is contained in:
Adrien Ferrand 2020-11-11 20:16:23 +01:00
parent 602a74e452
commit f10d4cca62
2 changed files with 3 additions and 7 deletions

View file

@ -42,9 +42,5 @@ RUN apk add --no-cache --virtual .build-deps \
musl-dev \
libffi-dev \
&& python tools/pipstrap.py \
&& pip install --no-build-isolation \
-r letsencrypt-auto-source/pieces/dependency-requirements.txt \
&& pip install --no-build-isolation --no-cache-dir --no-deps \
--editable src/acme \
--editable src/certbot \
&& apk del .build-deps
&& python tools/pip_install_editable.py src/acme 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 tools/pip_install.py --no-cache-dir --editable /opt/certbot/src/plugin
RUN python tools/pip_install_editable.py /opt/certbot/src/plugin