Wrapper of the git-partial-clone script for rolling and stable deployments of git subdirectories.
575
Wrapper of the git-partial-clone script for rolling and stable deployments of git subdirectories.
FROM lu0alv/git-partial-clone:latest
.
.
.
ENTRYPOINT ["/bin/sh", "-c" , "get-source && exec /home/${PARENT_DIR}/${REPO_NAME}/${REMOTE_PARTIAL_DIR}/deploy.sh"]
CONFIG_FILE=/path/to/your/config-file.conf
source $CONFIG_FILE
docker run \
--env-file ${CONFIG_FILE} \
-v /path/to/your/existing/token-file:${TOKEN_PATH} \
# your extra options and dockerfile
Content type
Image
Digest
Size
103.3 MB
Last updated
almost 5 years ago
docker pull lu0alv/git-partial-clone