{"action":"created","issue":{"url":"https://api.github.com/repos/moby/buildkit/issues/739","repository_url":"https://api.github.com/repos/moby/buildkit","labels_url":"https://api.github.com/repos/moby/buildkit/issues/739/labels{/name}","comments_url":"https://api.github.com/repos/moby/buildkit/issues/739/comments","events_url":"https://api.github.com/repos/moby/buildkit/issues/739/events","html_url":"https://github.com/moby/buildkit/issues/739","id":385228457,"node_id":"MDU6SXNzdWUzODUyMjg0NTc=","number":739,"title":"symlinked dockerignore is ignored","user":{"login":"dreyks","id":1481264,"node_id":"MDQ6VXNlcjE0ODEyNjQ=","avatar_url":"https://avatars3.githubusercontent.com/u/1481264?v=4","gravatar_id":"","url":"https://api.github.com/users/dreyks","html_url":"https://github.com/dreyks","followers_url":"https://api.github.com/users/dreyks/followers","following_url":"https://api.github.com/users/dreyks/following{/other_user}","gists_url":"https://api.github.com/users/dreyks/gists{/gist_id}","starred_url":"https://api.github.com/users/dreyks/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dreyks/subscriptions","organizations_url":"https://api.github.com/users/dreyks/orgs","repos_url":"https://api.github.com/users/dreyks/repos","events_url":"https://api.github.com/users/dreyks/events{/privacy}","received_events_url":"https://api.github.com/users/dreyks/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-11-28T11:41:25Z","updated_at":"2018-11-29T06:20:55Z","closed_at":null,"author_association":"NONE","body":"~ER:\r\naccording to [docker documentation](https://docs.docker.com/engine/reference/builder/#dockerignore-file)~\r\n\r\n~> For the purposes of matching, the root of the context is considered to be both the working and the root directory. For example, the patterns /foo/bar and foo/bar both exclude a file or directory named bar in the foo subdirectory of PATH~\r\n\r\n~AR:\r\n`echo '/big_dev_folder' > .dockerignore`\r\nstill sends the whole folder. removing the `/` fixes the issue~\r\n\r\nthe real issue is that if `.dockerignore` is a symlink - it is not getting loaded at all"},"comment":{"url":"https://api.github.com/repos/moby/buildkit/issues/comments/442720043","html_url":"https://github.com/moby/buildkit/issues/739#issuecomment-442720043","issue_url":"https://api.github.com/repos/moby/buildkit/issues/739","id":442720043,"node_id":"MDEyOklzc3VlQ29tbWVudDQ0MjcyMDA0Mw==","user":{"login":"tonistiigi","id":585223,"node_id":"MDQ6VXNlcjU4NTIyMw==","avatar_url":"https://avatars1.githubusercontent.com/u/585223?v=4","gravatar_id":"","url":"https://api.github.com/users/tonistiigi","html_url":"https://github.com/tonistiigi","followers_url":"https://api.github.com/users/tonistiigi/followers","following_url":"https://api.github.com/users/tonistiigi/following{/other_user}","gists_url":"https://api.github.com/users/tonistiigi/gists{/gist_id}","starred_url":"https://api.github.com/users/tonistiigi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tonistiigi/subscriptions","organizations_url":"https://api.github.com/users/tonistiigi/orgs","repos_url":"https://api.github.com/users/tonistiigi/repos","events_url":"https://api.github.com/users/tonistiigi/events{/privacy}","received_events_url":"https://api.github.com/users/tonistiigi/received_events","type":"User","site_admin":false},"created_at":"2018-11-29T06:20:55Z","updated_at":"2018-11-29T06:20:55Z","author_association":"MEMBER","body":"I believe this was fixed in https://github.com/moby/buildkit/pull/733\r\n\r\nCan you check with `#syntax=docker/dockerfile-upstream:master` ?\r\n\r\n"}}
{"actor":{"display_login":"tonistiigi"}}