ContainerImage.GitSparseClone/README.md
Danny Bessems d21c4949ac
All checks were successful
continuous-integration/drone/push Build is passing
Update 'README.md'
2020-02-17 14:11:27 +00:00

610 B

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 FLATTEN_FOLDER=true \
-d djpbessems/git-sidecar