Earlier operate pip set up with unforeseen options eg: Earlier run export PYCURL_SSL_LIBRARY=nss and pip set up pycurl one But ought to have been: RUN apt-get update && apt-get -y set up php5-fpm && rm -rf /var/lib/apt/lists/* The truth is, is very best practice to cleanup the apt/lists information ahead https://josuetiquu.bloggazzo.com/35418942/transporte-de-estructuras-con-camión-pluma-sevilla-an-overview