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 <[email protected]>
  • Loading branch information
marek22k committed Oct 21, 2023
1 parent 2900259 commit 0cdb302
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
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 \
&& echo "ControlPort 9051" >> /etc/tor/torrc \
Expand Down

0 comments on commit 0cdb302

Please sign in to comment.