Skip to content

Commit af2ffcf

Browse files
author
Sam Dodrill
committed
fix(builder): don't reload cedarish if its already loaded
Ref #1643 Also add log messages
1 parent e44dc1f commit af2ffcf

1 file changed

Lines changed: 6 additions & 1 deletion

File tree

builder/bin/boot

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,12 @@ done
5555

5656
# HACK: load progrium/cedarish tarball for faster boot times
5757
# see https://github.com/deis/deis/issues/1027
58-
docker load -i /progrium_cedarish.tar
58+
if ! docker history progrium/cedarish >/dev/null 2>/dev/null ; then
59+
echo "Loading cedarish..."
60+
docker load -i /progrium_cedarish.tar
61+
else
62+
echo "Cedarish already loaded"
63+
fi
5964

6065
# pull required images
6166

0 commit comments

Comments
 (0)