Mercurial > hg
comparison README @ 22440:cf7b5c011737
dockerrpm: run docker build process as the current user, not as root
Docker can be run by ordinary users if they are in the docker group. The build
process would however be run as a root user, only protected by the sandboxing.
That caused problems with the shared directory where rpmbuild would be picky
about building from sources owned by less privileged users and producing files
owned by root.
Instead, add a build user with the right uid/gid to the image and run the
docker process as that user.
author | Mads Kiilerich <madski@unity3d.com> |
---|---|
date | Fri, 30 May 2014 14:14:33 +0200 |
parents | df5ecb813426 |
children | 4b0fc75f9403 |
comparison
equal
deleted
inserted
replaced
22439:d2a00ced3cce | 22440:cf7b5c011737 |
---|