Put user back where it was

This commit is contained in:
Ben Picolo 2017-01-05 12:55:08 -05:00
parent 54d212f0d7
commit 8cbd56a0a5

View file

@ -89,6 +89,7 @@ def run_hook(repo_cmd_runner, hook, file_args):
cmd = (
'docker', 'run',
'--rm',
'-u', '{}:{}'.format(os.getuid(), os.getgid()),
'-v', '{}:/src:rw'.format(os.getcwd()),
'--workdir', '/src',
'--entrypoint', entry_executable,