apptainer use the --with-suid configure option (#35513)

This commit is contained in:
simonleary-umass-edu
2023-02-20 11:39:28 -05:00
committed by GitHub
parent e8238fe330
commit 712d358f7e

View File

@@ -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