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
|
#Base settings
|
||||||
ENV HOME /root
|
ENV HOME /root
|
||||||
|
@ -6,14 +6,13 @@ ENV HOME /root
|
||||||
COPY requirements.txt /root/requirements.txt
|
COPY requirements.txt /root/requirements.txt
|
||||||
|
|
||||||
#Install ZeroNet
|
#Install ZeroNet
|
||||||
RUN apt-get update && apt-get install -yq python3 python3-dev openssl \
|
RUN apk --update --no-cache --no-progress add python3 python3-dev gcc libffi-dev musl-dev make tor openssl \
|
||||||
&& apt-get list \
|
|
||||||
&& apk --no-cache --no-progress add python3 python3-dev gcc libffi-dev musl-dev make tor openssl \
|
|
||||||
&& pip3 install -r /root/requirements.txt \
|
&& pip3 install -r /root/requirements.txt \
|
||||||
&& apk del python3-dev gcc libffi-dev musl-dev make \
|
&& apk del python3-dev gcc libffi-dev musl-dev make \
|
||||||
&& echo "ControlPort 9051" >> /etc/tor/torrc \
|
&& echo "ControlPort 9051" >> /etc/tor/torrc \
|
||||||
&& echo "CookieAuthentication 1" >> /etc/tor/torrc \
|
&& echo "CookieAuthentication 1" >> /etc/tor/torrc
|
||||||
&& python3 -V \
|
|
||||||
|
RUN python3 -V \
|
||||||
&& python3 -m pip list \
|
&& python3 -m pip list \
|
||||||
&& tor --version \
|
&& tor --version \
|
||||||
&& openssl version
|
&& openssl version
|
||||||
|
|
Loading…
Reference in a new issue