{"action":"closed","issue":{"url":"https://api.github.com/repos/singularityware/singularity/issues/474","repository_url":"https://api.github.com/repos/singularityware/singularity","labels_url":"https://api.github.com/repos/singularityware/singularity/issues/474/labels{/name}","comments_url":"https://api.github.com/repos/singularityware/singularity/issues/474/comments","events_url":"https://api.github.com/repos/singularityware/singularity/issues/474/events","html_url":"https://github.com/singularityware/singularity/issues/474","id":204124362,"number":474,"title":"Container does not have a valid `/bin/sh`","user":{"login":"ankghost0912","id":7758132,"avatar_url":"https://avatars.githubusercontent.com/u/7758132?v=3","gravatar_id":"","url":"https://api.github.com/users/ankghost0912","html_url":"https://github.com/ankghost0912","followers_url":"https://api.github.com/users/ankghost0912/followers","following_url":"https://api.github.com/users/ankghost0912/following{/other_user}","gists_url":"https://api.github.com/users/ankghost0912/gists{/gist_id}","starred_url":"https://api.github.com/users/ankghost0912/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ankghost0912/subscriptions","organizations_url":"https://api.github.com/users/ankghost0912/orgs","repos_url":"https://api.github.com/users/ankghost0912/repos","events_url":"https://api.github.com/users/ankghost0912/events{/privacy}","received_events_url":"https://api.github.com/users/ankghost0912/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":10,"created_at":"2017-01-30T20:44:42Z","updated_at":"2017-02-02T16:04:44Z","closed_at":"2017-02-02T16:04:44Z","body":"Hi, \r\n\r\nI'm trying to build a singularity image using `singularity 2.2`. From my reading the docs, I've created the shell script describing the name and the size of the image. Here's how it looks:\r\n```\r\nsudo rm -f $1\r\nsudo singularity create $1\r\nsudo singularity expand --size 8192 $1\r\nsudo singularity bootstrap $1  $2\r\nsudo singularity exec -B `pwd`:/mnt -w $1 sh /mnt/install_igits.sh\r\n```\r\nWhen I run this script I get the error: `Container does not have a valid /bin/sh`. Can anyone point me to what I'm doing wrong? \r\nEDIT: `$1` is the image name and `$2` is the name of the definition file"}}
{"actor":{"display_login":"ankghost0912"}}