shadowsocks_install/docker/shadowsocks-libev/Dockerfile
Teddysun a5c3211a84
Update comments
Signed-off-by: Teddysun <i@teddysun.com>
2019-01-13 23:55:13 +09:00

21 lines
639 B
Docker

# Dockerfile for shadowsocks-libev
# Copyright (C) 2018 - 2019 Teddysun <i@teddysun.com>
# Reference URL:
# https://github.com/shadowsocks/shadowsocks-libev
FROM debian:stretch
LABEL maintainer="Teddysun <i@teddysun.com>"
RUN set -ex \
&& printf "deb http://deb.debian.org/debian sid main" > /etc/apt/sources.list.d/sid.list \
&& apt-get update \
&& apt-get -t sid install -y --no-install-recommends shadowsocks-libev simple-obfs \
&& rm -rf /var/lib/apt/lists/*
COPY ./config_sample.json /etc/shadowsocks-libev/config.json
VOLUME /etc/shadowsocks-libev
USER nobody
CMD [ "ss-server", "-c", "/etc/shadowsocks-libev/config.json" ]