Skip to content

Instantly share code, notes, and snippets.

@TimothyYe
Last active September 13, 2016 04:04
Show Gist options
  • Save TimothyYe/b36bbfdb8127199c3766369f11b360ce to your computer and use it in GitHub Desktop.
Save TimothyYe/b36bbfdb8127199c3766369f11b360ce to your computer and use it in GitHub Desktop.
My shadowsocks Dockerfile
FROM alpine:latest
MAINTAINER Timothy
RUN apk --no-cache add wget gzip && cd /
RUN wget https://github.com/shadowsocks/shadowsocks-go/releases/download/1.1.5/shadowsocks-server-linux64-1.1.5.gz --no-check-certificate
RUN gzip -d shadowsocks-server-linux64-1.1.5.gz
RUN mv shadowsocks-server-linux64-1.1.5 server
RUN chmod +x server
RUN apk del wget gzip
RUN rm -rf /var/cache/apk/*
EXPOSE 8899
ENTRYPOINT ["/server", "-p", "8899", "-k", "YourPassword"]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment