-
Notifications
You must be signed in to change notification settings - Fork 444
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Why does it create an <none> image? #1229
Comments
See https://github.com/sbt/sbt-native-packager/releases/tag/v1.3.16. |
+1, is there any progress on this issue? |
Thanks for asking @vladimirshin 😃 . I'm happy to give you guidance and merge pull requests if you would like to work on this issue 🤗 |
+1, do i need this image? is it safe to be deleted or is there any dependencies on that image? |
The image is used basically as a preparation kitchen to change your real image's file permissions. Without using the technique, it will double the final image size for no reason. If As far as I know, you should be able to delete it afterwards. Maybe that's something we can automate too. |
I rewrote the description of the bug. I hope @bifunctor won't mind. |
Please read my comment how this can easily be solved:
|
@mkurz thanks for updating this. Would you like to try to make that change? 😃 |
Yes I will. PR is coming soon. |
Pull request with the fix: #1279 |
steps
sbt docker:publishLocal
problem
There's a 703MB image named
<none>
that is created.expectations
sbt-native-packager cleans after itself, so
<none>
is deleted if it's only used for prep work.original bug report
Hi all
When I run the command:
sbt docker:publishLocal
it always create the following images:
and I could not figure out, why it always create an
<none>
image.I am using the latest version of sbt-native-packager and the build.sbt looks as the following:
OS is UBUNTU 18.04
What am I doing wrong?
Thanks
The text was updated successfully, but these errors were encountered: