s2i/venv: Don't have hacky numpy hack build a wheel
@@ -27,7 +27,7 @@ if [ -f ${APP_DIR}/src/requirements.txt ]; then
# This is because some packages (tiffiles *cough*) need numpy to be fully installed
# for their setup.py to work, and this... causes all sorts of problems.
if grep --quiet numpy ${APP_DIR}/src/requirements.txt; then
- ${APP_DIR}/venv/bin/pip install $(grep numpy ${APP_DIR}/src/requirements.txt)
+ ${APP_DIR}/venv/bin/pip install --no-cache-dir $(grep numpy ${APP_DIR}/src/requirements.txt)
fi
${APP_DIR}/venv/bin/pip install --no-cache-dir -r ${APP_DIR}/src/requirements.txt
fi
