-
-
Notifications
You must be signed in to change notification settings - Fork 3
Open
Labels
Hacktoberfesthttps://hacktoberfest.digitalocean.com/https://hacktoberfest.digitalocean.com/enhancementNew feature or requestNew feature or request
Description
Related problem
Right now, if --platform singularity is given without an image, cpac just pulls without even trying to find a local image.
cpac/src/cpac/backends/singularity.py
Lines 29 to 40 in a05d612
| else: # pragma: no cover | |
| try: | |
| self.image = Client.pull( | |
| "shub://FCP-INDI/C-PAC", | |
| pull_folder=pwd | |
| ) | |
| except Exception: | |
| try: | |
| self.image = Client.pull( | |
| f"docker://fcpindi/c-pac:latest", | |
| pull_folder=pwd | |
| ) |
Proposed feature
A configuration file that specifies the path to a default Singularity image seems like the most obvious solution.
Alternatives
- A default path?
- An environment variable?
Metadata
Metadata
Assignees
Labels
Hacktoberfesthttps://hacktoberfest.digitalocean.com/https://hacktoberfest.digitalocean.com/enhancementNew feature or requestNew feature or request
Type
Projects
Status
No status