Browse Source
Make sure btcpay-build succeed if no internet connection
tor-relay
nicolas.dorier
5 years ago
No known key found for this signature in database
GPG Key ID: 6618763EF09186FE
1 changed files with
4 additions and
0 deletions
-
build.sh
|
@ -1,11 +1,15 @@ |
|
|
#!/bin/bash |
|
|
#!/bin/bash |
|
|
|
|
|
|
|
|
|
|
|
set -e |
|
|
|
|
|
|
|
|
: "${BTCPAYGEN_DOCKER_IMAGE:=btcpayserver/docker-compose-generator}" |
|
|
: "${BTCPAYGEN_DOCKER_IMAGE:=btcpayserver/docker-compose-generator}" |
|
|
if [ "$BTCPAYGEN_DOCKER_IMAGE" == "btcpayserver/docker-compose-generator:local" ] |
|
|
if [ "$BTCPAYGEN_DOCKER_IMAGE" == "btcpayserver/docker-compose-generator:local" ] |
|
|
then |
|
|
then |
|
|
docker build docker-compose-generator -f docker-compose-generator/linuxamd64.Dockerfile --tag $BTCPAYGEN_DOCKER_IMAGE |
|
|
docker build docker-compose-generator -f docker-compose-generator/linuxamd64.Dockerfile --tag $BTCPAYGEN_DOCKER_IMAGE |
|
|
else |
|
|
else |
|
|
|
|
|
set +e |
|
|
docker pull $BTCPAYGEN_DOCKER_IMAGE |
|
|
docker pull $BTCPAYGEN_DOCKER_IMAGE |
|
|
|
|
|
set -e |
|
|
fi |
|
|
fi |
|
|
|
|
|
|
|
|
# This script will run docker-compose-generator in a container to generate the yml files |
|
|
# This script will run docker-compose-generator in a container to generate the yml files |
|
|