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

Add jmods into -dev variant. #2628

Closed
wants to merge 1 commit into from
Closed

Conversation

vaikas
Copy link
Contributor

@vaikas vaikas commented May 4, 2024

New Image Pull Request Template

Add jmods into -dev variant. Before this, if you tried to use jlink, you would get the following error message:

this runtime image does not contain jmods directory.

target_repository = var.target_repository
config = module.latest-config.config
build-dev = true
extra_dev_packages = each.key != "8" ? ["openjdk-${each.key}-jmods"] : []
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Since this is always building the latest version, we don't need to take a versioned approach (or filter out OpenJDK 8):

Suggested change
extra_dev_packages = each.key != "8" ? ["openjdk-${each.key}-jmods"] : []
extra_dev_packages = ["openjdk-jmods"]

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeah, I was just being silly. I can't figure out how to just use openjdk-mods and need to use openjdk-22-mods though.

Signed-off-by: Ville Aikas <[email protected]>
@vaikas vaikas enabled auto-merge (squash) May 5, 2024 20:03
@jdolitsky
Copy link
Contributor

As part of a Chainguard effort to reduce code duplication and provide higher quality images, we have stopped accepting pull requests for changes to images in this repository. Due to this, we are closing all pull requests today in order to start fresh.

If you think this pull request was closed in error, please feel free to re-open this pull request or open an issue and we will try to help you out. Thank you!

@jdolitsky jdolitsky closed this Jun 5, 2024
auto-merge was automatically disabled June 5, 2024 17:37

Pull request was closed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants