inital release of dockerized curl command to update duckdns entry

Este commit está contenido en:
2018-03-15 21:29:25 +01:00
cometido por Hanjo Meinhardt
padre 00269a5e63
commit 1fca49d406
Se han modificado 2 ficheros con 12 adiciones y 0 borrados
+9
Ver fichero
@@ -0,0 +1,9 @@
FROM alpine
RUN apk add -U --no-cache curl
COPY renew-dns.sh /etc/periodic/15min/renew-dns.sh
ENV VERBOSE false
CMD /etc/periodic/15min/renew-dns.sh && crond -f -d 8
Executable
+3
Ver fichero
@@ -0,0 +1,3 @@
#!/bin/sh
curl -s "https://www.duckdns.org/update?domains=$DOMAINS&token=$TOKEN&VERBOSE=$VERBOSE"