1
2
mirror of https://github.com/vimagick/dockerfiles synced 2024-06-25 00:08:49 +00:00
This commit is contained in:
kev 2015-12-24 22:09:35 +08:00
parent 32a79e507e
commit 812cf7c406
4 changed files with 8 additions and 4 deletions

@ -5,7 +5,8 @@
FROM alpine
MAINTAINER kev <noreply@datageek.info>
RUN echo 'http://nl.alpinelinux.org/alpine/edge/main' >> /etc/apk/repositories \
RUN set -ex \
&& echo 'http://nl.alpinelinux.org/alpine/edge/main' >> /etc/apk/repositories \
&& apk add -U curl libsodium python \
&& curl -sSL https://bootstrap.pypa.io/get-pip.py | python \
&& pip install shadowsocks \

@ -5,7 +5,8 @@
FROM vimagick/alpine-arm:edge
MAINTAINER kev <noreply@datageek.info>
RUN apk add -U curl libsodium python \
RUN set -ex \
&& apk add -U curl libsodium python \
&& curl -sSL https://bootstrap.pypa.io/get-pip.py | python \
&& pip install shadowsocks \
&& apk del curl \

@ -10,7 +10,8 @@ ENV SS_URL https://github.com/shadowsocks/shadowsocks-libev/archive/v$SS_VER.tar
ENV SS_DIR shadowsocks-libev-$SS_VER
ENV SS_DEP autoconf build-base curl libtool linux-headers openssl-dev
RUN apk add --update $SS_DEP \
RUN set -ex \
&& apk add --update $SS_DEP \
&& curl -sSL $SS_URL | tar xz \
&& cd $SS_DIR \
&& ./configure \

@ -10,7 +10,8 @@ ENV SS_URL https://github.com/shadowsocks/shadowsocks-libev/archive/v$SS_VER.tar
ENV SS_DIR shadowsocks-libev-$SS_VER
ENV SS_DEP autoconf build-base curl libtool linux-headers openssl-dev
RUN apk add --update $SS_DEP \
RUN set -ex \
&& apk add --update $SS_DEP \
&& curl -sSL $SS_URL | tar xz \
&& cd $SS_DIR \
&& ./configure \