From 84db61bfbac48f6c4864dec98a4bb63746fff68b Mon Sep 17 00:00:00 2001 From: "nicolas.dorier" Date: Tue, 4 Dec 2018 13:51:21 +0900 Subject: [PATCH] Add Dash to build-all-images.sh --- contrib/DockerFileBuildHelper/Program.cs | 7 +++++++ contrib/build-all-images.sh | 10 +++++----- 2 files changed, 12 insertions(+), 5 deletions(-) diff --git a/contrib/DockerFileBuildHelper/Program.cs b/contrib/DockerFileBuildHelper/Program.cs index 2f1a583..c9b4bbf 100644 --- a/contrib/DockerFileBuildHelper/Program.cs +++ b/contrib/DockerFileBuildHelper/Program.cs @@ -192,6 +192,13 @@ namespace DockerFileBuildHelper dockerInfo.GitLink = "https://github.com/btcpayserver/dockerfile-deps"; dockerInfo.GitRef = $"Bitcoin/{image.Tag}"; break; + case "dash": + dockerInfo.DockerFilePath = $"Dash/{image.Tag}/linuxamd64.Dockerfile"; + dockerInfo.DockerFilePathARM32v7 = $"Dash/{image.Tag}/linuxarm32v7.Dockerfile"; + dockerInfo.DockerFilePathARM64v8 = $"Dash/{image.Tag}/linuxarm64v8.Dockerfile"; + dockerInfo.GitLink = "https://github.com/btcpayserver/dockerfile-deps"; + dockerInfo.GitRef = $"Dash/{image.Tag}"; + break; case "btcpayserver": dockerInfo.DockerFilePath = "Dockerfile.linuxamd64"; dockerInfo.DockerFilePathARM32v7 = "Dockerfile.linuxarm32v7"; diff --git a/contrib/build-all-images.sh b/contrib/build-all-images.sh index f740aea..ea0818e 100755 --- a/contrib/build-all-images.sh +++ b/contrib/build-all-images.sh @@ -99,16 +99,16 @@ cd - && cd .. # Build btcpayserver -# https://raw.githubusercontent.com/btcpayserver/btcpayserver/v1.0.3.21/Dockerfile.linuxamd64 +# https://raw.githubusercontent.com/btcpayserver/btcpayserver/v1.0.3.23/Dockerfile.linuxamd64 DOCKERFILE="Dockerfile.linuxamd64" -# https://raw.githubusercontent.com/btcpayserver/btcpayserver/v1.0.3.21/Dockerfile.linuxarm32v7 +# https://raw.githubusercontent.com/btcpayserver/btcpayserver/v1.0.3.23/Dockerfile.linuxarm32v7 [[ "$(uname -m)" == "armv7l" ]] && DOCKERFILE="Dockerfile.linuxarm32v7" -echo "Building btcpayserver/btcpayserver:1.0.3.21" +echo "Building btcpayserver/btcpayserver:1.0.3.23" git clone https://github.com/btcpayserver/btcpayserver btcpayserver cd btcpayserver -git checkout v1.0.3.21 +git checkout v1.0.3.23 cd "$(dirname $DOCKERFILE)" -docker build -f "$DOCKERFILE" -t "btcpayserver/btcpayserver:1.0.3.21" . +docker build -f "$DOCKERFILE" -t "btcpayserver/btcpayserver:1.0.3.23" . cd - && cd ..