apptainer use the --with-suid configure option (#35513)
This commit is contained in:
parent
e8238fe330
commit
712d358f7e
1 changed files with 5 additions and 1 deletions
|
@ -45,4 +45,8 @@ class Apptainer(SingularityBase):
|
|||
# Override config options from SingularityBase
|
||||
@property
|
||||
def config_options(self):
|
||||
return []
|
||||
spec = self.spec
|
||||
options = []
|
||||
if spec.satisfies("@1.1.0: +suid"):
|
||||
options.append("--with-suid")
|
||||
return options
|
||||
|
|
Loading…
Reference in a new issue