Commit graph

28 commits

Author SHA1 Message Date
Chirstophe Mehay
6d1320f29b Update to python 3.10 2022-07-26 23:28:23 +02:00
Chirstophe Mehay
72579b20f2 Update python to 3.9 2021-12-24 00:27:34 +01:00
Chirstophe Mehay
1dcec5c580 Bump to tor 0.4.4.7
Add rust in the tor build stage
also ignore GPG_KEY to avoid waring at startup
2021-02-13 12:44:28 +01:00
Andreas Schildbach
25f83d89a5 Make docker determine the 'last tor version' and 'last torsocks version'
This copies the logic from last_tor_version.sh and last_torsocks_version.sh
into the Dockerfile itself. The Tor version can still be specified with the
`tor_version` and `torsocks_version` arguments, as before. If these arguments
are missing, the last versions are determined by the regular expression.

This has a couple of advantages:

1) Users need not have git, make or docker-compose installed to build the image.
2) Users can build the image entirely inside a container which reduces the trust
   needed in the safety of the build instructions.
3) `git tag` is much quicker than `git ls-remote` since it operates on local data.
2020-12-13 15:36:20 +01:00
Andreas Schildbach
83d59f7ff0 Dockerfile: Add torsocks binary.
This has two purposes:
1) The 'torify' wrapper is already included, and it needs torsocks.
2) Use torsocks for health checking your onion service like this:

healthcheck:
  test: ["CMD-SHELL", "torsocks nc -z <onion address> <port> || exit 1"]
  interval: 2m
2020-12-06 01:09:47 +01:00
Andreas Schildbach
bd66bcd2fd Dockerfile: Fix missing gcc and libc-dev build requirements. 2020-11-28 11:31:09 +01:00
Christophe Mehay
4ba0ac02d8 Update to python 3.8 2020-10-04 15:12:19 +02:00
Christophe Mehay
2bb40b2435 Remove tag signature verification due to issue with expired keys 2020-10-04 12:10:10 +02:00
Christophe Mehay
5b6e87c6e3 Add tests for Vanguards setup 2020-06-15 00:02:38 +02:00
Christophe Mehay
0334d7eb6b WIP: Adding vanguard... 2020-06-15 00:02:38 +02:00
Christophe Mehay
dacda29137 Do not exit if matched environment variable cannot be parsed 2020-05-09 18:17:15 +02:00
Christophe Mehay
caf94bc54d Migrate from Pipenv to Poetry 2020-05-09 18:17:15 +02:00
Christophe Mehay
d3252e276e Add tor v3 addresses support 2019-04-29 22:37:22 +02:00
Christophe Mehay
ccb26c9378 Fix dockerfile 2017-08-21 10:15:17 +02:00
Christophe Mehay
27dd14ab33 Add support for multiple services per address 2017-08-21 09:38:45 +02:00
Christophe Mehay
3843fe5bd3 Parse multiple ports from environment 2017-02-11 00:33:15 +01:00
Christophe Mehay
2bd4787a45 Add reload on config change 2017-02-07 09:21:01 +01:00
Martin Scharm
9e7a8ec836 install latest version of tor
instead of maintaining an environmental variable the script now
goes for the latest tag known to the git repo.
2016-11-20 01:21:56 +01:00
Christophe Mehay
2e0f4dab4a Don't build tests and reset confdir to /etc 2016-09-27 18:54:59 +02:00
Christophe Mehay
38ba81f386 Use alpine and build tor from source 2016-09-27 02:59:01 +02:00
Christophe Mehay
4615d83430 Add support for docker-compose v2 and private keys 2016-09-23 03:27:33 +02:00
Christophe Mehay
6e513648cf Update pyentrypoint to 0.3.7 2016-07-02 16:28:06 +02:00
Christophe Mehay
a4d935a8b4 Update pyentrypoint to 0.3.1 2016-04-30 01:18:38 +02:00
Christophe Mehay
7cb15100bd Update to pyentrypoint 0.2.3 2016-03-27 21:43:23 +02:00
Christophe Mehay
8285c00f6e Add onions tool in container 2016-03-21 23:37:24 +01:00
Christophe Mehay
ccfdb851cc Using pyentrypoint 2016-03-15 00:09:42 +01:00
Christophe Mehay
da855e0e5f Fix entrypoint 2016-01-11 23:07:49 +01:00
Christophe Mehay
45219ce52f initial commit 2015-09-21 17:27:06 +02:00