Skip to content

Commit

Permalink
Update dockerfile to latest version
Browse files Browse the repository at this point in the history
Use of a current Alpine version and therefore a more current Tor version.
Furthermore, git was added as a dependency, as this is necessary to install all required pip packages.

Signed-off-by: Marek Küthe <m.k@mk16.de>
  • Loading branch information
marek22k committed Oct 22, 2023
1 parent 2900259 commit 5b00af9
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
FROM alpine:3.15
FROM alpine:3.18

#Base settings
ENV HOME /root

COPY requirements.txt /root/requirements.txt

#Install ZeroNet
RUN apk --update --no-cache --no-progress add python3 python3-dev py3-pip gcc g++ autoconf automake libtool libffi-dev musl-dev make tor openssl \
RUN apk --update --no-cache --no-progress add python3 python3-dev py3-pip gcc g++ autoconf automake libtool libffi-dev musl-dev make tor openssl git \
&& pip3 install -r /root/requirements.txt \
&& apk del python3-dev gcc g++ autoconf automake libtool libffi-dev musl-dev make \
&& apk del python3-dev gcc g++ autoconf automake libtool libffi-dev musl-dev make git \
&& echo "ControlPort 9051" >> /etc/tor/torrc \
&& echo "CookieAuthentication 1" >> /etc/tor/torrc

Expand Down

0 comments on commit 5b00af9

Please sign in to comment.