sbt-native-packager
sbt-native-packager copied to clipboard
sbt Native Packager
## Expected behaviour When we run sbt docker:publishLocal it is creating the image with default user demiourgos728. When we run the pod with same image it is running with user...
## Expected behaviour I'm currently writing second post about docker cache efficiency on SBT. My main focus is to use docker cache in CI environments as much as possible. Already...
## Expected behaviour `sbt universal:packageBin` should create a BAT file including a reference to my bundled JRE when I specify: ``` Universal / javaOptions ++= Seq( "-java-home ${app_home}/../jre" ) ```...
## Expected behaviour Latest version of sbt-native-packager resolves this issue: https://github.com/sbt/sbt-native-packager/issues/1262 However I am still seeing this with the latest version of sbt-native-packager 1.7.6 when I `sbt docker:publishLocal` This happened...
For instance: to add packages to the base image you need to be root. Worked around this by flatMapping the dockerCommands and inserting an extra item. ``` dockerCommands := dockerCommands.value.flatMap...
With latest version adoptopenjdk/openjdk11:alpine-jre application don't start and we get `FATAL ERROR in native method: processing of -javaagent failed, appending to system class path failed Unexpected error (103) returned by...
Fixes #1399 SettingKeys are added under Docker specific trait. I also added basic documentation about them being available.
When building docker images using `sbt-native-packager` currently access to a docker daemon is required. Google's project Kaniko https://github.com/GoogleContainerTools/kaniko offers an alternative way (no docker-in-docker or mapping of docker sockets required,...
## Expected behaviour SBT should download `sbt-native-packager`. ## Actual behaviour It randomly fails: ``` [warn] Note: Some unresolved dependencies have extra attributes. Check that these dependencies exist with the requested...
Using sbt 1.4.4 to create a zip for a Play Framework (2.8) project via `sbt dist`. I am specifying `javaOptions` just like seen in the [documentation](https://www.scala-sbt.org/sbt-native-packager/archetypes/java_app/customize.html#via-build-sbt). These are my exact...