mirror of
https://github.com/rwengine/openrw.git
synced 2024-11-22 02:12:45 +01:00
Enable ptrace in docker for sanitizers
This commit is contained in:
parent
a65b2e030b
commit
6be775f3ec
@ -32,6 +32,7 @@ def create(ns: argparse.Namespace):
|
||||
env_args = [a for e in ns.env for a in ('-e', e)]
|
||||
env_args += ['-e', 'DOCKER=TRUE', ]
|
||||
run_args = ['docker', 'run',
|
||||
'--cap-add', 'SYS_PTRACE',
|
||||
'-v', '{}:/src:rw,z'.format(str(openrw_dir)),
|
||||
'-v', '{}:/build:rw,z'.format(str(build_dir)) ] + \
|
||||
env_args + ['--name', ns.name, '-d', ns.tag, 'sleep', 'infinity']
|
||||
|
Loading…
Reference in New Issue
Block a user