Skip to content

Instantly share code, notes, and snippets.

@rdsubhas
Last active October 2, 2015 22:04
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save rdsubhas/8f2ff1533390afa36e4f to your computer and use it in GitHub Desktop.
Save rdsubhas/8f2ff1533390afa36e4f to your computer and use it in GitHub Desktop.
docker-alpine-runit
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"]
listen-address 0.0.0.0:8118
forward-socks5 / localhost:9050 .
#!/bin/sh
privoxy --no-daemon
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment