From 6ebc32769224ceeedcaa56da47485ba343ecc347 Mon Sep 17 00:00:00 2001 From: kev Date: Sat, 19 Sep 2015 20:46:02 +0800 Subject: [PATCH] improve fteproxy --- fteproxy/Dockerfile | 17 +++-------------- 1 file changed, 3 insertions(+), 14 deletions(-) diff --git a/fteproxy/Dockerfile b/fteproxy/Dockerfile index e6993b5..e7f7262 100644 --- a/fteproxy/Dockerfile +++ b/fteproxy/Dockerfile @@ -6,27 +6,16 @@ FROM alpine MAINTAINER kev RUN apk add -U build-base \ - curl \ + gmp \ + gmp-dev \ libstdc++ \ - m4 \ python \ python-dev \ py-pip \ - py-twisted \ - tar \ - && mkdir gmp \ - && curl -sSL https://gmplib.org/download/gmp/gmp-6.0.0a.tar.bz2 | tar xj --strip 1 -C gmp \ - && cd gmp \ - && ./configure --prefix=/usr --enable-cxx \ - && make install \ - && cd .. \ - && rm -rf gmp \ && pip install fteproxy \ && apk del build-base \ - curl \ - m4 \ + gmp-dev \ python-dev \ - tar \ && rm -rf /root/.cache /var/cache/apk/* ENV MODE server