HUB
Sign inSign up

jeancloud/git-pull

By jeancloud

•Updated over 7 years ago

A docker image that get latest version of a git repository

Image
0

325

jeancloud/git-pull repository overview

⁠Git-pull

A simple image to update a git repository by spawning a container

⁠Parameters

The following environment variables can be set:

  • REMOTE_BRANCH: The remote branch to pull. Defaults to master
  • REMOTE_NAME: The name of the git remote. Defaults to origin
  • GIT_REMOTE: The git repository URL
  • DEPLOYMENT_KEY: a private ssh key that will be copied in ~/.ssh/id_rsa
  • KNOWN_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.

⁠Flexibility

The container will:

  • Clone or pull the repository depending on its existence.
  • Add the remote if it does not exist

⁠Future

  • We will add http authentication
  • If you miss any feature, we can implement it to make a better container!
Tag summary
Recent tags
Content type
Image
Digest
Size
108.5 MB
Last updated
over 7 years ago
docker pull jeancloud/git-pull:latest