mirror of
https://github.com/trezor/trezor-firmware.git
synced 2024-11-16 04:29:08 +00:00
Merge pull request #36 from romanz/docker-build
firmware-docker-build: revert branch and repository selection
This commit is contained in:
commit
d38c2ed59f
@ -1,10 +1,10 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
IMAGETAG=trezor-mcu-build
|
IMAGETAG=trezor-mcu-build
|
||||||
FIRMWARETAG="ssh-agent"
|
FIRMWARETAG=${1:-master}
|
||||||
|
|
||||||
docker build -t $IMAGETAG .
|
docker build -t $IMAGETAG .
|
||||||
docker run -t -v $(pwd)/output:/output $IMAGETAG /bin/sh -c "\
|
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 && \
|
cd trezor-mcu && \
|
||||||
git checkout $FIRMWARETAG && \
|
git checkout $FIRMWARETAG && \
|
||||||
git submodule update --init && \
|
git submodule update --init && \
|
||||||
|
Loading…
Reference in New Issue
Block a user