dockcross/imagefiles
Jean-Christophe Fillion-Robin 8923c6a3c7
manylinux.common: Fix warning changing ownership of python install
While the use of sudo (made possible by 53cf084) allows to install
additional packages, the warning copied below was still reported.

To avoid this warning and streamline the installation of new packages,
this commit (1) introduces the concept of "pre_exec" entrypoint hook
and (2) adds such a hook to change the ownership of python "bin" and
"site-packages" directories for the manylinux images.

Warning reported are similar to this one:

```
The directory '/home/jcfr/.cache/pip/http' or its parent directory is
not owned by the current user and the cache has been disabled. Please
check the permissions and owner of that directory. If executing pip
with sudo, you may want sudo's -H flag.
```

Note that the sudo "-H" flag suggested in the warning is not available
in centos.
2016-11-04 22:58:31 -04:00
..
.bashrc base: support BUILDER_USER, BUILDER_GROUP, and liquidprompt bash 2016-07-04 22:03:10 -04:00
ccmake.sh base/cmake: Do not pass toolchain option when using incompatible cmake option 2016-09-21 21:11:33 -04:00
cmake.sh base/cmake: Do not pass toolchain option when using incompatible cmake option 2016-09-21 21:11:33 -04:00
dockcross dockcross: Simplify container name generation using $RANDOM 2016-10-30 23:46:01 -04:00
entrypoint.sh manylinux.common: Fix warning changing ownership of python install 2016-11-04 22:58:31 -04:00