1
0
This commit is contained in:
nicolas.dorier
2022-07-05 13:43:47 +09:00
parent a6e103c0eb
commit 400bb3de2b
2 changed files with 10 additions and 10 deletions

View File

@@ -950,18 +950,18 @@ cd - && cd ..
# Build tor
# https://raw.githubusercontent.com/btcpayserver/dockerfile-deps/Tor/0.4.6.5/Tor/0.4.6.5/linuxamd64.Dockerfile
DOCKERFILE="Tor/0.4.6.5/linuxamd64.Dockerfile"
# https://raw.githubusercontent.com/btcpayserver/dockerfile-deps/Tor/0.4.6.5/Tor/0.4.6.5/linuxarm32v7.Dockerfile
[[ "$(uname -m)" == "armv7l" ]] && DOCKERFILE="Tor/0.4.6.5/linuxarm32v7.Dockerfile"
# https://raw.githubusercontent.com/btcpayserver/dockerfile-deps/Tor/0.4.6.5/Tor/0.4.6.5/linuxarm64v8.Dockerfile
[[ "$(uname -m)" == "aarch64" ]] && DOCKERFILE="Tor/0.4.6.5/linuxarm64v8.Dockerfile"
echo "Building btcpayserver/tor:0.4.6.5"
# https://raw.githubusercontent.com/btcpayserver/dockerfile-deps/Tor/0.4.7.8/Tor/0.4.7.8/linuxamd64.Dockerfile
DOCKERFILE="Tor/0.4.7.8/linuxamd64.Dockerfile"
# https://raw.githubusercontent.com/btcpayserver/dockerfile-deps/Tor/0.4.7.8/Tor/0.4.7.8/linuxarm32v7.Dockerfile
[[ "$(uname -m)" == "armv7l" ]] && DOCKERFILE="Tor/0.4.7.8/linuxarm32v7.Dockerfile"
# https://raw.githubusercontent.com/btcpayserver/dockerfile-deps/Tor/0.4.7.8/Tor/0.4.7.8/linuxarm64v8.Dockerfile
[[ "$(uname -m)" == "aarch64" ]] && DOCKERFILE="Tor/0.4.7.8/linuxarm64v8.Dockerfile"
echo "Building btcpayserver/tor:0.4.7.8"
git clone https://github.com/btcpayserver/dockerfile-deps tor
cd tor
git checkout Tor/0.4.6.5
git checkout Tor/0.4.7.8
cd "$(dirname $DOCKERFILE)"
docker build -f "$DOCKERFILE" -t "btcpayserver/tor:0.4.6.5" .
docker build -f "$DOCKERFILE" -t "btcpayserver/tor:0.4.7.8" .
cd - && cd ..

View File

@@ -69,7 +69,7 @@ services:
tor:
restart: unless-stopped
image: btcpayserver/tor:0.4.6.5
image: btcpayserver/tor:0.4.7.8
container_name: tor
environment:
TOR_PASSWORD: btcpayserver