Skip to content
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

Autoremove multi-stage intermediate image(s) #1279

Merged
merged 6 commits into from
Nov 18, 2019

Conversation

mkurz
Copy link
Member

@mkurz mkurz commented Nov 14, 2019

Fixes #1229
Splitted in three four clean commits.

Let me know what you think. Thanks!

EDIT: Solution was inspired from here: moby/moby#34513 (comment)

Copy link
Contributor

@muuki88 muuki88 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks a lot for your work on this @mkurz ❤️ 😎

As the docker file output changed there's one failing integration test:
https://travis-ci.org/sbt/sbt-native-packager/jobs/612122899#L1050-L1082

I have some questions about the implementations as I'm not sure I fully understand what's going on or which issues are being solved 😄

@mkurz
Copy link
Member Author

mkurz commented Nov 18, 2019

@muuki88 I pushed commits to fix the failing test and to search for the LABEL definition instead of the comment approach. Let me know what you think.

Copy link
Contributor

@muuki88 muuki88 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the detailed explanation @mkurz ❤️ Will release this ASAP 👍

@muuki88 muuki88 merged commit 7ed21b2 into sbt:master Nov 18, 2019
@muuki88
Copy link
Contributor

muuki88 commented Nov 18, 2019

v1.5.0 built is triggered

@mkurz mkurz deleted the rm-multistage-intermediate-images branch November 18, 2019 22:21
@mkurz
Copy link
Member Author

mkurz commented Nov 18, 2019

Thanks a lot @muuki88!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Why does it create an <none> image?
2 participants