Update Dockerfile
Signed-off-by: Teddysun <i@teddysun.com>
This commit is contained in:
parent
22333e6428
commit
7e7e9df2bf
|
|
@ -4,7 +4,7 @@
|
|||
# https://github.com/shadowsocks/shadowsocks-libev
|
||||
|
||||
FROM debian:stretch
|
||||
MAINTAINER Teddysun <i@teddysun.com>
|
||||
LABEL maintainer="Teddysun <i@teddysun.com>"
|
||||
|
||||
RUN set -ex \
|
||||
&& printf "deb http://deb.debian.org/debian stretch-backports main" > /etc/apt/sources.list.d/stretch-backports.list \
|
||||
|
|
@ -17,4 +17,4 @@ VOLUME /etc/shadowsocks-libev
|
|||
|
||||
USER nobody
|
||||
|
||||
CMD [ "/bin/bash", "-c", "/usr/bin/ss-server -c /etc/shadowsocks-libev/config.json" ]
|
||||
CMD [ "ss-server", "-c", "/etc/shadowsocks-libev/config.json" ]
|
||||
|
|
|
|||
|
|
@ -4,7 +4,7 @@
|
|||
# https://github.com/shadowsocksrr/shadowsocksr
|
||||
|
||||
FROM debian:stretch
|
||||
MAINTAINER Teddysun <i@teddysun.com>
|
||||
LABEL maintainer="Teddysun <i@teddysun.com>"
|
||||
|
||||
RUN set -ex \
|
||||
&& apt-get update \
|
||||
|
|
@ -21,4 +21,4 @@ VOLUME /etc/shadowsocks-r
|
|||
|
||||
USER nobody
|
||||
|
||||
CMD [ "/bin/bash", "-c", "/usr/local/shadowsocks/server.py -c /etc/shadowsocks-r/config.json" ]
|
||||
CMD [ "/usr/local/shadowsocks/server.py", "-c", "/etc/shadowsocks-r/config.json" ]
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user