Skip to content

Commit

Permalink
Use Busybox instead of Ubuntu as it's smaller
Browse files Browse the repository at this point in the history
  • Loading branch information
JoeNyland committed Mar 9, 2017
1 parent 3f0c4ec commit 671fa9b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docker-diff
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,6 @@ else
AWK='{printf "%-10s %-10s %-100s\n",$1,$3,$6}'
fi

diff <(docker export "$container_a" | docker run -i --rm ubuntu tar tvf - | awk "$AWK") <(docker export "$container_b" | docker run -i --rm ubuntu tar tvf - | awk "$AWK")
diff <(docker export "$container_a" | docker run -i --rm busybox tar tvf - | awk "$AWK") <(docker export "$container_b" | docker run -i --rm busybox tar tvf - | awk "$AWK")

docker rm -fv "$container_a" "$container_b"

0 comments on commit 671fa9b

Please sign in to comment.