mirror of
https://github.com/maxkratz/dockerfiles.git
synced 2024-09-08 00:03:50 +00:00
fix requestbin
Signed-off-by: Jess Frazelle <jess@oxide.computer>
This commit is contained in:
parent
7c52735773
commit
a0c86ce40c
1 changed files with 5 additions and 3 deletions
|
@ -3,11 +3,13 @@ FROM python:2-alpine
|
|||
RUN apk add --no-cache --virtual .build-deps \
|
||||
build-base \
|
||||
git \
|
||||
libffi-dev \
|
||||
--repository http://dl-cdn.alpinelinux.org/alpine/edge/main/ \
|
||||
&& 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 --no-cache-dir \
|
||||
gevent \
|
||||
gunicorn \
|
||||
&& rm -rf ~/.pip/cache \
|
||||
&& apk del .build-deps
|
||||
|
||||
|
|
Loading…
Reference in a new issue