mirror of
https://github.com/aljazceru/addons.git
synced 2026-01-08 15:54:21 +01:00
* letsencrypt: Prettier YAML files * letsencrypt: Sort build.json * letsencrypt: Update add-on URL * letsencrypt: Styling improvements to Dockerfile * letsencrypt: Tweak and linter fixes to documentation
37 lines
1.1 KiB
Docker
Executable File
37 lines
1.1 KiB
Docker
Executable File
ARG BUILD_FROM
|
|
FROM $BUILD_FROM
|
|
|
|
# setup base
|
|
ARG CERTBOT_VERSION
|
|
|
|
RUN apk add --no-cache --update \
|
|
libffi \
|
|
musl \
|
|
openssl \
|
|
&& apk add --no-cache --virtual .build-dependencies \
|
|
g++ \
|
|
libffi-dev \
|
|
musl-dev \
|
|
openssl-dev \
|
|
&& pip3 install --no-cache-dir certbot==${CERTBOT_VERSION} \
|
|
certbot-dns-cloudflare==${CERTBOT_VERSION} \
|
|
certbot-dns-cloudxns==${CERTBOT_VERSION} \
|
|
certbot-dns-digitalocean==${CERTBOT_VERSION} \
|
|
certbot-dns-dnsimple==${CERTBOT_VERSION} \
|
|
certbot-dns-dnsmadeeasy==${CERTBOT_VERSION} \
|
|
certbot-dns-gehirn==${CERTBOT_VERSION} \
|
|
certbot-dns-google==${CERTBOT_VERSION} \
|
|
certbot-dns-linode==${CERTBOT_VERSION} \
|
|
certbot-dns-luadns==${CERTBOT_VERSION} \
|
|
certbot-dns-nsone==${CERTBOT_VERSION} \
|
|
certbot-dns-ovh==${CERTBOT_VERSION} \
|
|
certbot-dns-rfc2136==${CERTBOT_VERSION} \
|
|
certbot-dns-route53==${CERTBOT_VERSION} \
|
|
certbot-dns-sakuracloud==${CERTBOT_VERSION} \
|
|
&& apk del .build-dependencies
|
|
|
|
# Copy data
|
|
COPY data/run.sh /
|
|
|
|
CMD [ "/run.sh" ]
|