Skip to content

Commit

Permalink
Add "rmi -f" to "remove-onbuild.sh" to avoid extraneous output from "…
Browse files Browse the repository at this point in the history
…docker load"
  • Loading branch information
tianon committed Nov 25, 2015
1 parent 32307a4 commit 561bd41
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions test/tests/remove-onbuild.sh
Original file line number Diff line number Diff line change
Expand Up @@ -50,4 +50,5 @@ dd if=/dev/zero of="$tmp/$newId/layer.tar" bs=1k count=1 &> /dev/null # empty ta
cat > "$tmp/repositories" <<EOF
{"$outImage":{"$outTag":"$newId"}}
EOF
docker rmi -f "$out" &> /dev/null || true # avoid "already exists, renaming the old one" from "docker load"
tar -cC "$tmp" . | docker load

0 comments on commit 561bd41

Please sign in to comment.