From e671bd76dd9d4c7efd3c03f3f5dd6814a2159b7d Mon Sep 17 00:00:00 2001 From: Danny Bessems Date: Mon, 17 Feb 2020 13:00:57 +0000 Subject: [PATCH] Update 'README.md' --- README.md | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index c92def1..2557146 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,14 @@ -# Docker.Containers.GitSparseClone +# Docker.Containers.GitSparseClone [![Build Status](https://ci.spamasaurus.com/api/badges/djpbessems/Docker.Containers.GitSparseClone/status.svg)](https://ci.spamasaurus.com/djpbessems/Docker.Containers.GitSparseClone) +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= \ + -e REMOTE_REPO= \ + -e REMOTE_BRANCH= \ + -e TARGET_DIR= \ +# Optional + -e FLATTENFOLDER=true \ +-d djpbessems/git-sidecar +``` \ No newline at end of file