mirror of
https://github.com/trezor/trezor-firmware.git
synced 2024-11-22 07:28:10 +00:00
build: in build-docker.sh, remove containers after we are done
This commit is contained in:
parent
0ae2cdf756
commit
3742691111
@ -36,7 +36,7 @@ for BITCOIN_ONLY in 0 1; do
|
|||||||
DIRSUFFIX=${BITCOIN_ONLY/1/-bitcoinonly}
|
DIRSUFFIX=${BITCOIN_ONLY/1/-bitcoinonly}
|
||||||
DIRSUFFIX=${DIRSUFFIX/0/}
|
DIRSUFFIX=${DIRSUFFIX/0/}
|
||||||
|
|
||||||
docker run -it \
|
docker run -it --rm \
|
||||||
-v $(pwd):/local \
|
-v $(pwd):/local \
|
||||||
-v $(pwd)/build/core"${DIRSUFFIX}":/build:z \
|
-v $(pwd)/build/core"${DIRSUFFIX}":/build:z \
|
||||||
--env BITCOIN_ONLY="$BITCOIN_ONLY" \
|
--env BITCOIN_ONLY="$BITCOIN_ONLY" \
|
||||||
@ -62,7 +62,7 @@ for BITCOIN_ONLY in 0 1; do
|
|||||||
DIRSUFFIX=${BITCOIN_ONLY/1/-bitcoinonly}
|
DIRSUFFIX=${BITCOIN_ONLY/1/-bitcoinonly}
|
||||||
DIRSUFFIX=${DIRSUFFIX/0/}
|
DIRSUFFIX=${DIRSUFFIX/0/}
|
||||||
|
|
||||||
docker run -it \
|
docker run -it --rm \
|
||||||
-v $(pwd):/local \
|
-v $(pwd):/local \
|
||||||
-v $(pwd)/build/legacy"${DIRSUFFIX}":/build:z \
|
-v $(pwd)/build/legacy"${DIRSUFFIX}":/build:z \
|
||||||
--env BITCOIN_ONLY="$BITCOIN_ONLY" \
|
--env BITCOIN_ONLY="$BITCOIN_ONLY" \
|
||||||
|
Loading…
Reference in New Issue
Block a user