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

docker: add PRODUCTION env variable to build script

This commit is contained in:
Pavol Rusnak 2018-11-05 21:41:03 +01:00
parent fc0a44176f
commit 6ce1794248
No known key found for this signature in database
GPG Key ID: 91F3B339B9A02A3D

View File

@ -11,6 +11,7 @@ fi
IMAGE=trezor-core-build.$TOOLCHAIN_FLAVOR
TAG=${1:-master}
REPOSITORY=${2:-trezor}
PRODUCTION=${PRODUCTION:-0}
if [ "$REPOSITORY" = "local" ]; then
REPOSITORY=file:///local/
@ -28,4 +29,4 @@ docker run -t -v $(pwd):/local -v $(pwd)/build-docker:/build:z --user="$(stat -c
ln -s /build build &&
git checkout $TAG && \
git submodule update --init --recursive && \
make clean vendor build_boardloader build_bootloader build_prodtest build_firmware"
PRODUCTION=$PRODUCTION make clean vendor build_boardloader build_bootloader build_prodtest build_firmware"