mirror of
https://github.com/aljazceru/addons.git
synced 2026-01-15 19:14:24 +01:00
* 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
17 lines
326 B
Docker
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" ]
|