1
0
This commit is contained in:
nicolas.dorier
2019-07-25 21:22:33 +09:00
parent a6a9e61602
commit c60b727062
3 changed files with 12 additions and 12 deletions

View File

@@ -166,16 +166,16 @@ cd - && cd ..
# Build btcpayserver
# https://raw.githubusercontent.com/btcpayserver/btcpayserver/v1.0.3.124/amd64.Dockerfile
# https://raw.githubusercontent.com/btcpayserver/btcpayserver/v1.0.3.125/amd64.Dockerfile
DOCKERFILE="amd64.Dockerfile"
# https://raw.githubusercontent.com/btcpayserver/btcpayserver/v1.0.3.124/arm32v7.Dockerfile
# https://raw.githubusercontent.com/btcpayserver/btcpayserver/v1.0.3.125/arm32v7.Dockerfile
[[ "$(uname -m)" == "armv7l" ]] && DOCKERFILE="arm32v7.Dockerfile"
echo "Building btcpayserver/btcpayserver:1.0.3.124"
echo "Building btcpayserver/btcpayserver:1.0.3.125"
git clone https://github.com/btcpayserver/btcpayserver btcpayserver
cd btcpayserver
git checkout v1.0.3.124
git checkout v1.0.3.125
cd "$(dirname $DOCKERFILE)"
docker build -f "$DOCKERFILE" -t "btcpayserver/btcpayserver:1.0.3.124" .
docker build -f "$DOCKERFILE" -t "btcpayserver/btcpayserver:1.0.3.125" .
cd - && cd ..
@@ -220,14 +220,14 @@ cd - && cd ..
# Build lightning
# https://raw.githubusercontent.com/Groestlcoin/lightning/v0.7.0/Dockerfile
# https://raw.githubusercontent.com/Groestlcoin/lightning/v0.7.1/Dockerfile
DOCKERFILE="Dockerfile"
echo "Building groestlcoin/lightning:v0.7.0"
echo "Building groestlcoin/lightning:v0.7.1"
git clone https://github.com/Groestlcoin/lightning lightning
cd lightning
git checkout v0.7.0
git checkout v0.7.1
cd "$(dirname $DOCKERFILE)"
docker build -f "$DOCKERFILE" -t "groestlcoin/lightning:v0.7.0" .
docker build -f "$DOCKERFILE" -t "groestlcoin/lightning:v0.7.1" .
cd - && cd ..