move2docker/scripts/buildx.sh
2020-02-12 06:21:45 +01:00

9 lines
340 B
Bash

#!/bin/bash
cd "${0%/*}/.."
source ./config/config.sh
export PROP_SERVER_KEY=$(cat ./config/id_rsa)
docker buildx build --platform linux/amd64,linux/arm64,linux/arm/v7 \
--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 move2docker:latest .