Files
addons/duckdns/Dockerfile
Paulus Schoutsen 54b8289e08 DuckDNS: Also generate a certificate with Let's Encrypt (0 config) (#181)
* Initial Let's Encrypt + DuckDNS

* Remove letsencrypt_duckdns

* Add cert generation with lets encrypt to DuckDNS

* Add that you have to accept terms

* Update Dockerfile

* Delete dehydrated.sh

* Update Dockerfile

* Update config.json

* Update run.sh

* Update hooks.sh

* Update run.sh

* Update hooks.sh

* Update run.sh

* Update config.json

* Update hooks.sh

* Update Dockerfile

* Update run.sh

* fix renew timer

* Update run.sh

* fix logic
2017-09-26 17:02:03 +02:00

17 lines
326 B
Docker

ARG BUILD_FROM
FROM $BUILD_FROM
# Add env
ENV LANG C.UTF-8
# Setup base
RUN apk add --no-cache jq curl libressl \
&& curl -s -o /usr/bin/dehydrated https://raw.githubusercontent.com/lukas2511/dehydrated/v0.4.0/dehydrated \
&& chmod a+x /usr/bin/dehydrated
# Copy data
COPY *.sh /
RUN chmod a+x /*.sh
CMD [ "/run.sh" ]