From 2444427e07570cf45d2924a368c6027a04b58449 Mon Sep 17 00:00:00 2001 From: Register Date: Thu, 2 Feb 2017 20:01:56 +0800 Subject: [PATCH] Update Dockerfile fix .build-deps --- docker/alpine/Dockerfile | 26 +++++++++++--------------- 1 file changed, 11 insertions(+), 15 deletions(-) diff --git a/docker/alpine/Dockerfile b/docker/alpine/Dockerfile index 7fb4a861..b3e747bf 100644 --- a/docker/alpine/Dockerfile +++ b/docker/alpine/Dockerfile @@ -6,7 +6,7 @@ FROM alpine MAINTAINER kev ARG SS_VER=3.0.0 -ARG SS_URL=https://github.com/shadowsocks/shadowsocks-libev/archive/v$SS_VER.tar.gz +ARG SS_URL=https://github.com/shadowsocks/shadowsocks-libev/releases/download/v$SS_VER/shadowsocks-libev-$SS_VER.tar.gz ENV SERVER_ADDR 0.0.0.0 ENV SERVER_PORT 8388 @@ -18,25 +18,21 @@ ENV DNS_ADDR_2 8.8.4.4 RUN set -ex && \ apk add --no-cache --virtual .build-deps \ + autoconf \ + build-base \ + curl \ libev-dev \ + libtool \ + linux-headers \ udns-dev \ libsodium-dev \ - gettext \ - automake \ - zlib \ - asciidoc \ - autoconf \ - build-base \ - curl \ - libtool \ - linux-headers \ - openssl-dev \ - pcre-dev \ - tar \ - xmlto && \ + mbedtls-dev \ + openssl-dev \ + pcre-dev \ + tar \ + udns-dev && \ cd /tmp && \ curl -sSL $SS_URL | tar xz --strip 1 && \ - ./autogen.sh && \ ./configure --prefix=/usr --disable-documentation && \ make install && \ cd .. && \