Skip to content

Commit

Permalink
ci: update ci docker readme
Browse files Browse the repository at this point in the history
Signed-off-by: Noah Watkins <[email protected]>
  • Loading branch information
dotnwat committed Oct 28, 2015
1 parent e0d4425 commit 64c52cf
Showing 1 changed file with 15 additions and 2 deletions.
17 changes: 15 additions & 2 deletions docker/ci/README.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,22 @@
zlog-ci
=======

zlog continuous integration docker image.
This Dockerfile is used to create an image runs the zlog continuous
integration test suite.

Usage
-----

`docker run`
By default the image will checkout and build zlog from the master branch of
the repository located at https://github.com/noahdesu/zlog:

`docker run zlog/ci`

Use `-e "branch=different-branch` to checkout a different branch:

`docker run -e "branch=testing" zlog/ci`

A zlog source directory on the host can be used instead using a bind mount. In
this case the `branch` environment variable is ignored:

`docker run -v /tmp/host_zlog:/src/zlog zlog/ci`

0 comments on commit 64c52cf

Please sign in to comment.