Go to file
Danny Bessems b2e4ede394
All checks were successful
continuous-integration/drone/push Build is passing
Update 'Dockerfile'
2020-02-17 14:09:26 +00:00
init Update 'init/entrypoint.sh' 2020-02-17 13:05:17 +00:00
.drone.yml Add '.drone.yml' 2020-02-17 12:43:14 +00:00
Dockerfile Update 'Dockerfile' 2020-02-17 14:09:26 +00:00
README.md Update 'README.md' 2020-02-17 13:00:57 +00:00

Docker.Containers.GitSparseClone Build Status

Useful as a Kubernetes-sidecar container that downloads files from a git-repository to a Kubernetes-volumeMount, which other containers can then also mount and use.

Usage:

docker run -it \
    -e SPARSE_CHECKOUT=<filter> \
    -e REMOTE_REPO=<url> \
    -e REMOTE_BRANCH=<branch> \
    -e TARGET_DIR=<path> \
# Optional
    -e FLATTENFOLDER=true \
-d djpbessems/git-sidecar