1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2024-11-15 20:19:23 +00:00

Merge pull request #36 from romanz/docker-build

firmware-docker-build: revert branch and repository selection
This commit is contained in:
Pavol Rusnak 2015-07-04 23:42:26 +02:00
commit d38c2ed59f

View File

@ -1,10 +1,10 @@
#!/bin/bash
IMAGETAG=trezor-mcu-build
FIRMWARETAG="ssh-agent"
FIRMWARETAG=${1:-master}
docker build -t $IMAGETAG .
docker run -t -v $(pwd)/output:/output $IMAGETAG /bin/sh -c "\
git clone https://github.com/romanz/trezor-mcu && \
git clone https://github.com/trezor/trezor-mcu && \
cd trezor-mcu && \
git checkout $FIRMWARETAG && \
git submodule update --init && \