Last active
October 16, 2016 13:15
-
-
Save and800/fffef2f11d0ad1e17d1db856ae4035ad to your computer and use it in GitHub Desktop.
Cron Docker image example
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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