Fix build-docker.sh bug (#515)

* Build examples by default

The [documentation](http://ray.readthedocs.io/en/latest/install-on-docker.html#build-docker-images)  says that the `examples` image is built by `build-docker.sh` script.

* Update build-docker.sh
This commit is contained in:
Feynman Liang authored and Robert Nishihara committed 2017-05-06 18:57:08 -07:00
1 parent 1dddd5336a
commit 7825aed230
1 file changed
+2
+2
View File
@@ -45,6 +45,8 @@ rm ./docker/deploy/ray.tar ./docker/deploy/git-rev
if [ ! $SKIP_EXAMPLES ]; then
if [ $OUTPUT_SHA ]; then
IMAGE_SHA=$(docker build $NO_CACHE -q -t ray-project/examples docker/examples)
else
docker build --no-cache -t ray-project/examples docker/examples
fi
fi