A docker image that get latest version of a git repository
325
A simple image to update a git repository by spawning a container
The following environment variables can be set:
REMOTE_BRANCH: The remote branch to pull. Defaults to masterREMOTE_NAME: The name of the git remote. Defaults to originGIT_REMOTE: The git repository URLDEPLOYMENT_KEY: a private ssh key that will be copied in ~/.ssh/id_rsaKNOWN_HOSTS: the signature of your git server that will be copied in ~/.ssh/known_hosts
The local git repository is the containers working directory. Remember to set it at run time.The container will:
docker pull jeancloud/git-pull:latest