1
0
mirror of https://github.com/vimagick/dockerfiles.git synced 2024-12-25 02:04:06 +02:00

add shadowsocks-libev

This commit is contained in:
kev 2015-06-16 08:42:06 +08:00
parent 989a9aab3d
commit 6b0167aebd
3 changed files with 44 additions and 4 deletions

View File

@ -18,6 +18,8 @@ ENV METHOD aes-256-cfb
ENV TIMEOUT 300
ENV WORKERS 10
EXPOSE 8388
CMD ssserver -s $SERVER_ADDR \
-p $SERVER_PORT \
-k $PASSWORD \

View File

@ -0,0 +1,32 @@
#
# Dockerfile for shadowsocks-libev
#
FROM debian:jessie
MAINTAINER kev <noreply@datageek.info>
RUN apt-get update \
&& apt-get install -y curl \
&& curl http://shadowsocks.org/debian/1D27208A.gpg | apt-key add - \
&& echo 'deb http://shadowsocks.org/debian wheezy main' > /etc/apt/sources.list.d/ss-libev.list \
&& apt-get update \
&& apt-get install -y shadowsocks-libev \
&& rm -rf /var/lib/apt/lists/*
ENV SERVER_ADDR 0.0.0.0
ENV SERVER_PORT 8388
ENV PASSWORD secret
ENV METHOD aes-256-cfb
ENV TIMEOUT 300
ENV DNS_ADDR 8.8.8.8
EXPOSE 8388
CMD ss-server -s $SERVER_ADDR \
-p $SERVER_PORT \
-k $PASSWORD \
-m $METHOD \
-t $TIMEOUT \
--fast-open \
-d $DNS_ADDR \
-u

View File

@ -0,0 +1,6 @@
shadowsocks-libev
=================
`shadowsocks-libev` is a lightweight secured socks5 proxy for embedded devices and low end boxes.
It is a port of shadowsocks created by @clowwindy maintained by @madeye and @linusyang.