Update dockerfile to latest version
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>
This commit is contained in:
parent
290025958f
commit
5b00af9da9
1 changed files with 3 additions and 3 deletions
|
@ -1,4 +1,4 @@
|
|||
FROM alpine:3.15
|
||||
FROM alpine:3.18
|
||||
|
||||
#Base settings
|
||||
ENV HOME /root
|
||||
|
@ -6,9 +6,9 @@ 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
|
||||
|
||||
|
|
Loading…
Reference in a new issue