10 lines
354 B
Bash
10 lines
354 B
Bash
#!/bin/bash
|
|
|
|
cd "${0%/*}/.."
|
|
source ./config/config.sh
|
|
export PROP_SERVER_KEY=$(cat ./config/id_rsa)
|
|
|
|
export UI_MODE=$1
|
|
docker build --build-arg UI_MODE \
|
|
--build-arg PROP_SERVER --build-arg PROP_SERVER_USER --build-arg PROP_SERVER_KEY \
|
|
--build-arg PROP_DIR_SDR --build-arg PROP_DIR_DECODER -t registry.chrz.de:443/move2docker:$UI_MODE-$(arch) . |