Update pip before all
Closed this issue · 3 comments
rodrigobraga commented
Hi
I'm using Dockerfile for django:python2-onbuild and I received the message below; is possible force update before all?!
You are using pip version 6.1.1, however version 7.0.1 is available.
You should consider upgrading via the 'pip install --upgrade pip' command.
yosifkit commented
The message is just a warning. We try to keep pip
updated in the images and the new python
and django
images are currently building on the build server with 7.0.1
. If you always need the most up to date pip
I would suggest copying the steps in the onbuild
Dockerfile to your Dockerfile, drop the ONBUILD
from the lines and adding a RUN pip install --upgrade pip
just after the firsty COPY
.
yosifkit commented
We now install an explicit version of pip in the python images so with regular pulls and rebuilds this should stay up to date.
rodrigobraga commented
👍