|
|
@ -62,18 +62,18 @@ cd - && cd .. |
|
|
|
|
|
|
|
|
|
|
|
# Build lightning |
|
|
|
# https://raw.githubusercontent.com/btcpayserver/lightning/basedon-v0.7.2-1/Dockerfile |
|
|
|
# https://raw.githubusercontent.com/btcpayserver/lightning/basedon-v0.7.3/Dockerfile |
|
|
|
DOCKERFILE="Dockerfile" |
|
|
|
# https://raw.githubusercontent.com/btcpayserver/lightning/basedon-v0.7.2-1/contrib/linuxarm32v7.Dockerfile |
|
|
|
# https://raw.githubusercontent.com/btcpayserver/lightning/basedon-v0.7.3/contrib/linuxarm32v7.Dockerfile |
|
|
|
[[ "$(uname -m)" == "armv7l" ]] && DOCKERFILE="contrib/linuxarm32v7.Dockerfile" |
|
|
|
# https://raw.githubusercontent.com/btcpayserver/lightning/basedon-v0.7.2-1/contrib/linuxarm64v8.Dockerfile |
|
|
|
# https://raw.githubusercontent.com/btcpayserver/lightning/basedon-v0.7.3/contrib/linuxarm64v8.Dockerfile |
|
|
|
[[ "$(uname -m)" == "aarch64" ]] && DOCKERFILE="contrib/linuxarm64v8.Dockerfile" |
|
|
|
echo "Building btcpayserver/lightning:v0.7.2-1" |
|
|
|
echo "Building btcpayserver/lightning:v0.7.3" |
|
|
|
git clone https://github.com/btcpayserver/lightning lightning |
|
|
|
cd lightning |
|
|
|
git checkout basedon-v0.7.2-1 |
|
|
|
git checkout basedon-v0.7.3 |
|
|
|
cd "$(dirname $DOCKERFILE)" |
|
|
|
docker build -f "$DOCKERFILE" -t "btcpayserver/lightning:v0.7.2-1" . |
|
|
|
docker build -f "$DOCKERFILE" -t "btcpayserver/lightning:v0.7.3" . |
|
|
|
cd - && cd .. |
|
|
|
|
|
|
|
|
|
|
@ -280,18 +280,18 @@ cd - && cd .. |
|
|
|
|
|
|
|
|
|
|
|
# Build lightning |
|
|
|
# https://raw.githubusercontent.com/btcpayserver/lightning/basedon-v0.7.2-1/Dockerfile |
|
|
|
# https://raw.githubusercontent.com/btcpayserver/lightning/basedon-v0.7.3/Dockerfile |
|
|
|
DOCKERFILE="Dockerfile" |
|
|
|
# https://raw.githubusercontent.com/btcpayserver/lightning/basedon-v0.7.2-1/contrib/linuxarm32v7.Dockerfile |
|
|
|
# https://raw.githubusercontent.com/btcpayserver/lightning/basedon-v0.7.3/contrib/linuxarm32v7.Dockerfile |
|
|
|
[[ "$(uname -m)" == "armv7l" ]] && DOCKERFILE="contrib/linuxarm32v7.Dockerfile" |
|
|
|
# https://raw.githubusercontent.com/btcpayserver/lightning/basedon-v0.7.2-1/contrib/linuxarm64v8.Dockerfile |
|
|
|
# https://raw.githubusercontent.com/btcpayserver/lightning/basedon-v0.7.3/contrib/linuxarm64v8.Dockerfile |
|
|
|
[[ "$(uname -m)" == "aarch64" ]] && DOCKERFILE="contrib/linuxarm64v8.Dockerfile" |
|
|
|
echo "Building btcpayserver/lightning:v0.7.2-1" |
|
|
|
echo "Building btcpayserver/lightning:v0.7.3" |
|
|
|
git clone https://github.com/btcpayserver/lightning lightning |
|
|
|
cd lightning |
|
|
|
git checkout basedon-v0.7.2-1 |
|
|
|
git checkout basedon-v0.7.3 |
|
|
|
cd "$(dirname $DOCKERFILE)" |
|
|
|
docker build -f "$DOCKERFILE" -t "btcpayserver/lightning:v0.7.2-1" . |
|
|
|
docker build -f "$DOCKERFILE" -t "btcpayserver/lightning:v0.7.3" . |
|
|
|
cd - && cd .. |
|
|
|
|
|
|
|
|
|
|
|