add some tools to generate graphs and squash images

This commit is contained in:
2016-05-22 18:21:38 +01:00
parent f728b94bcf
commit e7c1ed31ac
11 changed files with 115 additions and 5 deletions

View File

@@ -1,6 +1,5 @@
FILE=$DOCKER_HOME/images/$1.mk
if [ ! -e $FILE ]; then
DELETE=true
FILE="$(mktemp)"
cat <<- EOF > $FILE
include \$(DOCKER_HOME)/build/Makefile
@@ -11,7 +10,5 @@ EOF
fi
make -f $FILE build
CODE=$?
if [ ! -z ${DELETE+x} ]; then
rm $FILE
fi
rm $FILE
exit $CODE