Update Dockerfile

Signed-off-by: Teddysun <i@teddysun.com>
This commit is contained in:
Teddysun 2018-07-02 20:30:55 +09:00
parent 22333e6428
commit 7e7e9df2bf
No known key found for this signature in database
GPG Key ID: 09BD4C080AD6C46D
2 changed files with 4 additions and 4 deletions

View File

@ -4,7 +4,7 @@
# https://github.com/shadowsocks/shadowsocks-libev # https://github.com/shadowsocks/shadowsocks-libev
FROM debian:stretch FROM debian:stretch
MAINTAINER Teddysun <i@teddysun.com> LABEL maintainer="Teddysun <i@teddysun.com>"
RUN set -ex \ RUN set -ex \
&& printf "deb http://deb.debian.org/debian stretch-backports main" > /etc/apt/sources.list.d/stretch-backports.list \ && 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 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" ]

View File

@ -4,7 +4,7 @@
# https://github.com/shadowsocksrr/shadowsocksr # https://github.com/shadowsocksrr/shadowsocksr
FROM debian:stretch FROM debian:stretch
MAINTAINER Teddysun <i@teddysun.com> LABEL maintainer="Teddysun <i@teddysun.com>"
RUN set -ex \ RUN set -ex \
&& apt-get update \ && apt-get update \
@ -21,4 +21,4 @@ VOLUME /etc/shadowsocks-r
USER nobody 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" ]