From 7825aed230ea37185acb4bb6013cc1659794071c Mon Sep 17 00:00:00 2001 From: Feynman Liang Date: Sat, 6 May 2017 18:57:08 -0700 Subject: [PATCH] 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 --- build-docker.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/build-docker.sh b/build-docker.sh index 3e6a49e2a..25a8d7196 100755 --- a/build-docker.sh +++ b/build-docker.sh @@ -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