sbt-native-packager
sbt-native-packager copied to clipboard
sbt Native Packager
Hello All. Recently, our company ran security scanning for our app which use sbt-native-packager and inform us to update commons-compress library from 1.20 to 1.21. According to them, it has...
## Expected behaviour Expecting the following command to build a docker image, tag it with two tags; the version and 'another-tag': `sbt "set dockerAliases in Docker ++= Seq(dockerAlias.value.withTag(Option(\\\"another-tag\\\")))" docker:publish` ##...
`exec: line 1: /opt/docker/jre/bin/java: not found` when trying to use docker image build with jlink
## Expected behaviour Generate a docker image with the stripped down jre built by jlink. This is useful as slim images can be used as the base image such as...
## Expected behaviour `dockerBuildInit := true` should build an image with tini as the entrypoint when I run `docker:publishLocal` ## Actual behaviour It says that `--init` is not an option...
I originally opened https://github.com/sbt/website/issues/1072 on this but it seems the problem is at this end...? this can actually trip people up; it happened at e.g. https://github.com/sbt/sbt-native-packager/issues/1459#issuecomment-1076160694
For the Akka Serverless/Kalix Scala SDK we have the need for users to be able to build amd64 docker images from other cpu architectures (in practice it's probably only Apple...
## Expected behaviour If my `application.ini` file, loaded by the `loadConfigFile` contains arguments with a space in it, for example: ``` -J-XX:OnOutOfMemoryError=/usr/sbin/my-oom-handler arg1 arg2 ``` then that line should be...
## Expected behaviour `sbt docker:publishLocal` creates docker image. ## Actual behaviour `sbt docker:publishLocal` fails with: ``` [info] Step 5/25 : COPY opt /opt [error] COPY failed: stat /var/lib/docker/tmp/docker-builder241894592/opt: no such...
I would like to build GraalVM native image for ARM architecture from my AMD machine. It such feature currently supported by native-packager ? As for now I have tried to...
## Observed and desired behavior Using both the JLink an the Docker plugins, when developing on a Mac machine, I'd like to get a Docker image that would run on...