X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/46dadfab678ef9001d7a7b5dc3f63ea815d108be..568a209aa90a98750e9c3517c2afdf99844d9a50:/docker/build.sh diff --git a/docker/build.sh b/docker/build.sh index 74d2ed33e1..366775dd38 100755 --- a/docker/build.sh +++ b/docker/build.sh @@ -1,9 +1,11 @@ #! /bin/sh -# build the base wheezy image -./mkimage-debootstrap.sh arvados/debian wheezy http://debian.lcs.mit.edu/debian/ +# build the base wheezy image, if it doesn't already exist +(docker images | grep '^arvados/debian') || \ + ./mkimage-debootstrap.sh arvados/debian wheezy http://debian.lcs.mit.edu/debian/ # build the Docker images docker build -t arvados/base base docker build -t arvados/api api docker build -t arvados/docserver docserver +docker build -t arvados/workbench workbench