{"action":"created","issue":{"url":"https://api.github.com/repos/sbt/sbt-native-packager/issues/647","labels_url":"https://api.github.com/repos/sbt/sbt-native-packager/issues/647/labels{/name}","comments_url":"https://api.github.com/repos/sbt/sbt-native-packager/issues/647/comments","events_url":"https://api.github.com/repos/sbt/sbt-native-packager/issues/647/events","html_url":"https://github.com/sbt/sbt-native-packager/pull/647","id":99857510,"number":647,"title":"wip/ash","user":{"login":"gzoller","id":772873,"avatar_url":"https://avatars.githubusercontent.com/u/772873?v=3","gravatar_id":"","url":"https://api.github.com/users/gzoller","html_url":"https://github.com/gzoller","followers_url":"https://api.github.com/users/gzoller/followers","following_url":"https://api.github.com/users/gzoller/following{/other_user}","gists_url":"https://api.github.com/users/gzoller/gists{/gist_id}","starred_url":"https://api.github.com/users/gzoller/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gzoller/subscriptions","organizations_url":"https://api.github.com/users/gzoller/orgs","repos_url":"https://api.github.com/users/gzoller/repos","events_url":"https://api.github.com/users/gzoller/events{/privacy}","received_events_url":"https://api.github.com/users/gzoller/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/sbt/sbt-native-packager/labels/universal","name":"universal","color":"77531E"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-08-09T03:19:06Z","updated_at":"2015-08-09T08:20:09Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/sbt/sbt-native-packager/pulls/647","html_url":"https://github.com/sbt/sbt-native-packager/pull/647","diff_url":"https://github.com/sbt/sbt-native-packager/pull/647.diff","patch_url":"https://github.com/sbt/sbt-native-packager/pull/647.patch"},"body":"The current packager is bash-specific.  If you want to use a BusyBox base Docker image then the current plugin has issues because BusyBox uses ash, not bash.  Some of the more recent changes to the plugin are ash-incompatible (e.g. arrays in the script--ash doesn't have arrays).  At first I thought I could get around this by overriding the template in my project but no dice.  There are ash-incompatible issues in the template replacement for ${{template_declares}} -- these replacements are bash-specific, so I needed a new ash archetype.  This pull request creates a simple ash-compatible launch script, without affecting the current bash capabilities.  BusyBox is a pretty common lightweight base image so it'd be really great if this or a similar capability was pulled into master."},"comment":{"url":"https://api.github.com/repos/sbt/sbt-native-packager/issues/comments/129139620","html_url":"https://github.com/sbt/sbt-native-packager/pull/647#issuecomment-129139620","issue_url":"https://api.github.com/repos/sbt/sbt-native-packager/issues/647","id":129139620,"user":{"login":"muuki88","id":647727,"avatar_url":"https://avatars.githubusercontent.com/u/647727?v=3","gravatar_id":"","url":"https://api.github.com/users/muuki88","html_url":"https://github.com/muuki88","followers_url":"https://api.github.com/users/muuki88/followers","following_url":"https://api.github.com/users/muuki88/following{/other_user}","gists_url":"https://api.github.com/users/muuki88/gists{/gist_id}","starred_url":"https://api.github.com/users/muuki88/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/muuki88/subscriptions","organizations_url":"https://api.github.com/users/muuki88/orgs","repos_url":"https://api.github.com/users/muuki88/repos","events_url":"https://api.github.com/users/muuki88/events{/privacy}","received_events_url":"https://api.github.com/users/muuki88/received_events","type":"User","site_admin":false},"created_at":"2015-08-09T08:20:09Z","updated_at":"2015-08-09T08:20:09Z","body":"Thanks a lot for your contribution :-) Code LGTM. There is some duplicated stuff, but I'll refactor this at some point.\r\n\r\nTwo things would be nice:\r\n\r\n- one test in sbt-test/universal that the ash script gets created\r\n- small hint in the docs what the difference between the two start scripts are ( in the Java application archetype )"}}