Skip to content

Commit

Permalink
[OPENJDK-3430] alter FROM line for redhat builds
Browse files Browse the repository at this point in the history
In the redhat/* overrides files, override "from:" to use
the name assigned to RHEL images built via OSBS from 9.5
onwards.

https://issues.redhat.com/browse/OPENJDK-3430

Signed-off-by: Jonathan Dowland <[email protected]>
  • Loading branch information
jmtd committed Nov 13, 2024
1 parent 179ce26 commit a832436
Show file tree
Hide file tree
Showing 12 changed files with 12 additions and 6 deletions.
1 change: 1 addition & 0 deletions redhat/ubi9-openjdk-11-runtime.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
from: ubi9-minimal
osbs:
configuration:
container:
Expand Down
1 change: 1 addition & 0 deletions redhat/ubi9-openjdk-11.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
from: ubi9-minimal
osbs:
configuration:
container:
Expand Down
1 change: 1 addition & 0 deletions redhat/ubi9-openjdk-17-runtime.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
from: ubi9-minimal
osbs:
configuration:
container:
Expand Down
1 change: 1 addition & 0 deletions redhat/ubi9-openjdk-17.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
from: ubi9-minimal
osbs:
configuration:
container:
Expand Down
1 change: 1 addition & 0 deletions redhat/ubi9-openjdk-21-runtime.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
from: ubi9-minimal
osbs:
configuration:
container:
Expand Down
1 change: 1 addition & 0 deletions redhat/ubi9-openjdk-21.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
from: ubi9-minimal
osbs:
configuration:
container:
Expand Down
2 changes: 1 addition & 1 deletion ubi9-openjdk-11-runtime.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

schema_version: 1

from: "registry.access.redhat.com/ubi9/ubi-minimal:9.4"
from: "registry.access.redhat.com/ubi9/ubi-minimal"
name: &name "ubi9/openjdk-11-runtime"
version: &version "1.20"
description: "Image for Red Hat OpenShift providing OpenJDK 11 runtime"
Expand Down
2 changes: 1 addition & 1 deletion ubi9-openjdk-11.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

schema_version: 1

from: "registry.access.redhat.com/ubi9/ubi-minimal:9.4"
from: "registry.access.redhat.com/ubi9/ubi-minimal"
name: &name "ubi9/openjdk-11"
version: &version "1.20"
description: "Source To Image (S2I) image for Red Hat OpenShift providing OpenJDK 11"
Expand Down
2 changes: 1 addition & 1 deletion ubi9-openjdk-17-runtime.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

schema_version: 1

from: "registry.access.redhat.com/ubi9/ubi-minimal:9.4"
from: "registry.access.redhat.com/ubi9/ubi-minimal"
name: &name "ubi9/openjdk-17-runtime"
version: &version "1.21"
description: "Image for Red Hat OpenShift providing OpenJDK 17 runtime"
Expand Down
2 changes: 1 addition & 1 deletion ubi9-openjdk-17.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

schema_version: 1

from: "registry.access.redhat.com/ubi9/ubi-minimal:9.4"
from: "registry.access.redhat.com/ubi9/ubi-minimal"
name: &name "ubi9/openjdk-17"
version: &version "1.21"
description: "Source To Image (S2I) image for Red Hat OpenShift providing OpenJDK 17"
Expand Down
2 changes: 1 addition & 1 deletion ubi9-openjdk-21-runtime.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

schema_version: 1

from: "registry.access.redhat.com/ubi9/ubi-minimal:9.4"
from: "registry.access.redhat.com/ubi9/ubi-minimal"
name: &name "ubi9/openjdk-21-runtime"
version: &version "1.21"
description: "Image for Red Hat OpenShift providing OpenJDK 21 runtime"
Expand Down
2 changes: 1 addition & 1 deletion ubi9-openjdk-21.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

schema_version: 1

from: "registry.access.redhat.com/ubi9/ubi-minimal:9.4"
from: "registry.access.redhat.com/ubi9/ubi-minimal"
name: &name "ubi9/openjdk-21"
version: &version "1.21"
description: "Source To Image (S2I) image for Red Hat OpenShift providing OpenJDK 21"
Expand Down

0 comments on commit a832436

Please sign in to comment.