-
Notifications
You must be signed in to change notification settings - Fork 472
Description
After reading some of the issues, I wanted to share some thoughts on how to drive this image in the future (before it's too late) to simplify maintainability and also adoption.
Maintain only JDK images
Providing a JRE-only image is unnecessary. It does not save in substantial image size and does not add features, only removes them. There is nothing JRE can do that JDK can't.
Use a different Linux base image distribution
The current image is huge (>600MB) for something that could be smaller than 100MB if using Alpine Linux. The goal of the image should be to run most of the server-side Java applications. Users who want something different should build their own images.
The image size of OpenJDK 8 on Alpine Linux is 146.5MB
If can't change distro, trim it removing packages
The default image should contain basically only JDK and a very small Linux environment with a package manager. The environment is that makes the existing images big. If users want something else, they should apt-get / yum / apk / deb / whatever they want.
I understand the drawbacks of such changes, but it is quite obvious that the way it is right now is unsustainable. If this repository keeps going like this, next users will start to ask for images with the OpenJDK documentation or demos
m2c