From e8678d879dfc91365aaa97770daff081bad9ea41 Mon Sep 17 00:00:00 2001 From: ddv12138 <644077730@qq.com> Date: Sat, 7 Oct 2017 11:55:07 -0400 Subject: [PATCH] Sat Oct 7 11:55:07 EDT 2017 --- setup-ss-test.sh | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 setup-ss-test.sh diff --git a/setup-ss-test.sh b/setup-ss-test.sh new file mode 100644 index 0000000..503d365 --- /dev/null +++ b/setup-ss-test.sh @@ -0,0 +1,16 @@ +FROM ubuntu + +ENV SSR_URL https://github.com/shadowsocksr-backup/shadowsocksr.git +ENV SS_PORT 6666 +ENV SS_PASSWD liukang951006 +ENV SS_METH aes-256-cfb #encryption method +ENV SS_OBFS http_simple #obfsplugin + +RUN set -ex \ + && apt update \ + && apt install -y python-pip python-dev build-essential git \ + && pip install --upgrade pip \ + && git clone ${SSR_URL} \ + && cd ./shadowsocksr/shadowsocks \ + +CMD python server.py -p $SS_PORT -k $SS_PASSWD -m $SS_METH -o $SS_OBFS --fast-open