From bf0055be40184670b26d86bb3c257fc803508fb4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=A0=B4=E5=A8=83=E9=85=B1?= Date: Thu, 23 Mar 2017 17:19:15 +0800 Subject: [PATCH] fix Dockerfile --- Dockerfile | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/Dockerfile b/Dockerfile index a065b7a..4504598 100644 --- a/Dockerfile +++ b/Dockerfile @@ -3,9 +3,9 @@ FROM alpine ENV SERVER_ADDR 0.0.0.0 ENV SERVER_PORT 51348 ENV PASSWORD= -ENV METHOD aes-256-cfb -ENV PROTOCOL origin -ENV OBFS http_simple +ENV METHOD aes-128-ctr +ENV PROTOCOL auth_aes128_md5 +ENV OBFS tls1.2_ticket_auth_compatible ENV TIMEOUT 300 ENV DNS_ADDR 8.8.8.8 ENV DNS_ADDR_2 8.8.4.4 @@ -22,11 +22,11 @@ RUN apk update \ RUN wget --no-check-certificate https://github.com/breakwa11/shadowsocks/archive/manyuser.zip -O /tmp/manyuser.zip \ && unzip -d /tmp /tmp/manyuser.zip \ - && mv /tmp/shadowsocks-manyuser/shadowsocks ~/shadowsocks \ + && mv /tmp/shadowsocksr-manyuser/shadowsocks ~/shadowsocksr \ && rm -rf /tmp/* -WORKDIR ~/shadowsocks +WORKDIR ~/shadowsocksr -CMD python ~/shadowsocks/server.py -p $SERVER_PORT -k $PASSWORD -m $METHOD -O $PROTOCOL -o $OBFS +CMD python ~/shadowsocksr/server.py -p $SERVER_PORT -k $PASSWORD -m $METHOD -O $PROTOCOL -o $OBFS