Merge pull request #19077 from AvdN/patch-2

example cannot work, pip needs --requirement
Upstream-commit: d9a38126562906381ac6829c4b49d1054e615dc6
Component: engine
This commit is contained in:
Sebastiaan van Stijn
2016-01-05 23:50:52 +01:00

View File

@ -312,7 +312,7 @@ specifically required files change.
For example:
COPY requirements.txt /tmp/
RUN pip install /tmp/requirements.txt
RUN pip install --requirement /tmp/requirements.txt
COPY . /tmp/
Results in fewer cache invalidations for the `RUN` step, than if you put the