move2docker/scripts/build.sh

10 lines
354 B
Bash
Raw Normal View History

2020-02-11 22:55:22 +00:00
#!/bin/bash
cd "${0%/*}/.."
source ./config/config.sh
export PROP_SERVER_KEY=$(cat ./config/id_rsa)
2020-02-12 05:02:06 +00:00
2020-02-12 16:57:13 +00:00
export UI_MODE=$1
2020-02-12 14:56:29 +00:00
docker build --build-arg UI_MODE \
2020-02-12 05:02:06 +00:00
--build-arg PROP_SERVER --build-arg PROP_SERVER_USER --build-arg PROP_SERVER_KEY \
2020-02-12 16:57:13 +00:00
--build-arg PROP_DIR_SDR --build-arg PROP_DIR_DECODER -t registry.chrz.de:443/move2docker:$UI_MODE-$(arch) .