Skip to content

singularity-hub built container has an extra blank first line in /singularity and other setup issues #20

@alaindomissy

Description

@alaindomissy

I am having trouble with getting a build by singuarity-hub for the following repo:
eclip singularity-cwl pipeline

Building locally works fine , with:

sudo singularity create --size 4608   eclpi-0.1.5.99.img
sudo singularity bootstrap eclip-0.1.5.99.img Singularity

Building on singularity-hub presents the following issues
after downloading with singularity pull shub://YeoLab/eclip-dev:master I notice:

  1. /singularity file has a blank line at the top before my intended first line which should be the shebang line: #/usr/bin/env bash
  2. the /opt folder only has the conda subfolders , but noe of the other 10 or 12 other folders supposed to be copied into /opt and added to PATH by the Singularity builder file

I can sudo singualrity exec +w image bash into the container and remove the blank line at top of /singularity which makes the container a little less broken. But I don't have a simple fix for all the missing installations in the container.

I have tried:

  1. to make the github repo public and private
  2. different sizes for the builder on singularity hub

I noticed in the singularity-hub logs:

  1. a not found 404 message, but many other containers that work fine have the same 404 message
  2. a warning about lines too long in the Singularity file, I now got rid of that message after I split some of the conda install commands

Context:

  1. singularity version for building locally : I am using 2.2.1
    It seems singularity-hub is using version 2.2 . Is this a problem ?
  2. singularity version for pulling from singularity hub : I am using release 2.2.99, either installed on my ubuntu laptop, or inside the new pre-installed vagrant box
  3. singualrity config: /usr/local/etc/singularity/singularity.conf does not have anything special in either of my singularity installations; I think... but let me know if I should upload it here

Thanks for any help!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions