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
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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