Files
trezor-suite/packages/transport-bluetooth/scripts/build.sh
2025-08-25 11:09:20 +02:00

9 lines
451 B
Bash
Executable File

#!/usr/bin/env bash
set -e
# This has to be built using x86 docker image arm image is not working. For building on arm mac use --platform linux/amd64 for the build command.
docker build . -f ./scripts/Dockerfile -t trezor-bluetooth-image --platform linux/amd64
docker create --name trezor-bluetooth-container trezor-bluetooth-image
docker cp trezor-bluetooth-container:/output/. ../suite-data/files/bin/bluetooth
docker rm trezor-bluetooth-container