mirror of
https://github.com/certbot/certbot.git
synced 2026-01-26 07:41:33 +03:00
* Add a new, simplified version of pipstrap. * Use tools/pipstrap.py * Uncomment code * Refactor pip_install.py and provide hashes. * Fix test_sdists.sh. * Make code work on Python 2. * Call strip_hashes.py using Python 3. * Pin the oldest version of httplib2 used in distros * Strip enum34 dependency. * Remove pip pinnings from dev_constraints.txt * Correct pipstrap docstring. * Don't set working_dir twice. * Add comments
15 lines
376 B
Docker
15 lines
376 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 tools/pip_install.py --no-cache-dir --editable /opt/certbot/src/plugin
|