2
0
mirror of https://github.com/vimagick/dockerfiles.git synced 2025-12-26 23:21:36 +01:00

update shadowsocks

This commit is contained in:
kev
2015-07-16 17:23:25 +08:00
parent 31d50f4ea2
commit 5bba4f99a6
4 changed files with 26 additions and 5 deletions

View File

@@ -8,14 +8,14 @@ MAINTAINER kev <noreply@datageek.info>
ENV SS_VER 2.2.2
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 curl linux-headers build-base autoconf libtool openssl-dev
ENV SS_DEP autoconf build-base curl libtool linux-headers openssl-dev
RUN apk add --update $SS_DEP \
&& curl -sSL $SS_URL | tar xz \
&& cd $SS_DIR \
&& pushd $SS_DIR \
&& ./configure \
&& make install \
&& cd .. \
&& popd \
&& rm -rf $SS_DIR \
&& apk del --purge $SS_DEP \
&& rm -rf /var/cache/apk/*