Skip to content

Commit

Permalink
fix requestbin
Browse files Browse the repository at this point in the history
Signed-off-by: Jess Frazelle <[email protected]>
  • Loading branch information
jessfraz committed May 11, 2020
1 parent 7c52735 commit a0c86ce
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions requestbin/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit a0c86ce

Please sign in to comment.