containers-tor/Dockerfile

17 lines
430 B
Text
Raw Normal View History

2021-10-03 23:19:00 +00:00
ARG ALPINE_VERSION=3.13.6
ARG BASE_IMAGE=sutty/monit
FROM ${BASE_IMAGE}:${ALPINE_VERSION}
2019-09-10 23:10:18 +00:00
MAINTAINER "f <f@sutty.nl>"
2020-07-18 23:00:32 +00:00
ENV SUTTY="sutty.nl"
ENV HTTP_BASIC_USER=""
ENV HTTP_BASIC_PASSWORD=""
RUN apk add --no-cache tor sutty_tor_hidden_service daemonize
2020-07-18 23:00:32 +00:00
COPY ./monit.conf /etc/monit.d/tor.conf
COPY ./torrc /etc/tor/torrc
COPY ./hidden_servicesd.sh /usr/local/bin/hidden_servicesd
2020-07-18 23:00:32 +00:00
RUN chmod 644 /etc/tor/torrc
VOLUME /var/lib/tor