1
0

Fix auto corrupted peers.dat

This commit is contained in:
nicolas.dorier
2023-01-06 12:57:28 +09:00
parent 7a0b2d3a25
commit 31c4fb7fbb
3 changed files with 43 additions and 9 deletions

View File

@@ -153,6 +153,22 @@ docker build -f "$DOCKERFILE" -t "acinq/eclair:release-0.7.0" .
cd - && cd ..
# Build rtl
# https://raw.githubusercontent.com/Ride-The-Lightning/RTL/v0.13.3/dockerfiles/Dockerfile
DOCKERFILE="dockerfiles/Dockerfile"
# https://raw.githubusercontent.com/Ride-The-Lightning/RTL/v0.13.3/dockerfiles/Dockerfile.arm32v7
[[ "$(uname -m)" == "armv7l" ]] && DOCKERFILE="dockerfiles/Dockerfile.arm32v7"
# https://raw.githubusercontent.com/Ride-The-Lightning/RTL/v0.13.3/dockerfiles/Dockerfile.arm64v8
[[ "$(uname -m)" == "aarch64" ]] && DOCKERFILE="dockerfiles/Dockerfile.arm64v8"
echo "Building shahanafarooqui/rtl:0.13.3"
git clone https://github.com/Ride-The-Lightning/RTL rtl
cd rtl
git checkout v0.13.3
cd "$(dirname $DOCKERFILE)"
docker build -f "$DOCKERFILE" -t "shahanafarooqui/rtl:0.13.3" .
cd - && cd ..
# Build lnd
# https://raw.githubusercontent.com/btcpayserver/lnd/basedon-v0.15.4-beta-1/linuxamd64.Dockerfile
DOCKERFILE="linuxamd64.Dockerfile"
@@ -169,19 +185,35 @@ docker build -f "$DOCKERFILE" -t "btcpayserver/lnd:v0.15.4-beta-1" .
cd - && cd ..
# Build rtl
# https://raw.githubusercontent.com/Ride-The-Lightning/RTL/v0.13.3/dockerfiles/Dockerfile
DOCKERFILE="dockerfiles/Dockerfile"
# https://raw.githubusercontent.com/Ride-The-Lightning/RTL/v0.13.3/dockerfiles/Dockerfile.arm32v7
[[ "$(uname -m)" == "armv7l" ]] && DOCKERFILE="dockerfiles/Dockerfile.arm32v7"
# https://raw.githubusercontent.com/Ride-The-Lightning/RTL/v0.13.3/dockerfiles/Dockerfile.arm64v8
[[ "$(uname -m)" == "aarch64" ]] && DOCKERFILE="dockerfiles/Dockerfile.arm64v8"
echo "Building shahanafarooqui/rtl:0.13.3"
git clone https://github.com/Ride-The-Lightning/RTL rtl
cd rtl
git checkout v0.13.3
cd "$(dirname $DOCKERFILE)"
docker build -f "$DOCKERFILE" -t "shahanafarooqui/rtl:0.13.3" .
cd - && cd ..
# Build bitcoin
# https://raw.githubusercontent.com/btcpayserver/dockerfile-deps/Bitcoin/24.0.1/Bitcoin/24.0.1/linuxamd64.Dockerfile
# https://raw.githubusercontent.com/btcpayserver/dockerfile-deps/Bitcoin/24.0.1-1/Bitcoin/24.0.1/linuxamd64.Dockerfile
DOCKERFILE="Bitcoin/24.0.1/linuxamd64.Dockerfile"
# https://raw.githubusercontent.com/btcpayserver/dockerfile-deps/Bitcoin/24.0.1/Bitcoin/24.0.1/linuxarm32v7.Dockerfile
# https://raw.githubusercontent.com/btcpayserver/dockerfile-deps/Bitcoin/24.0.1-1/Bitcoin/24.0.1/linuxarm32v7.Dockerfile
[[ "$(uname -m)" == "armv7l" ]] && DOCKERFILE="Bitcoin/24.0.1/linuxarm32v7.Dockerfile"
# https://raw.githubusercontent.com/btcpayserver/dockerfile-deps/Bitcoin/24.0.1/Bitcoin/24.0.1/linuxarm64v8.Dockerfile
# https://raw.githubusercontent.com/btcpayserver/dockerfile-deps/Bitcoin/24.0.1-1/Bitcoin/24.0.1/linuxarm64v8.Dockerfile
[[ "$(uname -m)" == "aarch64" ]] && DOCKERFILE="Bitcoin/24.0.1/linuxarm64v8.Dockerfile"
echo "Building btcpayserver/bitcoin:24.0.1"
echo "Building btcpayserver/bitcoin:24.0.1-1"
git clone https://github.com/btcpayserver/dockerfile-deps bitcoin
cd bitcoin
git checkout Bitcoin/24.0.1
git checkout Bitcoin/24.0.1-1
cd "$(dirname $DOCKERFILE)"
docker build -f "$DOCKERFILE" -t "btcpayserver/bitcoin:24.0.1" .
docker build -f "$DOCKERFILE" -t "btcpayserver/bitcoin:24.0.1-1" .
cd - && cd ..
@@ -677,7 +709,7 @@ DOCKERFILE="Dockerfile"
echo "Building fireflyiii/core:latest"
git clone https://dev.azure.com/Firefly-III/_git/MainImage core
cd core
git checkout
git checkout
cd "$(dirname $DOCKERFILE)"
docker build -f "$DOCKERFILE" -t "fireflyiii/core:latest" .
cd - && cd ..
@@ -1177,3 +1209,5 @@ git checkout master
cd "$(dirname $DOCKERFILE)"
docker build -f "$DOCKERFILE" -t "romanornr/docker-viacoin:0.15.2" .
cd - && cd ..