Closed zhinoos closed 4 years ago
40% chance running dos2unix on your singularity file. Took me forever to figure out that it was hiding that linebreaks were confusing it, specifically windows linebreaks.
On Thu, May 7, 2020 at 10:45 AM zhinoos notifications@github.com wrote:
Links
- container collection:
- GitHub repository or recipe file:
Version of Singularity
Write here Behavior when Building Locally
Write here. Error on Singularity Hub
I recieved this error while building image on singularity hub : Found spec file Singularity.latest in repository ERROR: 'Bootstrap' type not supported: library ERROR: 'Bootstrap' type not supported: library Image failed build: build end 3 seconds. What do you think is going on?
How I can resolve it?
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/singularityhub/singularityhub.github.io/issues/213, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAN2OQEY3IKMGVUIRQM7RK3RQLCPTANCNFSM4M3MNXHA .
-- Stuart Thiel, P. Eng.
Thanks @ramou ! Also be sure to check that your builder (collection settings) is 3.x and not something like 2.5.1.
@vsoch the default version of singularity is 2.x, so how can I change it to 3.x?I could not find settings in my collections.
If you go to your collection you can click on settings and change your default builder. Are you aware of the documentation, which is linked in the top bar? https://singularityhub.github.io/singularityhub-docs/docs/builds/#how-do-i-customize-build-settings
Yes, thanks. Just found it. and do you know why I can not run .def file to build an image on Singularity hub?
The recipes are auto detected and must be named in the structure of Singularity.* or just Singularity. You can try putting .def files in a folder called Singularity and I’ve seen that hack work. You can also trigger manual builds and specify any file that you want. I would encourage you to look more closely at the documentation because most of these questions that you’re asking are already answered there in detail. :)
@zhinoos do you still need help here or can we close the issue?
No response, issue resolved and closing.
Links
Version of Singularity
Write here
Behavior when Building Locally
Write here.
Error on Singularity Hub
I recieved this error while building image on singularity hub : Found spec file Singularity.latest in repository ERROR: 'Bootstrap' type not supported: library ERROR: 'Bootstrap' type not supported: library Image failed build: build end 3 seconds.
What do you think is going on?
How I can resolve it?