Commit 50936533 authored by Richard Mortier's avatar Richard Mortier
Browse files

dabuild: rm image after run by default; control via `$DABUILD_RM`


Signed-off-by: Richard Mortier's avatarRichard Mortier <mort@cantab.net>
parent 8d734662
......@@ -86,6 +86,11 @@ if [ "$DABUILD_CACHE" = "true" ]; then
done
fi
ABUILD_RM="--rm"
if [ "$DABUILD_RM" = "false" ]; then
ABUILD_RM=""
fi
## go!
docker run --tty --interactive \
$ABUILD_RM \
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment