Étiquetage selinux pour une utilisation non-root
This commit is contained in:
parent
6fe1d305e0
commit
f10834b002
12
package
12
package
@ -108,16 +108,16 @@ if __name__ == "__main__":
|
|||||||
|
|
||||||
# volumes definition
|
# volumes definition
|
||||||
docker_args += [
|
docker_args += [
|
||||||
"-v", "{:s}:/src:ro".format(project_dir),
|
"-v", "{:s}:/src:z,ro".format(project_dir),
|
||||||
"-v", "{:s}:/dist".format(output_dir),
|
"-v", "{:s}:/dist:z".format(output_dir),
|
||||||
]
|
]
|
||||||
|
|
||||||
if not args.no_lib_mounts:
|
if not args.no_lib_mounts:
|
||||||
docker_args += [
|
docker_args += [
|
||||||
"-v", "{:s}:/tamarin/hooks:ro".format(tamarin.get_hooks_dir()),
|
"-v", "{:s}:/tamarin/hooks:z,ro".format(tamarin.get_hooks_dir()),
|
||||||
"-v", "{:s}:/tamarin/lib:ro".format(tamarin.get_lib_dir()),
|
"-v", "{:s}:/tamarin/lib:z,ro".format(tamarin.get_lib_dir()),
|
||||||
"-v", "{:s}:/tamarin/profiles:ro".format(tamarin.get_profiles_dir()),
|
"-v", "{:s}:/tamarin/profiles:z,ro".format(tamarin.get_profiles_dir()),
|
||||||
"-v", "{:s}:/tamarin/utils:ro".format(tamarin.get_utils_dir())
|
"-v", "{:s}:/tamarin/utils:z,ro".format(tamarin.get_utils_dir())
|
||||||
]
|
]
|
||||||
|
|
||||||
# Use environment proxy if defined
|
# Use environment proxy if defined
|
||||||
|
Loading…
Reference in New Issue
Block a user