HUB
Sign inSign up
docker-github-rubyapp logo

boritzio/docker-github-rubyapp

By boritzio

•Updated about 11 years ago

Image
0

470

boritzio/docker-github-rubyapp repository overview

⁠Docker Nginx RubyApp from Github

Docker image based on passenger:baseimage that pulls a github repo (limited to optional subfolder) and starts a ruby passenger app such as rails or sinatra

Environment variables:

  • GITHUB_REPO (required)
  • GITHUB_SSH_KEY (required)
  • GIT_PATH (optional, defaults to "/")
  • GIT_BRANCH (optional, defaults to "master")

You can then run via

docker run -p 80:80  --name github-rubyapp -e GITHUB_REPO="[email protected]:myorg/myrepo.git" -e GITHUB_SSH_KEY="`cat path_to_my_github_key`" boritzio/docker-github-rubyapp
Tag summary
Recent tags
Content type
Image
Digest
sha256:bb9f5abe0…
Size
308.4 MB
Last updated
about 11 years ago
docker pull boritzio/docker-github-rubyapp:latest