From 96e2cd8da601741f0a7fa9e2ebff1970b074c707 Mon Sep 17 00:00:00 2001 From: "nicolas.dorier" Date: Tue, 4 Dec 2018 14:06:12 +0900 Subject: [PATCH] Update DockerFile builder --- contrib/DockerFileBuildHelper/Program.cs | 5 +++++ contrib/build-all-images.sh | 22 +++++++++++++++++----- 2 files changed, 22 insertions(+), 5 deletions(-) diff --git a/contrib/DockerFileBuildHelper/Program.cs b/contrib/DockerFileBuildHelper/Program.cs index c9b4bbf..066af1b 100644 --- a/contrib/DockerFileBuildHelper/Program.cs +++ b/contrib/DockerFileBuildHelper/Program.cs @@ -216,6 +216,11 @@ namespace DockerFileBuildHelper dockerInfo.GitLink = "https://github.com/rockstardev/docker-bitcoin"; dockerInfo.GitRef = "feature/dogecoin"; break; + case "docker-bitcore": + dockerInfo.DockerFilePath = "btx-debian/Dockerfile"; + dockerInfo.GitLink = "https://github.com/dalijolijo/btcpayserver-docker-bitcore"; + dockerInfo.GitRef = "master"; + break; case "docker-feathercoin": dockerInfo.DockerFilePath = $"feathercoin/{image.Tag}/Dockerfile"; dockerInfo.GitLink = "https://github.com/ChekaZ/docker"; diff --git a/contrib/build-all-images.sh b/contrib/build-all-images.sh index ea0818e..a25797e 100755 --- a/contrib/build-all-images.sh +++ b/contrib/build-all-images.sh @@ -98,6 +98,18 @@ docker build -f "$DOCKERFILE" -t "btcpayserver/bitcoin:0.17.0" . cd - && cd .. +# Build docker-bitcore +# https://raw.githubusercontent.com/dalijolijo/btcpayserver-docker-bitcore/master/btx-debian/Dockerfile +DOCKERFILE="btx-debian/Dockerfile" +echo "Building dalijolijo/docker-bitcore:0.15.2" +git clone https://github.com/dalijolijo/btcpayserver-docker-bitcore docker-bitcore +cd docker-bitcore +git checkout master +cd "$(dirname $DOCKERFILE)" +docker build -f "$DOCKERFILE" -t "dalijolijo/docker-bitcore:0.15.2" . +cd - && cd .. + + # Build btcpayserver # https://raw.githubusercontent.com/btcpayserver/btcpayserver/v1.0.3.23/Dockerfile.linuxamd64 DOCKERFILE="Dockerfile.linuxamd64" @@ -197,16 +209,16 @@ cd - && cd .. # Build nbxplorer -# https://raw.githubusercontent.com/dgarage/nbxplorer/v2.0.0.1/Dockerfile.linuxamd64 +# https://raw.githubusercontent.com/dgarage/nbxplorer/v2.0.0.2/Dockerfile.linuxamd64 DOCKERFILE="Dockerfile.linuxamd64" -# https://raw.githubusercontent.com/dgarage/nbxplorer/v2.0.0.1/Dockerfile.linuxarm32v7 +# https://raw.githubusercontent.com/dgarage/nbxplorer/v2.0.0.2/Dockerfile.linuxarm32v7 [[ "$(uname -m)" == "armv7l" ]] && DOCKERFILE="Dockerfile.linuxarm32v7" -echo "Building nicolasdorier/nbxplorer:2.0.0.1" +echo "Building nicolasdorier/nbxplorer:2.0.0.2" git clone https://github.com/dgarage/nbxplorer nbxplorer cd nbxplorer -git checkout v2.0.0.1 +git checkout v2.0.0.2 cd "$(dirname $DOCKERFILE)" -docker build -f "$DOCKERFILE" -t "nicolasdorier/nbxplorer:2.0.0.1" . +docker build -f "$DOCKERFILE" -t "nicolasdorier/nbxplorer:2.0.0.2" . cd - && cd ..