{"action":"created","issue":{"url":"https://api.github.com/repos/jiahaog/nativefier/issues/544","repository_url":"https://api.github.com/repos/jiahaog/nativefier","labels_url":"https://api.github.com/repos/jiahaog/nativefier/issues/544/labels{/name}","comments_url":"https://api.github.com/repos/jiahaog/nativefier/issues/544/comments","events_url":"https://api.github.com/repos/jiahaog/nativefier/issues/544/events","html_url":"https://github.com/jiahaog/nativefier/issues/544","id":299715327,"number":544,"title":"Nativefier build fails in Docker","user":{"login":"jrseliga","id":3277067,"avatar_url":"https://avatars2.githubusercontent.com/u/3277067?v=4","gravatar_id":"","url":"https://api.github.com/users/jrseliga","html_url":"https://github.com/jrseliga","followers_url":"https://api.github.com/users/jrseliga/followers","following_url":"https://api.github.com/users/jrseliga/following{/other_user}","gists_url":"https://api.github.com/users/jrseliga/gists{/gist_id}","starred_url":"https://api.github.com/users/jrseliga/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jrseliga/subscriptions","organizations_url":"https://api.github.com/users/jrseliga/orgs","repos_url":"https://api.github.com/users/jrseliga/repos","events_url":"https://api.github.com/users/jrseliga/events{/privacy}","received_events_url":"https://api.github.com/users/jrseliga/received_events","type":"User","site_admin":false},"labels":[{"id":577340057,"url":"https://api.github.com/repos/jiahaog/nativefier/labels/cannot%20reproduce","name":"cannot reproduce","color":"bfd4f2","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2018-02-23T13:43:01Z","updated_at":"2018-04-02T19:34:42Z","closed_at":null,"author_association":"NONE","body":"### Description\r\nPermission denied on nativefier build.\r\n\r\n### Steps to reproduce issue\r\nFollow Docker instructions in `README`\r\n\r\n\r\n### Details\r\n- [x] Are you nativefying a *public* website?\r\n- Feature request? Have you looked at `nativefier --help` to see if an existing option could fit your needs?\r\n- [x] Full nativefier command used to build your app: `<command here>`\r\n```\r\nmkdir packages\r\ndocker run -v packages:/target local/nativefier https://github.com /target/\r\n```\r\n- [ ] Version of Nativefier (run `nativefier --version`): `v0.0.0`\r\n- [ ] Version of node.js (run `node --version`): `v0.0.0`\r\n- [x] OS: `<OS here>`\r\n - Ubuntu 17.10\r\n\r\n- Same error in docker:latest container in Gitlab CI\r\n```\r\nimage: docker:latest\r\n\r\nservices:\r\n  - docker:dind\r\n\r\nbefore_script:\r\n  - docker build -t local/nativefier .\r\n\r\nbuild-master:\r\n  stage: build\r\n  script:\r\n    - mkdir - /tmp/nativifier\r\n    - docker run -v /tmp/nativifier:/packaged local/nativefier https://github.com/ /packaged/\r\n  only:\r\n    - master\r\n  artifacts:\r\n    paths:\r\n    - /tmp/nativifier\r\n```\r\n- [x] Error message / stack trace (if any):\r\n\r\n```\r\n{ Error: EACCES: permission denied, mkdir '/packaged/linux-x64-template'\r\n  errno: -13,\r\n  code: 'EACCES',\r\n  syscall: 'mkdir',\r\n  path: '/packaged/linux-x64-template' }\r\n```\r\n"},"comment":{"url":"https://api.github.com/repos/jiahaog/nativefier/issues/comments/378020461","html_url":"https://github.com/jiahaog/nativefier/issues/544#issuecomment-378020461","issue_url":"https://api.github.com/repos/jiahaog/nativefier/issues/544","id":378020461,"user":{"login":"ambakshi","id":32329,"avatar_url":"https://avatars1.githubusercontent.com/u/32329?v=4","gravatar_id":"","url":"https://api.github.com/users/ambakshi","html_url":"https://github.com/ambakshi","followers_url":"https://api.github.com/users/ambakshi/followers","following_url":"https://api.github.com/users/ambakshi/following{/other_user}","gists_url":"https://api.github.com/users/ambakshi/gists{/gist_id}","starred_url":"https://api.github.com/users/ambakshi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ambakshi/subscriptions","organizations_url":"https://api.github.com/users/ambakshi/orgs","repos_url":"https://api.github.com/users/ambakshi/repos","events_url":"https://api.github.com/users/ambakshi/events{/privacy}","received_events_url":"https://api.github.com/users/ambakshi/received_events","type":"User","site_admin":false},"created_at":"2018-04-02T19:34:42Z","updated_at":"2018-04-02T19:34:42Z","author_association":"NONE","body":"Try giving the full path to packages, otherwise docker thinks packages is a docker volume:\r\n\r\ndocker run -v $(pwd)/packages:/target local/nativefier https://github.com /target/\r\n"}}
{"actor":{"display_login":"ambakshi"}}