{"action":"created","issue":{"url":"https://api.github.com/repos/aberba/docker-vibed-demo/issues/1","repository_url":"https://api.github.com/repos/aberba/docker-vibed-demo","labels_url":"https://api.github.com/repos/aberba/docker-vibed-demo/issues/1/labels{/name}","comments_url":"https://api.github.com/repos/aberba/docker-vibed-demo/issues/1/comments","events_url":"https://api.github.com/repos/aberba/docker-vibed-demo/issues/1/events","html_url":"https://github.com/aberba/docker-vibed-demo/issues/1","id":296286790,"number":1,"title":"Cannot open file `/app/dub.selections.json' in mode `wb' (Permission denied)","user":{"login":"zafer06","id":1070077,"avatar_url":"https://avatars2.githubusercontent.com/u/1070077?v=4","gravatar_id":"","url":"https://api.github.com/users/zafer06","html_url":"https://github.com/zafer06","followers_url":"https://api.github.com/users/zafer06/followers","following_url":"https://api.github.com/users/zafer06/following{/other_user}","gists_url":"https://api.github.com/users/zafer06/gists{/gist_id}","starred_url":"https://api.github.com/users/zafer06/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zafer06/subscriptions","organizations_url":"https://api.github.com/users/zafer06/orgs","repos_url":"https://api.github.com/users/zafer06/repos","events_url":"https://api.github.com/users/zafer06/events{/privacy}","received_events_url":"https://api.github.com/users/zafer06/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-02-12T07:35:41Z","updated_at":"2018-02-13T21:47:50Z","closed_at":null,"author_association":"NONE","body":"Firstly, thank for this tutorial. I clone this repo and test it but I got error. Do you help me?\r\n\r\n```\r\nSending build context to Docker daemon  66.56kB\r\nStep 1/10 : FROM dlang2/dmd-ubuntu\r\n ---> 5b791b030472\r\nStep 2/10 : RUN mkdir -p /app\r\n ---> Using cache\r\n ---> 1c27e8f59a8f\r\nStep 3/10 : WORKDIR /app\r\n ---> Using cache\r\n ---> 6d2f3ef3cd12\r\nStep 4/10 : COPY . /app/\r\n ---> Using cache\r\n ---> 18293adf32d9\r\nStep 5/10 : RUN apt-get install libssl-dev libevent-dev -y\r\n ---> Using cache\r\n ---> e959a9f6b831\r\nStep 6/10 : RUN useradd --user-group --create-home --shell /bin/false app\r\n ---> Using cache\r\n ---> 333e9bb061f9\r\nStep 7/10 : USER app\r\n ---> Using cache\r\n ---> 4f9ea6f881e9\r\nStep 8/10 : RUN dub build\r\n ---> Running in af6e51505ef6\r\nFetching libevent 2.0.2+2.0.16 (getting selected version)...\r\nFetching diet-ng 1.4.4 (getting selected version)...\r\nFetching openssl 1.1.6+1.0.1g (getting selected version)...\r\nFetching memutils 0.4.10 (getting selected version)...\r\nFetching vibe-d 0.7.32 (getting selected version)...\r\nFetching libasync 0.8.3 (getting selected version)...\r\nCannot open file `/app/dub.selections.json' in mode `wb' (Permission denied)\r\nThe command '/bin/sh -c dub build' returned a non-zero code: 2\r\n```\r\nOS: Linux Mint 18.3 Cinnamon\r\nDocker: Docker version 17.12.0-ce, build c97c6d6\r\n"},"comment":{"url":"https://api.github.com/repos/aberba/docker-vibed-demo/issues/comments/365415755","html_url":"https://github.com/aberba/docker-vibed-demo/issues/1#issuecomment-365415755","issue_url":"https://api.github.com/repos/aberba/docker-vibed-demo/issues/1","id":365415755,"user":{"login":"aberba","id":8314648,"avatar_url":"https://avatars1.githubusercontent.com/u/8314648?v=4","gravatar_id":"","url":"https://api.github.com/users/aberba","html_url":"https://github.com/aberba","followers_url":"https://api.github.com/users/aberba/followers","following_url":"https://api.github.com/users/aberba/following{/other_user}","gists_url":"https://api.github.com/users/aberba/gists{/gist_id}","starred_url":"https://api.github.com/users/aberba/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aberba/subscriptions","organizations_url":"https://api.github.com/users/aberba/orgs","repos_url":"https://api.github.com/users/aberba/repos","events_url":"https://api.github.com/users/aberba/events{/privacy}","received_events_url":"https://api.github.com/users/aberba/received_events","type":"User","site_admin":false},"created_at":"2018-02-13T21:47:50Z","updated_at":"2018-02-13T21:47:50Z","author_association":"OWNER","body":"Looks like it has to do with file access permissions. `wb` mode is for opening a binary file for writing[1]. I'm not sure what its trying to do in your case.  Try building the docker image with something like `sudo` to see if it will work cus I see `(Permission denied)` in the error message. I've never used Linux mint for docker though.\r\n\r\n[1] https://www.ibm.com/support/knowledgecenter/en/SSLTBW_2.3.0/com.ibm.zos.v2r3.bpxbd00/fopen.htm"}}
{"actor":{"display_login":"aberba"}}