diff --git a/contrib/DockerFileBuildHelper/Program.cs b/contrib/DockerFileBuildHelper/Program.cs index 066af1b..cf5759f 100644 --- a/contrib/DockerFileBuildHelper/Program.cs +++ b/contrib/DockerFileBuildHelper/Program.cs @@ -181,9 +181,10 @@ namespace DockerFileBuildHelper dockerInfo.GitRef = $"basedon-{image.Tag}"; break; case "lnd": - dockerInfo.DockerFilePath = "BTCPayServer.Dockerfile"; + dockerInfo.DockerFilePath = "linuxamd64.Dockerfile"; + dockerInfo.DockerFilePathARM32v7 = "linuxarm32v7.Dockerfile"; dockerInfo.GitLink = "https://github.com/btcpayserver/lnd"; - dockerInfo.GitRef = $"basedon-v{image.Tag}"; + dockerInfo.GitRef = $"basedon-{image.Tag}"; break; case "bitcoin": dockerInfo.DockerFilePath = $"Bitcoin/{image.Tag}/linuxamd64.Dockerfile"; diff --git a/contrib/build-all-images.sh b/contrib/build-all-images.sh index 84d729d..344f77d 100755 --- a/contrib/build-all-images.sh +++ b/contrib/build-all-images.sh @@ -71,14 +71,16 @@ cd - && cd .. # Build lnd -# https://raw.githubusercontent.com/btcpayserver/lnd/basedon-v0.5-beta-2/BTCPayServer.Dockerfile -DOCKERFILE="BTCPayServer.Dockerfile" -echo "Building btcpayserver/lnd:0.5-beta-2" +# https://raw.githubusercontent.com/btcpayserver/lnd/basedon-v0.5-beta-3/linuxamd64.Dockerfile +DOCKERFILE="linuxamd64.Dockerfile" +# 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 cd lnd -git checkout basedon-v0.5-beta-2 +git checkout basedon-v0.5-beta-3 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 .. @@ -189,14 +191,16 @@ cd - && cd .. # Build lnd -# https://raw.githubusercontent.com/btcpayserver/lnd/basedon-v0.5-beta-2/BTCPayServer.Dockerfile -DOCKERFILE="BTCPayServer.Dockerfile" -echo "Building btcpayserver/lnd:0.5-beta-2" +# https://raw.githubusercontent.com/btcpayserver/lnd/basedon-v0.5-beta-3/linuxamd64.Dockerfile +DOCKERFILE="linuxamd64.Dockerfile" +# 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 cd lnd -git checkout basedon-v0.5-beta-2 +git checkout basedon-v0.5-beta-3 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 .. diff --git a/docker-compose-generator/docker-fragments/bitcoin-lnd.yml b/docker-compose-generator/docker-fragments/bitcoin-lnd.yml index dc38442..432eeb9 100644 --- a/docker-compose-generator/docker-fragments/bitcoin-lnd.yml +++ b/docker-compose-generator/docker-fragments/bitcoin-lnd.yml @@ -2,7 +2,7 @@ version: "3" services: lnd_bitcoin: - image: btcpayserver/lnd:0.5-beta-2 + image: btcpayserver/lnd:v0.5-beta-3 container_name: btcpayserver_lnd_bitcoin restart: unless-stopped environment: diff --git a/docker-compose-generator/docker-fragments/litecoin-lnd.yml b/docker-compose-generator/docker-fragments/litecoin-lnd.yml index ced78bd..8f88c5a 100644 --- a/docker-compose-generator/docker-fragments/litecoin-lnd.yml +++ b/docker-compose-generator/docker-fragments/litecoin-lnd.yml @@ -2,7 +2,7 @@ version: "3" services: lnd_litecoin: - image: btcpayserver/lnd:0.5-beta-2 + image: btcpayserver/lnd:v0.5-beta-3 container_name: btcpayserver_lnd_litecoin restart: unless-stopped environment: