Update Dockerfile
This commit is contained in:
parent
abde3d4cf7
commit
740fe65355
1 changed files with 5 additions and 6 deletions
11
Dockerfile
11
Dockerfile
|
@ -1,4 +1,4 @@
|
|||
FROM alpine:3.8
|
||||
FROM alpine:3.10
|
||||
|
||||
#Base settings
|
||||
ENV HOME /root
|
||||
|
@ -6,14 +6,13 @@ ENV HOME /root
|
|||
COPY requirements.txt /root/requirements.txt
|
||||
|
||||
#Install ZeroNet
|
||||
RUN apt-get update && apt-get install -yq python3 python3-dev openssl \
|
||||
&& apt-get list \
|
||||
&& apk --no-cache --no-progress add python3 python3-dev gcc libffi-dev musl-dev make tor openssl \
|
||||
RUN apk --update --no-cache --no-progress add python3 python3-dev gcc libffi-dev musl-dev make tor openssl \
|
||||
&& pip3 install -r /root/requirements.txt \
|
||||
&& apk del python3-dev gcc libffi-dev musl-dev make \
|
||||
&& echo "ControlPort 9051" >> /etc/tor/torrc \
|
||||
&& echo "CookieAuthentication 1" >> /etc/tor/torrc \
|
||||
&& python3 -V \
|
||||
&& echo "CookieAuthentication 1" >> /etc/tor/torrc
|
||||
|
||||
RUN python3 -V \
|
||||
&& python3 -m pip list \
|
||||
&& tor --version \
|
||||
&& openssl version
|
||||
|
|
Loading…
Reference in a new issue