Last active
September 13, 2016 04:04
-
-
Save TimothyYe/b36bbfdb8127199c3766369f11b360ce to your computer and use it in GitHub Desktop.
My shadowsocks Dockerfile
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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