From 4b63901ad66704b36ac7577a48503c2146bf0e5d Mon Sep 17 00:00:00 2001 From: Yannick Heneault Date: Fri, 6 Jul 2018 18:04:13 -0400 Subject: [PATCH] remove build container on exit --- build-pitrezor.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build-pitrezor.sh b/build-pitrezor.sh index c69a24b..2ff9b06 100755 --- a/build-pitrezor.sh +++ b/build-pitrezor.sh @@ -11,7 +11,7 @@ chown $DOCKER_UID:$DOCKER_UID images docker build -t $IMAGE . -docker run -t -v $(pwd)/images:/images:z $IMAGE /bin/bash -c "\ +docker run -t --rm -v $(pwd)/images:/images:z $IMAGE /bin/bash -c "\ git clone https://github.com/heneault/yocto-pitrezor.git && \ cd yocto-pitrezor && \ git checkout $TAG && \