{"action":"opened","issue":{"url":"https://api.github.com/repos/canthefason/go-watcher/issues/11","repository_url":"https://api.github.com/repos/canthefason/go-watcher","labels_url":"https://api.github.com/repos/canthefason/go-watcher/issues/11/labels{/name}","comments_url":"https://api.github.com/repos/canthefason/go-watcher/issues/11/comments","events_url":"https://api.github.com/repos/canthefason/go-watcher/issues/11/events","html_url":"https://github.com/canthefason/go-watcher/issues/11","id":188386600,"number":11,"title":"Missing WORKDIR leads to building failure","user":{"login":"julianxhokaxhiu","id":1237070,"avatar_url":"https://avatars.githubusercontent.com/u/1237070?v=3","gravatar_id":"","url":"https://api.github.com/users/julianxhokaxhiu","html_url":"https://github.com/julianxhokaxhiu","followers_url":"https://api.github.com/users/julianxhokaxhiu/followers","following_url":"https://api.github.com/users/julianxhokaxhiu/following{/other_user}","gists_url":"https://api.github.com/users/julianxhokaxhiu/gists{/gist_id}","starred_url":"https://api.github.com/users/julianxhokaxhiu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/julianxhokaxhiu/subscriptions","organizations_url":"https://api.github.com/users/julianxhokaxhiu/orgs","repos_url":"https://api.github.com/users/julianxhokaxhiu/repos","events_url":"https://api.github.com/users/julianxhokaxhiu/events{/privacy}","received_events_url":"https://api.github.com/users/julianxhokaxhiu/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-11-10T00:15:01Z","updated_at":"2016-11-10T00:15:01Z","closed_at":null,"body":"I was testing your Docker right now and I was having a weird issue. Even if I mapped the Volume correctly, I was having this output by `watcher`:\r\n\r\n```\r\ncan't load package: package .: no buildable Go source files in /go\r\n```\r\n\r\nThen after some trials, I found that the issue was mainly because you're missing the `WORKDIR` declaration in the Dockerfile.\r\n\r\nFor now I fixed it by declaring it on the `docker run` command line, although would be nice to have it directly there.\r\n\r\nThanks again and keep up with this awesome project :)"}}
{"actor":{"display_login":"julianxhokaxhiu"}}