Updated purpose
This commit is contained in:
parent
120d7e15c6
commit
eb3a66d64a
@ -1,13 +1,10 @@
|
|||||||
# docker-cron-git
|
# docker-cron-git
|
||||||
|
|
||||||
A docker image that let's the user define cronjobs, which in turn have access to the `git` command and the python interpreter.
|
A docker container that pulls a git repo (updates it) every minute with a cronjob.
|
||||||
|
|
||||||
|
|
||||||
## Purpose
|
## Purpose
|
||||||
|
|
||||||
There are many scenarios where such a container could help. For example (as I use it), one could run this container and implement a small python script that pulls an existing git repository. Then, by adding the python script (could also be shell of course!) to the container's crontab file, this pull runs frequently.
|
There are many scenarios where such a container could help. For example (as I use it), this image could be used to pull a hugo built website (living in a public git repo) to a local folder, so that another docker container can serve the most recent files.
|
||||||
|
|
||||||
Concrete application: use this image to pull a hugo built website (living in a public git repo) to a local folder, so that another docker container can serve the most recent files.
|
|
||||||
|
|
||||||
|
|
||||||
## License
|
## License
|
||||||
|
Loading…
Reference in New Issue
Block a user