r/java • u/henk53 • Apr 01 '26
A three year long unfruitful struggle to publish an official image on dockerhub
https://github.com/docker-library/official-images/pull/14107
28
Upvotes
r/java • u/henk53 • Apr 01 '26
3
u/chabala Apr 02 '26 edited Apr 03 '26
Just excuses by the Omnifish guys, in my opinion. They received clear feedback that their image was weird and not up to standard, and instead of making it better they tried to rationalize the way it was.
I'm largely responsible for asking that they fix the official Dockerhub image (in 2021, and 2023 [1] [2]), and I expected this tension between the image they had and how normal Docker images work. My expectation was that the feedback from the Docker maintainers would lead to a better image. Instead, stubborn pushback and minimal changes.
Glassfish is part of the problem. It's too hard to configure in a sensible way, like before starting it, and instead of fixing that the Docker image is full of weird hacks. That's why it hasn't been accepted, and more reviews won't help when the first wasn't taken seriously.
--
All the Glassfish contributors in the comments want to compare with OpenLiberty's container: it doesn't matter, focus on your own work, not what your neighbor managed to get in. I don't think their Dockerfile looks that great either, but that's their problem, not yours.
11
u/persicsb Apr 02 '26
It is easier to use the one from Eclipse project, donated by Omnifish.
It is an official image, just not stored on Dockerhub root namespace, but on Github registry.
Just like Wildfly (available from the Red Hat registy) or OpenLiberty (available from the IBM registry).
I think this kind of struggle is unnecessary, consumes time with no added benefit.
17
u/repeating_bears Apr 02 '26
Yeah, this is pathetic from those maintainers. It almost reads like a joke.
The two reviews are both a "very short glance" and "didn't put as much time into editorializing (or sorting) my comments here as I normally would". It's been 3 years. Just review it to your full standards, instead of giving yourself an excuse to add more inane nitpicks later.
I admire your patience.
2
u/elmuerte Apr 02 '26
I'm not going to dig through the comments of Github PR. Where is the struggle why this takes 3 years?