inital release of dockerized curl command to update duckdns entry
This commit is contained in:
parent
00269a5e63
commit
1fca49d406
9
Dockerfile
Normal file
9
Dockerfile
Normal file
@ -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
|
3
renew-dns.sh
Executable file
3
renew-dns.sh
Executable file
@ -0,0 +1,3 @@
|
||||
#!/bin/sh
|
||||
|
||||
curl -s "https://www.duckdns.org/update?domains=$DOMAINS&token=$TOKEN&VERBOSE=$VERBOSE"
|
Loading…
Reference in New Issue
Block a user