docker: Add workaround to fix installation of dependencies by pip
pip release 10.0.0b1
(2018-03-31) removed support for uninstalling
projects which have been installed using distutils 1. Thus a possible
workaround is to ignore the distribution-provided packages.
Fixes issue #469 (closed).