{"action":"opened","issue":{"url":"https://api.github.com/repos/hoytech/Alien-Electron/issues/2","repository_url":"https://api.github.com/repos/hoytech/Alien-Electron","labels_url":"https://api.github.com/repos/hoytech/Alien-Electron/issues/2/labels{/name}","comments_url":"https://api.github.com/repos/hoytech/Alien-Electron/issues/2/comments","events_url":"https://api.github.com/repos/hoytech/Alien-Electron/issues/2/events","html_url":"https://github.com/hoytech/Alien-Electron/issues/2","id":178532726,"number":2,"title":"Document Linux dependency on X11","user":{"login":"dtoso-skymesh","id":14356805,"avatar_url":"https://avatars.githubusercontent.com/u/14356805?v=3","gravatar_id":"","url":"https://api.github.com/users/dtoso-skymesh","html_url":"https://github.com/dtoso-skymesh","followers_url":"https://api.github.com/users/dtoso-skymesh/followers","following_url":"https://api.github.com/users/dtoso-skymesh/following{/other_user}","gists_url":"https://api.github.com/users/dtoso-skymesh/gists{/gist_id}","starred_url":"https://api.github.com/users/dtoso-skymesh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dtoso-skymesh/subscriptions","organizations_url":"https://api.github.com/users/dtoso-skymesh/orgs","repos_url":"https://api.github.com/users/dtoso-skymesh/repos","events_url":"https://api.github.com/users/dtoso-skymesh/events{/privacy}","received_events_url":"https://api.github.com/users/dtoso-skymesh/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-09-22T06:31:56Z","updated_at":"2016-09-22T06:31:56Z","closed_at":null,"body":"Was trying to install this module inside Docker (build time) but a test failed. On further investigation, Electron binary itself is silently failing when no X11 `$DISPLAY` is available.\r\n\r\nMost of the CPAN testers fail outputs have the same test failure so I guess they're failing for the same reason -- i.e: they don't have X11 available at module builds.\r\n\r\nA workaround that relines on `Xvfb` is as follows:\r\n```\r\nRUN (Xvfb :1 &) && \\\r\n    export DISPLAY=\":1\" && \\\r\n    sleep 5 && \\\r\n    cpanm Alien::Electron && \\\r\n    rm -rf /tmp/.X*\r\n```\r\n\r\nPerhaps `Alien::Electron` should document this dependency?\r\n\r\nObviously, the same applies for `Valence` and I'll raise the same issue there.\r\n\r\n\r\n\r\n\r\n"}}
{"actor":{"display_login":"dtoso-skymesh"}}