pipeline: drop CAP_{NET_ADMIN,SYS_PTRACE} caps
Drop CAP_{NET_ADMIN,SYS_PTRACE} from the default capabilities which
are only needed to run bwrap from inside a stage which is done by
the `ostree.commit` and `ostree.preptree` stages, so retain them
directly there.
This commit is contained in:
parent
d14e5f3ee8
commit
0c8f5c7ef0
5 changed files with 12 additions and 2 deletions
|
|
@ -29,6 +29,9 @@ from osbuild import api
|
|||
from osbuild.util import ostree
|
||||
|
||||
|
||||
CAPABILITIES = ["CAP_NET_ADMIN", "CAP_SYS_PTRACE"]
|
||||
|
||||
|
||||
SCHEMA = """
|
||||
"additionalProperties": false,
|
||||
"required": ["ref"],
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue