An alpine-based docker container that pulls a git repo (updates it) every given amount of time (default 60s) with a shell script.
docker-compose.yaml | ||
docker-entrypoint.sh | ||
Dockerfile | ||
LICENSE.md | ||
README.md |
docker-cron-git-pull
A docker container that pulls a git repo (updates it) every minute with a cronjob.
Purpose
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.
License
see LICENSE.md