mirror of
https://github.com/rwengine/openrw.git
synced 2024-10-06 09:07:19 +02:00
Ensure correct ownership of /build and /src directories in container
This commit is contained in:
parent
be879ea97e
commit
1e48602c59
@ -41,6 +41,8 @@ def create(ns: argparse.Namespace):
|
||||
sub_run(['docker', 'exec', ns.name, 'groupadd', '--gid', str(gid), ns.username])
|
||||
sub_run(['docker', 'exec', ns.name, 'useradd', '--create-home',
|
||||
'--uid', str(ns.uid), '-g', ns.username, ns.username])
|
||||
sub_run(['docker', 'exec', ns.name, 'chown', '{0}:{0}'.format(ns.username),
|
||||
'/build', '/src'])
|
||||
|
||||
|
||||
def exec(ns: argparse.Namespace):
|
||||
|
Loading…
Reference in New Issue
Block a user