add dockerfile, runs renew-dns.sh initially and foregrounds crond
parent
16def86d61
commit
5b6dfb77ad
@ -0,0 +1,9 @@
|
||||
FROM alpine
|
||||
|
||||
ENV DOMAINS
|
||||
ENV TOKEN
|
||||
ENV VERBOSE=false
|
||||
|
||||
COPY renew-dns.sh /etc/periodic/5min/renew-dns.sh
|
||||
|
||||
CMD sh -c '/etc/periodic/5min/renew-dns.sh && crond -f -d 8'
|
Loading…
Reference in New Issue