Skip to content

Instantly share code, notes, and snippets.

@englandbaron
Created July 11, 2019 05:21
Show Gist options
  • Save englandbaron/85e0943d4d2d3150b550049a9b769197 to your computer and use it in GitHub Desktop.
Save englandbaron/85e0943d4d2d3150b550049a9b769197 to your computer and use it in GitHub Desktop.
FROM alpine
RUN set -ex \
&& if [ $(wget -qO- ipinfo.io/country) == CN ]; then echo "http://mirrors.aliyun.com/alpine/latest-stable/main/" > /etc/apk/repositories ;fi \
&& apk --update add --no-cache libsodium py-pip \
&& pip --no-cache-dir install https://github.com/shadowsocksr-backup/shadowsocksr/archive/manyuser.zip
CMD ["/usr/bin/ssserver","-s","0.0.0.0","-p","8388","-m","aes-256-cfb","-k","123qweasd","-o","tls1.2_ticket_auth","-O","auth_sha1_v4"]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment