forked from GOOD21/shadowsocks-privoxy
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Dockerfile
33 lines (25 loc) · 914 Bytes
/
Dockerfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
FROM alpine:latest
MAINTAINER bluebu <[email protected]>
#------------------------------------------------------------------------------
# Environment variables:
#------------------------------------------------------------------------------
RUN \
apk --update --upgrade add \
py-pip \
privoxy \
&& rm /var/cache/apk/*
RUN pip install shadowsocks
ENV SERVER_ADDR= \
SERVER_PORT=8899 \
METHOD=aes-256-cfb \
TIMEOUT=300 \
PASSWORD=
#------------------------------------------------------------------------------
# Populate root file system:
#------------------------------------------------------------------------------
ADD rootfs /
#------------------------------------------------------------------------------
# Expose ports and entrypoint:
#------------------------------------------------------------------------------
EXPOSE 8118 7070
ENTRYPOINT ["/entrypoint.sh"]