Skip to content

Instantly share code, notes, and snippets.

@dcharbonnier
Created December 21, 2016 09:56
Show Gist options
  • Save dcharbonnier/19a2c40546d9e59bcc74e9508cf79df0 to your computer and use it in GitHub Desktop.
Save dcharbonnier/19a2c40546d9e59bcc74e9508cf79df0 to your computer and use it in GitHub Desktop.
FROM alpine:3.4
RUN apk add --no-cache dcron
COPY cron /opt/cron/
COPY crontab /etc/crontabs/root
COPY entrypoint.sh /
COPY backup.sh /
COPY restore.sh /
ENTRYPOINT ["/entrypoint.sh"]
CMD ["cron"]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment