From 812cf7c4063b0e73135f01d9982254cee5a2c16d Mon Sep 17 00:00:00 2001 From: kev Date: Thu, 24 Dec 2015 22:09:35 +0800 Subject: [PATCH] update --- shadowsocks/Dockerfile | 3 ++- shadowsocks/arm/Dockerfile | 3 ++- shadowsocks/libev-arm/Dockerfile | 3 ++- shadowsocks/libev/Dockerfile | 3 ++- 4 files changed, 8 insertions(+), 4 deletions(-) diff --git a/shadowsocks/Dockerfile b/shadowsocks/Dockerfile index a9ee7ea..6eeba71 100644 --- a/shadowsocks/Dockerfile +++ b/shadowsocks/Dockerfile @@ -5,7 +5,8 @@ FROM alpine MAINTAINER kev -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 \ diff --git a/shadowsocks/arm/Dockerfile b/shadowsocks/arm/Dockerfile index 53ad1aa..a183c6c 100644 --- a/shadowsocks/arm/Dockerfile +++ b/shadowsocks/arm/Dockerfile @@ -5,7 +5,8 @@ FROM vimagick/alpine-arm:edge MAINTAINER kev -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 \ diff --git a/shadowsocks/libev-arm/Dockerfile b/shadowsocks/libev-arm/Dockerfile index 42ec59a..74a9c86 100644 --- a/shadowsocks/libev-arm/Dockerfile +++ b/shadowsocks/libev-arm/Dockerfile @@ -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 \ diff --git a/shadowsocks/libev/Dockerfile b/shadowsocks/libev/Dockerfile index 0719649..b015252 100644 --- a/shadowsocks/libev/Dockerfile +++ b/shadowsocks/libev/Dockerfile @@ -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 \