An alpine-based docker container that pulls a git repo (updates it) every given amount of time (default 60s) with a shell script.
Go to file
2024-09-21 23:33:47 +02:00
docker-compose.yaml End of working. Everything still WIP 2024-09-21 23:33:47 +02:00
docker-entrypoint.sh End of working. Everything still WIP 2024-09-21 23:33:47 +02:00
Dockerfile End of working. Everything still WIP 2024-09-21 23:33:47 +02:00
LICENSE.md Added basic information about this repository 2024-09-21 21:24:54 +02:00
README.md Update README.md 2024-09-21 19:30:40 +00:00

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