tor-router/Dockerfile

41 lines
782 B
Docker
Raw Normal View History

2015-07-06 14:21:09 +00:00
FROM ubuntu:15.04
VOLUME /var/lib/docker
2015-07-06 14:22:38 +00:00
COPY ./install_docker.sh /usr/local/bin/install_docker
RUN chmod +x /usr/local/bin/install_docker
2015-07-06 14:21:09 +00:00
RUN bash /usr/local/bin/install_docker
2015-07-06 14:25:18 +00:00
COPY docker /usr/bin/docker
2015-07-06 14:21:09 +00:00
ADD ./dind/wrapdocker /usr/local/bin/wrapdocker
RUN chmod +x /usr/local/bin/wrapdocker
COPY ./shutdown.sh /usr/local/bin/stop-tor-router
2015-07-06 14:40:10 +00:00
COPY ./startup.sh /usr/local/bin/start-tor-router
2015-07-06 14:21:09 +00:00
COPY ./tor-router.sh /usr/local/bin/tor-router
COPY ./new_ip.sh /usr/local/bin/new-ip
RUN chmod -v +x /usr/local/bin/stop-tor-router
RUN chmod -v +x /usr/local/bin/start-tor-router
RUN chmod -v +x /usr/local/bin/tor-router
RUN chmod -v +x /usr/local/bin/new-ip
EXPOSE 9050
ENV TOR_INSTANCES 5
2015-07-06 14:40:10 +00:00
ENV TOR_PORT 9050
ENV INSTANCE_PREFIX tor-
2015-07-06 14:21:09 +00:00
CMD ["/usr/local/bin/tor-router"]