sbt-native-packager
sbt-native-packager copied to clipboard
sbt docker:publishLocal reports no errors but not generating anything
Run command:
sbt docker:publishLocal
No error reported. Message shows:
[info] published PROJECT_XXX to /home/USER/.ivy2/local/.....
But no ./target/docker/ generated.
- What sbt-native-packager are you using 1.4.1
- What sbt version 1.1.2
- What is your build system (e.g. Ubuntu, MacOS, Windows, Debian ) Ubuntu 18.04
- What package are you building (e.g. docker, rpm, ...) docker
- What version has your build tool (find out with e.g.
rpm --version) n/a - What is your target system (e.g. Ubuntu 16.04, CentOS 7) Ubuntu 18.04
Thanks @peidaqi for your report :smile: Can you give some more information on your error to be able to help:
- Can you give the complete output of your sbt console?
- Can you give a small
build.sbtto reproduce this error? - Have you tried starting your docker image?
- Is the image present in the
docker imagesoutput?
Note that docker doesn't generate a physical file in the target directory, but an image is stored to your local docker registry.