Merge pull request #1957 from krzotr/patch-1

Added support for encrypted connections in Dockerfile - added OpenSSL…
This commit is contained in:
ZeroNet 2019-04-04 19:19:45 +02:00 committed by GitHub
commit 171b591798
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -4,7 +4,7 @@ FROM alpine:3.8
ENV HOME /root ENV HOME /root
#Install ZeroNet #Install ZeroNet
RUN apk --no-cache --no-progress add musl-dev gcc python python-dev py2-pip tor \ RUN apk --no-cache --no-progress add musl-dev gcc python python-dev py2-pip tor openssl \
&& pip install --no-cache-dir gevent msgpack \ && pip install --no-cache-dir gevent msgpack \
&& apk del musl-dev gcc python-dev py2-pip \ && apk del musl-dev gcc python-dev py2-pip \
&& echo "ControlPort 9051" >> /etc/tor/torrc \ && echo "ControlPort 9051" >> /etc/tor/torrc \