Add dependency for gevent

This commit is contained in:
Petar Efnushev 2017-04-04 09:04:18 +02:00
parent c83b8bebf3
commit 12f574bc18
1 changed files with 2 additions and 0 deletions

View File

@ -17,6 +17,7 @@ RUN apk add --no-cache git \
postgresql-client \ postgresql-client \
python \ python \
py-pip \ py-pip \
py-gevent \
py-gunicorn && \ py-gunicorn && \
# Temporary packages to build CKAN requirements # Temporary packages to build CKAN requirements
apk add --no-cache --virtual .build-deps \ apk add --no-cache --virtual .build-deps \
@ -43,6 +44,7 @@ RUN apk add --no-cache git \
python setup.py install && \ python setup.py install && \
pip install --no-cache-dir testrepository && \ pip install --no-cache-dir testrepository && \
pip install --no-cache-dir --upgrade -r requirements.txt && \ pip install --no-cache-dir --upgrade -r requirements.txt && \
pip install --no-cache-dir gevent && \
# Remove temporary packages and files # Remove temporary packages and files
apk del .build-deps && \ apk del .build-deps && \
rm -rf ${SRC_DIR} rm -rf ${SRC_DIR}