release(tor): explicitly create and set perms for onion dirs
Some checks failed
Publish images to Docker Hub / Publish nodemapper image (push) Has been cancelled
Publish images to Docker Hub / Publish monero image (push) Has been cancelled
Publish images to Docker Hub / Publish exporter image (push) Has been cancelled
Publish images to Docker Hub / Publish tor image (push) Has been cancelled
Publish images to Docker Hub / Publish i2p image (push) Has been cancelled

This commit is contained in:
lza_menace
2025-04-28 12:58:57 -07:00
parent 0243acefd6
commit 751aae5f1c

View File

@@ -2,9 +2,9 @@ FROM ubuntu:24.04
RUN apt-get update && apt-get install tor -y RUN apt-get update && apt-get install tor -y
RUN mkdir -p /run/tor \ RUN mkdir -p /run/tor /var/lib/tor/monerod /var/lib/tor/monero-rpc \
&& chown -R debian-tor:debian-tor /run/tor \ && chown -R debian-tor:debian-tor /run/tor /var/lib/tor/monerod /var/lib/tor/monero-rpc \
&& chmod 700 -R /run/tor && chmod 700 -R /run/tor /var/lib/tor/monerod /var/lib/tor/monero-rpc
COPY dockerfiles/tor-config /etc/tor/torrc COPY dockerfiles/tor-config /etc/tor/torrc