diff --git a/Dockerfile b/Dockerfile index abdbec71..85d42169 100644 --- a/Dockerfile +++ b/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