mirror of
https://github.com/tahoe-lafs/tahoe-lafs.git
synced 2025-01-21 20:08:15 +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 && \
|
RUN apt-get --quiet update && \
|
||||||
apt-get --quiet --yes install \
|
apt-get --quiet --yes install \
|
||||||
git \
|
git \
|
||||||
|
wget \
|
||||||
lsb-release \
|
lsb-release \
|
||||||
sudo \
|
sudo \
|
||||||
build-essential \
|
build-essential \
|
||||||
|
python-is-python3 \
|
||||||
python${PYTHON_VERSION} \
|
python${PYTHON_VERSION} \
|
||||||
python${PYTHON_VERSION}-dev \
|
python${PYTHON_VERSION}-dev \
|
||||||
libffi-dev \
|
libffi-dev \
|
||||||
libssl-dev \
|
libssl-dev \
|
||||||
libyaml-dev \
|
libyaml-dev \
|
||||||
virtualenv \
|
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
|
# 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.
|
# *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