Everythings working

This commit is contained in:
Subhas Dandapani
2015-10-03 02:21:55 +05:30
commit 3f3e66b14e
6 changed files with 101 additions and 0 deletions

81
.gitignore vendored Normal file
View File

@@ -0,0 +1,81 @@
###
###
###
###
### !!!DO NOT EDIT!!!
### AUTO-GENERATED BY https://www.gitignore.io
### FOR CUSTOM RULES, SCROLL TO THE BOTTOM
###
###
###
###
# Created by https://www.gitignore.io/api/linux,windows,osx
### Linux ###
*~
# KDE directory preferences
.directory
# Linux trash folder which might appear on any partition or disk
.Trash-*
### Windows ###
# Windows image file caches
Thumbs.db
ehthumbs.db
# Folder config file
Desktop.ini
# Recycle Bin used on file shares
$RECYCLE.BIN/
# Windows Installer files
*.cab
*.msi
*.msm
*.msp
# Windows shortcuts
*.lnk
### OSX ###
.DS_Store
.AppleDouble
.LSOverride
# Icon must end with two \r
Icon
# Thumbnails
._*
# Files that might appear in the root of a volume
.DocumentRevisions-V100
.fseventsd
.Spotlight-V100
.TemporaryItems
.Trashes
.VolumeIcon.icns
# Directories potentially created on remote AFP share
.AppleDB
.AppleDesktop
Network Trash Folder
Temporary Items
.apdisk
###
###
###
###
### CUSTOM RULES GO HERE
###
###
###
###

11
Dockerfile Normal file
View File

@@ -0,0 +1,11 @@
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 runit /runit
CMD ["runsvdir", "/runit"]

3
README.md Normal file
View File

@@ -0,0 +1,3 @@
# docker-tor-privoxy-alpine
The smallest docker image with Tor and Privoxy, built with Alpine Linux.

2
runit/privoxy/config Normal file
View File

@@ -0,0 +1,2 @@
listen-address 0.0.0.0:8118
forward-socks5 / localhost:9050 .

2
runit/privoxy/run Executable file
View File

@@ -0,0 +1,2 @@
#!/bin/sh
privoxy --no-daemon

2
runit/tor/run Executable file
View File

@@ -0,0 +1,2 @@
#!/bin/sh
tor