Previously we've been getting:
```
Step 6 : RUN pip install Sphinx==1.1.3
---> Running in 397eab32f57a
Wheel installs require setuptools >= 0.8 for dist-info support.
pip's wheel support requires setuptools >= 0.8 for dist-info support.
Storing debug log for failure in /.pip/pip.log
2014/01/13 18:01:34 The command [/bin/sh -c pip install Sphinx==1.1.3] returned a non-zero code: 1
make: *** [docs] Error 1
```
This fixes that by telling pip not to use sudo to install (since we're already root).
Docker-DCO-1.1-Signed-off-by: Andrew Page <admwiggin@gmail.com> (github: tianon)
| ... | ... |
@@ -8,8 +8,8 @@ run apt-get update |
| 8 | 8 |
run apt-get install -y python-setuptools make |
| 9 | 9 |
run easy_install pip |
| 10 | 10 |
#from docs/requirements.txt, but here to increase cacheability |
| 11 |
-run pip install Sphinx==1.1.3 |
|
| 12 |
-run pip install sphinxcontrib-httpdomain==1.1.9 |
|
| 11 |
+run pip install --no-use-wheel Sphinx==1.1.3 |
|
| 12 |
+run pip install --no-use-wheel sphinxcontrib-httpdomain==1.1.9 |
|
| 13 | 13 |
add . /docs |
| 14 | 14 |
run cd /docs; make docs |
| 15 | 15 |
|