These are chat archives for sbt/sbt-native-packager
JDebPackaging. If I run a task with a dependency on
debian:pacakgeBinit works fine, but if I run it directly I see
[info] Building debian package with java based implementation 'jdeb' [info] Creating debian package: /Users/philip/facia-tool/facia-tool/target/facia-tool_1.0_all.deb [info] Building debian package with native implementation
aggregatescall from one sub-project to the other, so not a problem with sbt-native-packager at all
Hi! I'm using sbt-native-packager with DockerPlugin.
Resulting image contains two layers of similar sizes:
... b49580a36beb6c7cd020ad006954f245aebf82041d3e79eff1517fdbf58ae6cd About an hour ago chown -R daemon:daemon . 125.2 MB f12b3a929ded4161044642e117114b57889613d77186a0a727862ab5a44af5e3 About an hour ago /bin/sh -c #(nop) ADD dir:678c325d24285ae96f682c6abc3d71cc8a17ee6267a2db4fff232fcaaa5dec13 in /opt 125.2 MB ...
One of layers is created by the next command in DockerPlugin:
makeChown(user, group, "." :: Nil)
Could you please explain what is the reason for using it and why it creates another layer?