{"action":"created","issue":{"url":"https://api.github.com/repos/BIDS-Apps/ndmg/issues/18","repository_url":"https://api.github.com/repos/BIDS-Apps/ndmg","labels_url":"https://api.github.com/repos/BIDS-Apps/ndmg/issues/18/labels{/name}","comments_url":"https://api.github.com/repos/BIDS-Apps/ndmg/issues/18/comments","events_url":"https://api.github.com/repos/BIDS-Apps/ndmg/issues/18/events","html_url":"https://github.com/BIDS-Apps/ndmg/issues/18","id":290637741,"number":18,"title":"Update Dockerfile to ensure smooth operation of singularity container","user":{"login":"mnarayan","id":667639,"avatar_url":"https://avatars2.githubusercontent.com/u/667639?v=4","gravatar_id":"","url":"https://api.github.com/users/mnarayan","html_url":"https://github.com/mnarayan","followers_url":"https://api.github.com/users/mnarayan/followers","following_url":"https://api.github.com/users/mnarayan/following{/other_user}","gists_url":"https://api.github.com/users/mnarayan/gists{/gist_id}","starred_url":"https://api.github.com/users/mnarayan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mnarayan/subscriptions","organizations_url":"https://api.github.com/users/mnarayan/orgs","repos_url":"https://api.github.com/users/mnarayan/repos","events_url":"https://api.github.com/users/mnarayan/events{/privacy}","received_events_url":"https://api.github.com/users/mnarayan/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":13,"created_at":"2018-01-22T22:22:37Z","updated_at":"2018-02-01T18:56:19Z","closed_at":null,"author_association":"CONTRIBUTOR","body":"Hi\r\n\r\nI tried to use the Dockerfile to automatically build a singularity container. \r\nFork with singularity configuration: https://github.com/TheEtkinLab/ndmg\r\nSingularity container: https://www.singularity-hub.org/collections/480\r\n\r\nHere is how I pull and check installation\r\n```\r\nsingularity pull singularity pull shub://TheEtkinLab/ndmg:v0.0.50\r\nsingularity shell TheEtkinLab-ndmg-master.simg\r\nSingularity: Invoking an interactive shell within container...\r\nSingularity TheEtkinLab-ndmg-master.simg:/home/groups/<name>/singularity_images> which ndmg_bids\r\n/usr/local/bin/ndmg_bids\r\n```\r\nHowever I run into permission errors when I run the container or try to run `ndmg_bids`\r\n```\r\nSingularity TheEtkinLab-ndmg-master.simg:/home/groups/<name>/singularity_images> ndmg_bids -h\r\nIOError: [Errno 13] Permission denied: '/usr/local/lib/python2.7/dist-packages/.wh.plotly-1.12.9.egg-info'\r\n```\r\nNot sure if this is a singularity build issue or what. But I don't have this issue with C-PAC singularity builds, so I'm guessing they have a better Dockerfile configuration/installation. \r\nrepo: https://github.com/TheEtkinLab/CPAC\r\nsingularity container: https://www.singularity-hub.org/collections/196 \r\n\r\nAny help appreciated. \r\nThanks,"},"comment":{"url":"https://api.github.com/repos/BIDS-Apps/ndmg/issues/comments/362366089","html_url":"https://github.com/BIDS-Apps/ndmg/issues/18#issuecomment-362366089","issue_url":"https://api.github.com/repos/BIDS-Apps/ndmg/issues/18","id":362366089,"user":{"login":"gkiar","id":4883288,"avatar_url":"https://avatars3.githubusercontent.com/u/4883288?v=4","gravatar_id":"","url":"https://api.github.com/users/gkiar","html_url":"https://github.com/gkiar","followers_url":"https://api.github.com/users/gkiar/followers","following_url":"https://api.github.com/users/gkiar/following{/other_user}","gists_url":"https://api.github.com/users/gkiar/gists{/gist_id}","starred_url":"https://api.github.com/users/gkiar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gkiar/subscriptions","organizations_url":"https://api.github.com/users/gkiar/orgs","repos_url":"https://api.github.com/users/gkiar/repos","events_url":"https://api.github.com/users/gkiar/events{/privacy}","received_events_url":"https://api.github.com/users/gkiar/received_events","type":"User","site_admin":false},"created_at":"2018-02-01T18:56:19Z","updated_at":"2018-02-01T18:56:19Z","author_association":"MEMBER","body":"Ah of course! I copy pasted directly from [here](https://www.singularity-hub.org/collections/516/usage) and didn't think. Thanks :)"}}
{"actor":{"display_login":"gkiar"}}