Last active
October 2, 2015 22:04
-
-
Save rdsubhas/8f2ff1533390afa36e4f to your computer and use it in GitHub Desktop.
docker-alpine-runit
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FROM alpine:3.2 | |
EXPOSE 8118 9050 | |
RUN echo '@edge http://nl.alpinelinux.org/alpine/edge/main' >> /etc/apk/repositories && \ | |
echo '@testing http://nl.alpinelinux.org/alpine/edge/testing' >> /etc/apk/repositories && \ | |
apk --update add privoxy@edge tor@testing runit@testing | |
COPY services /etc/service/ | |
CMD ["runsvdir", "/etc/service"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
listen-address 0.0.0.0:8118 | |
forward-socks5 / localhost:9050 . |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
privoxy --no-daemon |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
tor |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment