1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2025-01-03 20:11:00 +00:00

add posibility to override tag to be built in firmware-docker-build, make master as default

This commit is contained in:
Pavol Rusnak 2015-03-04 18:10:09 +01:00
parent 0ee02eb09a
commit 2451936f0e

View File

@ -1,6 +1,6 @@
#!/bin/bash #!/bin/bash
IMAGETAG=trezor-mcu-build IMAGETAG=trezor-mcu-build
FIRMWARETAG=v1.3.1 FIRMWARETAG=${1:-master}
docker build -t $IMAGETAG . docker build -t $IMAGETAG .
docker run -t -v $(pwd):/output $IMAGETAG /bin/sh -c "\ docker run -t -v $(pwd):/output $IMAGETAG /bin/sh -c "\