-
-
Notifications
You must be signed in to change notification settings - Fork 5.8k
Reduce number of layer #2078
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
Reduce number of layer #2078
Conversation
Somes layer are created and aren't usefull, so I compress this :)
I suggest also use https://github.com/xataz/docker-alpine because his image are more updated than official alpine image :) |
LGTM |
LGTM |
Alternatively, you could also use |
But, I don't think if |
It's a new option added in 1.13:
So you're right in that it doesn't allow sharing of intermediate layers, but if the aim is to produce the smallest possible image, it's the way to go. |
Somes layer are created and aren't usefull, so I compress this :)