mirror of
https://github.com/cupcakearmy/docker-ddns-cloudflare.git
synced 2024-11-17 02:29:56 +01:00
12 lines
222 B
Plaintext
12 lines
222 B
Plaintext
|
FROM alpine:3.8
|
||
|
|
||
|
ENV file /usr/local/bin/run.sh
|
||
|
|
||
|
RUN apk add --no-cache --update curl grep bash
|
||
|
|
||
|
RUN echo '* * * * * ${file}' > /etc/crontabs/root
|
||
|
|
||
|
COPY ./run.sh ${file}
|
||
|
RUN chmod +x ${file}
|
||
|
|
||
|
CMD ["crond", "-l2", "-f"]
|