{"action":"created","issue":{"url":"https://api.github.com/repos/palantir/gradle-docker/issues/8","labels_url":"https://api.github.com/repos/palantir/gradle-docker/issues/8/labels{/name}","comments_url":"https://api.github.com/repos/palantir/gradle-docker/issues/8/comments","events_url":"https://api.github.com/repos/palantir/gradle-docker/issues/8/events","html_url":"https://github.com/palantir/gradle-docker/issues/8","id":110586572,"number":8,"title":"files not added to docker context","user":{"login":"dsw2127","id":1069989,"avatar_url":"https://avatars.githubusercontent.com/u/1069989?v=3","gravatar_id":"","url":"https://api.github.com/users/dsw2127","html_url":"https://github.com/dsw2127","followers_url":"https://api.github.com/users/dsw2127/followers","following_url":"https://api.github.com/users/dsw2127/following{/other_user}","gists_url":"https://api.github.com/users/dsw2127/gists{/gist_id}","starred_url":"https://api.github.com/users/dsw2127/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dsw2127/subscriptions","organizations_url":"https://api.github.com/users/dsw2127/orgs","repos_url":"https://api.github.com/users/dsw2127/repos","events_url":"https://api.github.com/users/dsw2127/events{/privacy}","received_events_url":"https://api.github.com/users/dsw2127/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-10-09T04:41:00Z","updated_at":"2015-10-09T04:59:32Z","closed_at":null,"body":"Using the \"files\" method of the docker closure does not seem to have any effect.\r\n\r\nI am trying to add a file like:\r\n```\r\ndocker {\r\n  name \"myImage:${version}\"\r\n  files \"myFile.txt\"\r\n}\r\n```\r\n\r\nIn a Dockerfile that includes:\r\n```\r\nADD myFile.txt /tmp/\r\n```\r\n\r\nbut when running it I get the error:\r\n```\r\nStep 7 : ADD myFile.txt /tmp/\r\nmyFile.txt: no such file or directory\r\n:myProject:docker FAILED\r\n```\r\n\r\nIf I run dockerPrepare, I can see that while the Dockerfile appears in the build/ directory of the project, myFile.txt is not there."},"comment":{"url":"https://api.github.com/repos/palantir/gradle-docker/issues/comments/146755550","html_url":"https://github.com/palantir/gradle-docker/issues/8#issuecomment-146755550","issue_url":"https://api.github.com/repos/palantir/gradle-docker/issues/8","id":146755550,"user":{"login":"dsw2127","id":1069989,"avatar_url":"https://avatars.githubusercontent.com/u/1069989?v=3","gravatar_id":"","url":"https://api.github.com/users/dsw2127","html_url":"https://github.com/dsw2127","followers_url":"https://api.github.com/users/dsw2127/followers","following_url":"https://api.github.com/users/dsw2127/following{/other_user}","gists_url":"https://api.github.com/users/dsw2127/gists{/gist_id}","starred_url":"https://api.github.com/users/dsw2127/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dsw2127/subscriptions","organizations_url":"https://api.github.com/users/dsw2127/orgs","repos_url":"https://api.github.com/users/dsw2127/repos","events_url":"https://api.github.com/users/dsw2127/events{/privacy}","received_events_url":"https://api.github.com/users/dsw2127/received_events","type":"User","site_admin":false},"created_at":"2015-10-09T04:59:32Z","updated_at":"2015-10-09T04:59:32Z","body":"The issue was a simple typo. Opened the PR with a fix and test: https://github.com/palantir/gradle-docker/pull/9"}}