Commit 51778662 authored by Dominik Hebeler's avatar Dominik Hebeler
Browse files

Update Dockerfile

parent b3752d4f
Pipeline #3733 failed with stages
in 11 seconds
......@@ -6,7 +6,11 @@ RUN apk add --update \
WORKDIR /var/lib/tor
CMD cp -r /root/metager_hidden /var/lib/tor && \
chown -R 100:100 /var/lib/tor/metager_hidden && \
chmod -R u=+rw,g=,o= /var/lib/tor/metager_hidden && \
CMD cp -L /root/torrc.sample /etc/tor/ && \
chmod u+w /etc/tor/torrc.sample
mkdir -p /var/lib/tor/metager_hidden && \
cp -L /root/metager_hidden/hostname /var/lib/tor/metager_hidden/ && \
cp -L /root/metager_hidden/private_key /var/lib/tor/metager_hidden/ && \
chown -R 100:65533 /var/lib/tor/metager_hidden && \
chmod -R u=+rwX,g=,o= /var/lib/tor/metager_hidden && \
su -s /bin/sh -c 'tor -f /etc/tor/torrc.sample' tor
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment