1 2 3 4 5 6 7 8 9 10 11 |
FROM {{IMAGE_NAME}}:{{IMAGE_TAG}} # switch back to root user for installing extra test dependencies USER root # install python dependencies (wheels) COPY requirements-devel.txt /usr/src/app RUN pip install --find-links=branches/wheels --no-index -r requirements-devel.txt # switch back to non-root user for running tests USER ubuntu |