3 ms·
For Java you can use jib from google https://github.com/GoogleContainerTools/jib https://github.com/GoogleContainerTools/jib
by victor106 6y ago
For Java you can use jib from google
https://github.com/GoogleContainerTools/jib https://github.com/GoogleContainerTools/jib
- donmcronald 6y agoHere's a related blog post that does a nice job of showing how dependencies and resources should be put in different layers. https://phauer.com/2019/no-fat-jar-in-docker-image/ https://phauer.com/2019/no-fat-jar-in-docker-image/
- gtirloni 6y agoThis is pretty interesting, thanks for sharing. I wonder if there's something similar in the Node.js ecosystem EDIT: I guess the same happens if the package.json/lock file doesn't change.
- deleted 6y ago[deleted]
- donmcronald 6y agoI don't know of anything that does it automatically. I think there's a lot of room for improvement in image building. No one seems to care about how bad it is currently though.
- pjmlp 6y agoAnd for .NET, tye. https://github.com/dotnet/tye https://github.com/dotnet/tye