docker-ddns-cloudflare/Dockerfile

12 lines
222 B
Docker
Raw Normal View History

2019-01-22 11:37:36 +00:00
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"]