Permalink
Browse files

build_docker_images.sh: don't fail if nvidia/cuda does not exist at t…

…he start (#475)
  • Loading branch information...
alsrgv committed Aug 31, 2018
1 parent fa97c59 commit bdbd0564338116e1465474bb94c8b76f4021f0c2
Showing with 2 additions and 2 deletions.
  1. +2 −2 build-docker-images.sh
View
@@ -16,8 +16,8 @@ function build_one()
docker rmi ${tag}
}
# clear upstream image
docker rmi $(cat Dockerfile | grep FROM | awk '{print $2}')
# clear upstream image, ok to fail if image does not exist
docker rmi $(cat Dockerfile | grep FROM | awk '{print $2}') || true
# build for py2 and py3
build_one 2.7

0 comments on commit bdbd056

Please sign in to comment.