Skip to content

Instantly share code, notes, and snippets.

@and800
Last active October 16, 2016 13:15
Show Gist options
  • Save and800/fffef2f11d0ad1e17d1db856ae4035ad to your computer and use it in GitHub Desktop.
Save and800/fffef2f11d0ad1e17d1db856ae4035ad to your computer and use it in GitHub Desktop.
Cron Docker image example
FROM debian:jessie
RUN apt-get update && apt-get install -y --no-install-recommends cron
COPY crontab.txt /etc/crontab
RUN chmod 644 /etc/crontab
CMD ["cron", "-f"]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment