These are chat archives for sbt/sbt-native-packager

25th
Mar 2016
matanster
@matanster
Mar 25 2016 14:02
Question about the docker plugin ― where can one see which OS and java runtime does it pack underneath the project being packaged?
Nepomuk Seiler
@muuki88
Mar 25 2016 17:54
That depends on the base image you use. See the docker docs: http://sbt-native-packager.readthedocs.org/en/latest/formats/docker.html
matanster
@matanster
Mar 25 2016 18:21
Thanks, now found about dockerBaseImage in there. So I guess the plugin starts the base image, then stuffs the project in it and makes a new image of that.
Cool stuff, well documented. Just hadn't guessed it's fully parameterized at first.
matanster
@matanster
Mar 25 2016 21:10
Second question, is there any built-in wizdom in sbt-native-packager that avoids manually dealing with this as in the equivalent (yet annoying) sbt-assembly plugin?
Nepomuk Seiler
@muuki88
Mar 25 2016 21:40
Short answer: no :( this is the well known java classpath hell. Native-packager provides a classpath ordering, but that doesn't warn / protect you from duplicated entries. The JVM class loader decides.
matanster
@matanster
Mar 25 2016 22:17
This message was deleted
Thanks, cool
:+1: