mirror of
https://github.com/vimagick/dockerfiles.git
synced 2025-12-21 21:33:02 +01:00
improve fteproxy
This commit is contained in:
@@ -6,27 +6,16 @@ FROM alpine
|
|||||||
MAINTAINER kev <norelpy@datageek.info>
|
MAINTAINER kev <norelpy@datageek.info>
|
||||||
|
|
||||||
RUN apk add -U build-base \
|
RUN apk add -U build-base \
|
||||||
curl \
|
gmp \
|
||||||
|
gmp-dev \
|
||||||
libstdc++ \
|
libstdc++ \
|
||||||
m4 \
|
|
||||||
python \
|
python \
|
||||||
python-dev \
|
python-dev \
|
||||||
py-pip \
|
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 \
|
&& pip install fteproxy \
|
||||||
&& apk del build-base \
|
&& apk del build-base \
|
||||||
curl \
|
gmp-dev \
|
||||||
m4 \
|
|
||||||
python-dev \
|
python-dev \
|
||||||
tar \
|
|
||||||
&& rm -rf /root/.cache /var/cache/apk/*
|
&& rm -rf /root/.cache /var/cache/apk/*
|
||||||
|
|
||||||
ENV MODE server
|
ENV MODE server
|
||||||
|
|||||||
Reference in New Issue
Block a user