|
|
@ -5,7 +5,7 @@ |
|
|
|
FROM alpine |
|
|
|
MAINTAINER kev <noreply@datageek.info> |
|
|
|
|
|
|
|
ENV SS_VER 2.4.4 |
|
|
|
ENV SS_VER 2.4.5 |
|
|
|
ENV SS_URL https://github.com/shadowsocks/shadowsocks-libev/archive/v$SS_VER.tar.gz |
|
|
|
ENV SS_DIR shadowsocks-libev-$SS_VER |
|
|
|
ENV SS_DEP autoconf build-base curl libtool linux-headers openssl-dev |
|
|
@ -29,6 +29,7 @@ ENV TIMEOUT 300 |
|
|
|
ENV DNS_ADDR 8.8.8.8 |
|
|
|
|
|
|
|
EXPOSE $SERVER_PORT |
|
|
|
EXPOSE $SERVER_PORT/udp |
|
|
|
|
|
|
|
CMD ss-server -s $SERVER_ADDR \ |
|
|
|
-p $SERVER_PORT \ |
|
|
|