mirror of
https://github.com/tahoe-lafs/tahoe-lafs.git
synced 2024-12-18 20:47:54 +00:00
Install newer tor, from torproject.org
This commit is contained in:
parent
c7b2ae7b2c
commit
5105d1ae54
@ -10,16 +10,24 @@ ENV BUILD_SRC_ROOT /tmp/project
|
||||
RUN apt-get --quiet update && \
|
||||
apt-get --quiet --yes install \
|
||||
git \
|
||||
wget \
|
||||
lsb-release \
|
||||
sudo \
|
||||
build-essential \
|
||||
python-is-python3 \
|
||||
python${PYTHON_VERSION} \
|
||||
python${PYTHON_VERSION}-dev \
|
||||
libffi-dev \
|
||||
libssl-dev \
|
||||
libyaml-dev \
|
||||
virtualenv \
|
||||
tor
|
||||
apt-transport-https
|
||||
|
||||
COPY .circleci/apt-tor-list /etc/apt/sources.list.d/tor.list
|
||||
RUN wget -qO- https://deb.torproject.org/torproject.org/A3C4F0F979CAA22CDBA8F512EE8CBC9E886DDD89.asc | gpg --dearmor | tee /usr/share/keyrings/deb.torproject.org-keyring.gpg >/dev/null && \
|
||||
apt-get update
|
||||
RUN apt-get install -y deb.torproject.org-keyring && \
|
||||
apt-get install -y tor
|
||||
|
||||
# Get the project source. This is better than it seems. CircleCI will
|
||||
# *update* this checkout on each job run, saving us more time per-job.
|
||||
|
2
.circleci/apt-tor-list
Normal file
2
.circleci/apt-tor-list
Normal file
@ -0,0 +1,2 @@
|
||||
deb [signed-by=/usr/share/keyrings/deb.torproject.org-keyring.gpg] https://deb.torproject.org/torproject.org stable main
|
||||
deb-src [signed-by=/usr/share/keyrings/deb.torproject.org-keyring.gpg] https://deb.torproject.org/torproject.org stable main
|
Loading…
Reference in New Issue
Block a user