{"action":"created","issue":{"url":"https://api.github.com/repos/buildpack/pack/issues/79","repository_url":"https://api.github.com/repos/buildpack/pack","labels_url":"https://api.github.com/repos/buildpack/pack/issues/79/labels{/name}","comments_url":"https://api.github.com/repos/buildpack/pack/issues/79/comments","events_url":"https://api.github.com/repos/buildpack/pack/issues/79/events","html_url":"https://github.com/buildpack/pack/issues/79","id":390636575,"node_id":"MDU6SXNzdWUzOTA2MzY1NzU=","number":79,"title":"Invalid built image with newest stack","user":{"login":"ericbottard","id":313494,"node_id":"MDQ6VXNlcjMxMzQ5NA==","avatar_url":"https://avatars3.githubusercontent.com/u/313494?v=4","gravatar_id":"","url":"https://api.github.com/users/ericbottard","html_url":"https://github.com/ericbottard","followers_url":"https://api.github.com/users/ericbottard/followers","following_url":"https://api.github.com/users/ericbottard/following{/other_user}","gists_url":"https://api.github.com/users/ericbottard/gists{/gist_id}","starred_url":"https://api.github.com/users/ericbottard/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ericbottard/subscriptions","organizations_url":"https://api.github.com/users/ericbottard/orgs","repos_url":"https://api.github.com/users/ericbottard/repos","events_url":"https://api.github.com/users/ericbottard/events{/privacy}","received_events_url":"https://api.github.com/users/ericbottard/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2018-12-13T11:30:39Z","updated_at":"2018-12-13T17:30:23Z","closed_at":"2018-12-13T17:30:23Z","author_association":"CONTRIBUTOR","body":"Doing the following:\r\n```\r\ncd /tmp\r\ngit clone https://github.com/projectriff-samples/node-square\r\ncd node-square\r\ntouch riff.toml\r\npack build --builder projectriff/builder  -p .  --publish <your/image:here>\r\n```\r\n(ie building a riff function that is written in node)\r\nwith a recent `pack` version leads to the following when trying to run the built app:\r\n```\r\ndocker run -p8080:8080 <your/image:here>\r\n2018/12/13 11:01:24 Error: failed to launch: modify env: find buildpack directory: stat /workspace/org.cloudfoundry.openjdk: no such file or directory\r\n```\r\n\r\nThe openjdk BP passed detection (it's a no-op) but did not contribute anything in the build phase in this case (it's a node function).\r\n\r\nI managed to \"cure\" the problem by reverting to pack@0.0.4 **AND** removing the `~/.pack/config.toml` file, so I suspect this has something to do with the changes in the default stack\r\n\r\n\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/buildpack/pack/issues/comments/447053323","html_url":"https://github.com/buildpack/pack/issues/79#issuecomment-447053323","issue_url":"https://api.github.com/repos/buildpack/pack/issues/79","id":447053323,"node_id":"MDEyOklzc3VlQ29tbWVudDQ0NzA1MzMyMw==","user":{"login":"ekcasey","id":1994518,"node_id":"MDQ6VXNlcjE5OTQ1MTg=","avatar_url":"https://avatars3.githubusercontent.com/u/1994518?v=4","gravatar_id":"","url":"https://api.github.com/users/ekcasey","html_url":"https://github.com/ekcasey","followers_url":"https://api.github.com/users/ekcasey/followers","following_url":"https://api.github.com/users/ekcasey/following{/other_user}","gists_url":"https://api.github.com/users/ekcasey/gists{/gist_id}","starred_url":"https://api.github.com/users/ekcasey/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ekcasey/subscriptions","organizations_url":"https://api.github.com/users/ekcasey/orgs","repos_url":"https://api.github.com/users/ekcasey/repos","events_url":"https://api.github.com/users/ekcasey/events{/privacy}","received_events_url":"https://api.github.com/users/ekcasey/received_events","type":"User","site_admin":false},"created_at":"2018-12-13T17:30:23Z","updated_at":"2018-12-13T17:30:23Z","author_association":"MEMBER","body":"Images are published. This issue should be resolved. Let us know if you run into any more problems!"}}
{"actor":{"display_login":"ekcasey"}}