You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Over the years I've noticed a lot of public images that people rely on becoming deprecated, as an example, the OpenJDK image in Dockerhub has been marked as deprecated on its Dockerhub page. Unfortunately, there is no way to communicate this to developers who don't bother to check the Dockerhub page, this leads to a situation where I can see dozens of images across my company alone using a deprecated image, and in the worst case, they only learn this when the image disappears during a service restart or scaling.
Is there a way for us to add a field in the Image Schema to mark an image as depreciated so that developer tools can raise this issue to developers? My first thought would be a bool field on the Image index that will default to false/should be interpreted as false if not present, like deprecated:
deprecatedbool
This OPTIONAL indicates whether the image should be considered deprecated or not. If this property is not defined, the image should be assumed to not be deprecated.
Is this something that would even be considered in scope for the OCI Image Spec?
The text was updated successfully, but these errors were encountered:
Thanks for the quick feedback, sorry, I failed to find that other post about deprecation otherwise I wouldn't have bothered asking 🤷
The warning headers look like they'd solve the problem, I'd love to see more tooling integrate them so that they're surfaced to developers more prominently. I'll close this off, again, thanks for the quick response!
Over the years I've noticed a lot of public images that people rely on becoming deprecated, as an example, the OpenJDK image in Dockerhub has been marked as deprecated on its Dockerhub page. Unfortunately, there is no way to communicate this to developers who don't bother to check the Dockerhub page, this leads to a situation where I can see dozens of images across my company alone using a deprecated image, and in the worst case, they only learn this when the image disappears during a service restart or scaling.
Is there a way for us to add a field in the Image Schema to mark an image as depreciated so that developer tools can raise this issue to developers? My first thought would be a bool field on the Image index that will default to false/should be interpreted as false if not present, like
deprecated
:deprecated
boolThis OPTIONAL indicates whether the image should be considered deprecated or not. If this property is not defined, the image should be assumed to not be deprecated.
Is this something that would even be considered in scope for the OCI Image Spec?
The text was updated successfully, but these errors were encountered: