Skip to content

Commit

Permalink
Add jmods into -dev variant.
Browse files Browse the repository at this point in the history
Signed-off-by: Ville Aikas <[email protected]>
  • Loading branch information
vaikas committed May 4, 2024
1 parent 463fd2f commit 26fdd5d
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions images/jdk/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,12 @@ variable "target_repository" {
module "latest-config" { source = "./config" }

module "latest" {
source = "../../tflib/publisher"
name = basename(path.module)
target_repository = var.target_repository
config = module.latest-config.config
build-dev = true
source = "../../tflib/publisher"
name = basename(path.module)
target_repository = var.target_repository
config = module.latest-config.config
build-dev = true
extra_dev_packages = each.key != "8" ? ["openjdk-${each.key}-jmods"] : []
}

module "test-latest" {
Expand Down

0 comments on commit 26fdd5d

Please sign in to comment.