1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2024-11-21 23:18:13 +00:00

build: in build-docker.sh, remove containers after we are done

This commit is contained in:
matejcik 2019-12-11 14:20:31 +01:00
parent 0ae2cdf756
commit 3742691111

View File

@ -36,7 +36,7 @@ for BITCOIN_ONLY in 0 1; do
DIRSUFFIX=${BITCOIN_ONLY/1/-bitcoinonly}
DIRSUFFIX=${DIRSUFFIX/0/}
docker run -it \
docker run -it --rm \
-v $(pwd):/local \
-v $(pwd)/build/core"${DIRSUFFIX}":/build:z \
--env BITCOIN_ONLY="$BITCOIN_ONLY" \
@ -62,7 +62,7 @@ for BITCOIN_ONLY in 0 1; do
DIRSUFFIX=${BITCOIN_ONLY/1/-bitcoinonly}
DIRSUFFIX=${DIRSUFFIX/0/}
docker run -it \
docker run -it --rm \
-v $(pwd):/local \
-v $(pwd)/build/legacy"${DIRSUFFIX}":/build:z \
--env BITCOIN_ONLY="$BITCOIN_ONLY" \