mirror of
https://github.com/jessfraz/dockerfiles.git
synced 2025-12-08 06:21:32 +01:00
@@ -3,11 +3,13 @@ FROM python:2-alpine
|
|||||||
RUN apk add --no-cache --virtual .build-deps \
|
RUN apk add --no-cache --virtual .build-deps \
|
||||||
build-base \
|
build-base \
|
||||||
git \
|
git \
|
||||||
|
libffi-dev \
|
||||||
|
--repository http://dl-cdn.alpinelinux.org/alpine/edge/main/ \
|
||||||
&& git clone --depth 1 https://github.com/Runscope/requestbin /src \
|
&& git clone --depth 1 https://github.com/Runscope/requestbin /src \
|
||||||
|
&& sed -i 's/gevent/gevent==1.4.0/' /src/requirements.txt \
|
||||||
|
&& echo "Flask==1.1.1" >> /src/requirements.txt \
|
||||||
|
&& echo "Werkzeug==0.15.6" >> /src/requirements.txt \
|
||||||
&& pip install -r /src/requirements.txt \
|
&& pip install -r /src/requirements.txt \
|
||||||
&& pip install --no-cache-dir \
|
|
||||||
gevent \
|
|
||||||
gunicorn \
|
|
||||||
&& rm -rf ~/.pip/cache \
|
&& rm -rf ~/.pip/cache \
|
||||||
&& apk del .build-deps
|
&& apk del .build-deps
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user