Revert "Bump Tor"

This reverts commit 5ea9f8c1d0.
This commit is contained in:
nicolas.dorier 2020-05-02 06:33:27 +09:00
parent 5ea9f8c1d0
commit d211d8c467
No known key found for this signature in database
GPG Key ID: 6618763EF09186FE
3 changed files with 11 additions and 11 deletions

View File

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

View File

@ -17,7 +17,7 @@ services:
tor-relay:
restart: unless-stopped
image: btcpayserver/tor:0.4.2.7
image: btcpayserver/tor:0.4.1.5
container_name: tor-relay
environment:
TOR_PASSWORD: btcpayserver

View File

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