Browse Source

update lnd

feature/auto_ssh
nicolas.dorier 6 years ago
parent
commit
595c997c85
  1. 5
      contrib/DockerFileBuildHelper/Program.cs
  2. 24
      contrib/build-all-images.sh
  3. 2
      docker-compose-generator/docker-fragments/bitcoin-lnd.yml
  4. 2
      docker-compose-generator/docker-fragments/litecoin-lnd.yml

5
contrib/DockerFileBuildHelper/Program.cs

@ -181,9 +181,10 @@ namespace DockerFileBuildHelper
dockerInfo.GitRef = $"basedon-{image.Tag}"; dockerInfo.GitRef = $"basedon-{image.Tag}";
break; break;
case "lnd": case "lnd":
dockerInfo.DockerFilePath = "BTCPayServer.Dockerfile"; dockerInfo.DockerFilePath = "linuxamd64.Dockerfile";
dockerInfo.DockerFilePathARM32v7 = "linuxarm32v7.Dockerfile";
dockerInfo.GitLink = "https://github.com/btcpayserver/lnd"; dockerInfo.GitLink = "https://github.com/btcpayserver/lnd";
dockerInfo.GitRef = $"basedon-v{image.Tag}"; dockerInfo.GitRef = $"basedon-{image.Tag}";
break; break;
case "bitcoin": case "bitcoin":
dockerInfo.DockerFilePath = $"Bitcoin/{image.Tag}/linuxamd64.Dockerfile"; dockerInfo.DockerFilePath = $"Bitcoin/{image.Tag}/linuxamd64.Dockerfile";

24
contrib/build-all-images.sh

@ -71,14 +71,16 @@ cd - && cd ..
# Build lnd # Build lnd
# https://raw.githubusercontent.com/btcpayserver/lnd/basedon-v0.5-beta-2/BTCPayServer.Dockerfile # https://raw.githubusercontent.com/btcpayserver/lnd/basedon-v0.5-beta-3/linuxamd64.Dockerfile
DOCKERFILE="BTCPayServer.Dockerfile" DOCKERFILE="linuxamd64.Dockerfile"
echo "Building btcpayserver/lnd:0.5-beta-2" # https://raw.githubusercontent.com/btcpayserver/lnd/basedon-v0.5-beta-3/linuxarm32v7.Dockerfile
[[ "$(uname -m)" == "armv7l" ]] && DOCKERFILE="linuxarm32v7.Dockerfile"
echo "Building btcpayserver/lnd:v0.5-beta-3"
git clone https://github.com/btcpayserver/lnd lnd git clone https://github.com/btcpayserver/lnd lnd
cd lnd cd lnd
git checkout basedon-v0.5-beta-2 git checkout basedon-v0.5-beta-3
cd "$(dirname $DOCKERFILE)" cd "$(dirname $DOCKERFILE)"
docker build -f "$DOCKERFILE" -t "btcpayserver/lnd:0.5-beta-2" . docker build -f "$DOCKERFILE" -t "btcpayserver/lnd:v0.5-beta-3" .
cd - && cd .. cd - && cd ..
@ -189,14 +191,16 @@ cd - && cd ..
# Build lnd # Build lnd
# https://raw.githubusercontent.com/btcpayserver/lnd/basedon-v0.5-beta-2/BTCPayServer.Dockerfile # https://raw.githubusercontent.com/btcpayserver/lnd/basedon-v0.5-beta-3/linuxamd64.Dockerfile
DOCKERFILE="BTCPayServer.Dockerfile" DOCKERFILE="linuxamd64.Dockerfile"
echo "Building btcpayserver/lnd:0.5-beta-2" # https://raw.githubusercontent.com/btcpayserver/lnd/basedon-v0.5-beta-3/linuxarm32v7.Dockerfile
[[ "$(uname -m)" == "armv7l" ]] && DOCKERFILE="linuxarm32v7.Dockerfile"
echo "Building btcpayserver/lnd:v0.5-beta-3"
git clone https://github.com/btcpayserver/lnd lnd git clone https://github.com/btcpayserver/lnd lnd
cd lnd cd lnd
git checkout basedon-v0.5-beta-2 git checkout basedon-v0.5-beta-3
cd "$(dirname $DOCKERFILE)" cd "$(dirname $DOCKERFILE)"
docker build -f "$DOCKERFILE" -t "btcpayserver/lnd:0.5-beta-2" . docker build -f "$DOCKERFILE" -t "btcpayserver/lnd:v0.5-beta-3" .
cd - && cd .. cd - && cd ..

2
docker-compose-generator/docker-fragments/bitcoin-lnd.yml

@ -2,7 +2,7 @@ version: "3"
services: services:
lnd_bitcoin: lnd_bitcoin:
image: btcpayserver/lnd:0.5-beta-2 image: btcpayserver/lnd:v0.5-beta-3
container_name: btcpayserver_lnd_bitcoin container_name: btcpayserver_lnd_bitcoin
restart: unless-stopped restart: unless-stopped
environment: environment:

2
docker-compose-generator/docker-fragments/litecoin-lnd.yml

@ -2,7 +2,7 @@ version: "3"
services: services:
lnd_litecoin: lnd_litecoin:
image: btcpayserver/lnd:0.5-beta-2 image: btcpayserver/lnd:v0.5-beta-3
container_name: btcpayserver_lnd_litecoin container_name: btcpayserver_lnd_litecoin
restart: unless-stopped restart: unless-stopped
environment: environment:

Loading…
Cancel
Save