Skip to content
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

Provide a simple way to determine Liberty version #442

Open
2 tasks
leochr opened this issue Apr 13, 2022 · 0 comments
Open
2 tasks

Provide a simple way to determine Liberty version #442

leochr opened this issue Apr 13, 2022 · 0 comments

Comments

@leochr
Copy link
Member

leochr commented Apr 13, 2022

Labels version and org.opencontainers.image.version are set on the Liberty images. But this could be overridden by application images (getting-started Liberty app does that). Create a unique label to specify the version of Liberty runtime, so it can be easily retrieved from the image metadata.

Suggest to add these:

  • liberty.version (so it's common for both OL and WL)
  • com.ibm.websphere.liberty.version (for WL)
  • io.openliberty.version (for OL)

Users can use skopeo inspect command to retrieve Liberty runtime version. The goal is to determine the version without running the image. Podman/docker inspect could be used as well, but that requires the image to be pulled.

  • Delivered to WebSphere Liberty
  • Delivered to Open Liberty
@leochr leochr changed the title Provide a simple way to determine Liberty version within the application image Provide a simple way to determine Liberty version Apr 13, 2022
@halim-lee halim-lee self-assigned this May 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants