mirror of
https://github.com/trezor/trezor-firmware.git
synced 2024-11-15 20:19:23 +00:00
12 lines
264 B
Bash
Executable File
12 lines
264 B
Bash
Executable File
#!/bin/bash
|
|
IMAGETAG=trezor-mcu-build
|
|
|
|
docker rmi $IMAGETAG || :
|
|
docker build -t $IMAGETAG .
|
|
docker run -t -v $(pwd):/output $IMAGETAG /bin/cp /trezor-mcu/firmware/trezor.bin /output
|
|
|
|
echo "---------------------"
|
|
echo "Firmware fingerprint:"
|
|
|
|
sha256sum trezor.bin
|