Skip to content

Commit

Permalink
Update tor
Browse files Browse the repository at this point in the history
  • Loading branch information
NicolasDorier committed Jun 15, 2021
1 parent 776fdbe commit 365e990
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 11 deletions.
22 changes: 12 additions & 10 deletions contrib/build-all-images.sh
Original file line number Diff line number Diff line change
Expand Up @@ -314,7 +314,7 @@ cd - && cd ..


# Build lightning
# https://raw.githubusercontent.com/Groestlcoin/lightning/v0.9.2/Dockerfile
# https://raw.githubusercontent.com/Groestlcoin/lightning/v0.10.0/Dockerfile
DOCKERFILE="Dockerfile"
echo "Building groestlcoin/lightning:v0.10.0"
git clone https://github.com/Groestlcoin/lightning lightning
Expand Down Expand Up @@ -808,18 +808,18 @@ cd - && cd ..


# Build tor
# https://raw.githubusercontent.com/btcpayserver/dockerfile-deps/Tor/0.4.4.7/Tor/0.4.4.7/linuxamd64.Dockerfile
DOCKERFILE="Tor/0.4.4.7/linuxamd64.Dockerfile"
# https://raw.githubusercontent.com/btcpayserver/dockerfile-deps/Tor/0.4.4.7/Tor/0.4.4.7/linuxarm32v7.Dockerfile
[[ "$(uname -m)" == "armv7l" ]] && DOCKERFILE="Tor/0.4.4.7/linuxarm32v7.Dockerfile"
# https://raw.githubusercontent.com/btcpayserver/dockerfile-deps/Tor/0.4.4.7/Tor/0.4.4.7/linuxarm64v8.Dockerfile
[[ "$(uname -m)" == "aarch64" ]] && DOCKERFILE="Tor/0.4.4.7/linuxarm64v8.Dockerfile"
echo "Building btcpayserver/tor:0.4.4.7"
# 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"
git clone https://github.com/btcpayserver/dockerfile-deps tor
cd tor
git checkout Tor/0.4.4.7
git checkout Tor/0.4.6.5
cd "$(dirname $DOCKERFILE)"
docker build -f "$DOCKERFILE" -t "btcpayserver/tor:0.4.4.7" .
docker build -f "$DOCKERFILE" -t "btcpayserver/tor:0.4.6.5" .
cd - && cd ..


Expand Down Expand Up @@ -1009,3 +1009,5 @@ git checkout master
cd "$(dirname $DOCKERFILE)"
docker build -f "$DOCKERFILE" -t "romanornr/docker-viacoin:0.15.2" .
cd - && cd ..


2 changes: 1 addition & 1 deletion docker-compose-generator/docker-fragments/opt-add-tor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ services:

tor:
restart: unless-stopped
image: btcpayserver/tor:0.4.4.7
image: btcpayserver/tor:0.4.6.5
container_name: tor
environment:
TOR_PASSWORD: btcpayserver
Expand Down

0 comments on commit 365e990

Please sign in to comment.