1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2024-11-15 20:19:23 +00:00
trezor-firmware/firmware-docker-build.sh
2014-12-25 18:32:00 +01:00

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