Skip to content

Commit

Permalink
Build with the published docker container
Browse files Browse the repository at this point in the history
  • Loading branch information
keepkeyjon committed Feb 20, 2018
1 parent e4fc493 commit c6c2c43
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 14 deletions.
6 changes: 3 additions & 3 deletions docker_build_keepkey_debug.sh
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
#!/bin/bash

IMAGETAG=keepkey/firmware
IMAGETAG=kktech/firmware:v1

docker build -t $IMAGETAG .
docker pull $IMAGETAG

docker run -t -v $(pwd):/root/keepkey-firmware --rm $IMAGETAG /bin/sh -c "\
docker run -t -v $(pwd):/root/keepkey-firmware $IMAGETAG /bin/sh -c "\
cd /root/keepkey-firmware/libopencm3 && \
make clean && \
make && \
Expand Down
8 changes: 4 additions & 4 deletions docker_build_keepkey_release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,11 @@ echo # (optional) move to a new line
if [[ $REPLY =~ ^[Yy]$ ]]
then

IMAGETAG=keepkey/firmware
IMAGETAG=kktech/firmware:v1

docker build -t $IMAGETAG .
docker pull $IMAGETAG

docker run -t -v $(pwd):/root/keepkey-firmware --rm $IMAGETAG /bin/sh -c "\
docker run -t -v $(pwd):/root/keepkey-firmware $IMAGETAG /bin/sh -c "\
cd /root/keepkey-firmware/libopencm3 && \
make clean && \
make && \
Expand All @@ -26,4 +26,4 @@ docker run -t -v $(pwd):/root/keepkey-firmware --rm $IMAGETAG /bin/sh -c "\
echo '* KeepKey Application Fingerprint *' && \
echo '*********************************************************************' && \
cat bin/release/keepkey/keepkey_main.bin | sha256sum"
fi
fi
6 changes: 3 additions & 3 deletions docker_build_salt_debug.sh
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
#!/bin/bash

IMAGETAG=keepkey/firmware
IMAGETAG=kktech/firmware:v1

docker build -t $IMAGETAG .
docker pull $IMAGETAG

docker run -t -v $(pwd):/root/keepkey-firmware --rm $IMAGETAG /bin/sh -c "\
docker run -t -v $(pwd):/root/keepkey-firmware $IMAGETAG /bin/sh -c "\
cd /root/keepkey-firmware/libopencm3 && \
make clean && \
make && \
Expand Down
8 changes: 4 additions & 4 deletions docker_build_salt_release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,11 @@ echo # (optional) move to a new line
if [[ $REPLY =~ ^[Yy]$ ]]
then

IMAGETAG=keepkey/firmware
IMAGETAG=kktech/firmware:v1

docker build -t $IMAGETAG .
docker pull $IMAGETAG

docker run -t -v $(pwd):/root/keepkey-firmware --rm $IMAGETAG /bin/sh -c "\
docker run -t -v $(pwd):/root/keepkey-firmware $IMAGETAG /bin/sh -c "\
cd /root/keepkey-firmware/libopencm3 && \
make clean && \
make && \
Expand All @@ -26,4 +26,4 @@ docker run -t -v $(pwd):/root/keepkey-firmware --rm $IMAGETAG /bin/sh -c "\
echo '* KeepKey Application Fingerprint (SALT) *' && \
echo '*********************************************************************' && \
cat bin/release/salt/keepkey_main.bin | sha256sum"
fi
fi

0 comments on commit c6c2c43

Please sign in to comment.