forked from cruzdb/zlog
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: Noah Watkins <[email protected]>
- Loading branch information
Showing
1 changed file
with
15 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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` |