Skip to content
This repository has been archived by the owner on Jun 20, 2024. It is now read-only.

Commit

Permalink
Merge pull request #1123 from weaveworks/remove-danglies
Browse files Browse the repository at this point in the history
Remove Docker dangling images in smoke-tests
  • Loading branch information
tomwilkie committed Jul 13, 2015
2 parents d644380 + 80e56d6 commit 1e39b2b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions test/setup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@ echo "Copying weave images, scripts, and certificates to hosts, and"
echo " prefetch test images"
for HOST in $HOSTS; do
docker_on $HOST load -i ../weave.tar
DANGLING_IMAGES="$(docker_on $HOST images -q -f dangling=true)"
[ -n "$DANGLING_IMAGES" ] && docker_on $HOST rmi $DANGLING_IMAGES
run_on $HOST mkdir -p bin
upload_executable $HOST ../bin/docker-ns
upload_executable $HOST ../weave
Expand Down

0 comments on commit 1e39b2b

Please sign in to comment.