certbot/tools/docker/plugin/Dockerfile
2020-11-11 20:16:23 +01:00

14 lines
366 B
Docker

# Certbot image to build on (e.g. certbot/certbot:amd64-v0.35.0)
ARG BASE_IMAGE
FROM ${BASE_IMAGE}
# Qemu Arch (x86_64, arm, ...)
ARG QEMU_ARCH
ENV QEMU_ARCH=${QEMU_ARCH}
COPY qemu-${QEMU_ARCH}-static /usr/bin/
# Copy Certbot DNS plugin code
COPY . /opt/certbot/src/plugin
# Install the DNS plugin
RUN python tools/pip_install_editable.py /opt/certbot/src/plugin