From a0c86ce40c232514da88e69f8adca0341d446899 Mon Sep 17 00:00:00 2001 From: Jess Frazelle Date: Mon, 11 May 2020 11:32:59 -0700 Subject: [PATCH] fix requestbin Signed-off-by: Jess Frazelle --- requestbin/Dockerfile | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/requestbin/Dockerfile b/requestbin/Dockerfile index 7cf001a..3f2c7b3 100644 --- a/requestbin/Dockerfile +++ b/requestbin/Dockerfile @@ -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