automation: ensure created are not owned as root
authorDoug Goldstein <cardoe@cardoe.com>
Fri, 3 Aug 2018 14:46:49 +0000 (09:46 -0500)
committerWei Liu <wei.liu2@citrix.com>
Fri, 3 Aug 2018 15:11:22 +0000 (16:11 +0100)
commit5a5b8bfec3c4551fd78046274aa5a9b39083095d
treee9c1c63553d1023a2ce454bb699575bdbece4e40
parent92ff8f097905a5693f8f27d7db97a11924aadb9e
automation: ensure created are not owned as root

By default the container runs as the root user and since the source tree
is bind mounted into the container, any file is created and owned by the
root user which harms ergonomics when working outside of the container
environment. This maps the root user within the container to the uid of
the user outside of the container so files are not owned by root.

Signed-off-by: Doug Goldstein <cardoe@cardoe.com>
Reviewed-by: Wei Liu <wei.liu2@citrix.com>
automation/scripts/containerize