mirror of
https://github.com/vimagick/dockerfiles.git
synced 2025-12-21 13:23:02 +01:00
update
This commit is contained in:
@@ -5,11 +5,10 @@
|
||||
FROM alpine
|
||||
MAINTAINER kev <noreply@datageek.info>
|
||||
|
||||
RUN apk update \
|
||||
&& apk add curl python \
|
||||
RUN apk add --update curl python \
|
||||
&& curl -sSL https://bootstrap.pypa.io/get-pip.py | python \
|
||||
&& pip install shadowsocks \
|
||||
&& apk del curl \
|
||||
&& apk del --purge curl \
|
||||
&& rm -rf /var/cache/apk/*
|
||||
|
||||
ENV SERVER_ADDR 0.0.0.0
|
||||
|
||||
@@ -10,15 +10,14 @@ ENV SS_URL https://github.com/shadowsocks/shadowsocks-libev/archive/v$SS_VER.tar
|
||||
ENV SS_DIR shadowsocks-libev-$SS_VER
|
||||
ENV SS_DEP curl linux-headers build-base autoconf libtool openssl-dev
|
||||
|
||||
RUN apk update \
|
||||
&& apk add $SS_DEP \
|
||||
RUN apk add --update $SS_DEP \
|
||||
&& curl -sSL $SS_URL | tar xz \
|
||||
&& cd $SS_DIR \
|
||||
&& ./configure \
|
||||
&& make install \
|
||||
&& cd .. \
|
||||
&& rm -rf $SS_DIR \
|
||||
&& apk del $SS_DEP \
|
||||
&& apk del --purge $SS_DEP \
|
||||
&& rm -rf /var/cache/apk/*
|
||||
|
||||
ENV SERVER_ADDR 0.0.0.0
|
||||
|
||||
Reference in New Issue
Block a user