mirror of
https://github.com/teddysun/across.git
synced 2025-04-23 04:19:31 +08:00
Sat Oct 7 11:55:07 EDT 2017
This commit is contained in:
parent
bcbe7d7883
commit
e8678d879d
16
setup-ss-test.sh
Normal file
16
setup-ss-test.sh
Normal file
@ -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
|
Loading…
x
Reference in New Issue
Block a user