forked from rh-openjdk/redhat-openjdk-containers
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
(Experimental) move common image config to common module
Signed-off-by: Jonathan Dowland <[email protected]>
- Loading branch information
Showing
2 changed files
with
41 additions
and
30 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
schema_version: 1 | ||
name: common | ||
version: '1.0' | ||
description: Common configuration across OpenJDK images | ||
|
||
labels: | ||
# these are BUILDER specific | ||
- name: "io.k8s.description" | ||
value: "Platform for building and running plain Java applications (fat-jar and flat classpath)" | ||
- name: "io.k8s.display-name" | ||
value: "Java Applications" | ||
- name: "io.openshift.tags" | ||
value: "builder,java" | ||
# these are more generic | ||
- name: "maintainer" | ||
value: "Red Hat OpenJDK <[email protected]>" | ||
- name: "usage" | ||
value: &docs "https://jboss-container-images.github.io/openjdk/" | ||
- name: "com.redhat.license_terms" | ||
value: "https://www.redhat.com/en/about/red-hat-end-user-license-agreements#UBI" | ||
- name: "org.opencontainers.image.documentation" | ||
value: *docs | ||
|
||
envs: | ||
- name: PATH | ||
value: $PATH:"/usr/local/s2i" | ||
- name: "LANG" | ||
value: "C.utf8" | ||
|
||
# builder specific | ||
ports: | ||
- value: 8080 | ||
- value: 8443 | ||
|
||
help: | ||
add: true | ||
|
||
packages: | ||
manager: microdnf |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,4 @@ | ||
# This is an Image descriptor for Cekit | ||
|
||
# This is an Image descriptor for <https://cekit.io/> | ||
schema_version: 1 | ||
|
||
from: "registry.access.redhat.com/ubi10-beta/ubi-minimal:10.0-beta" | ||
|
@@ -8,55 +7,28 @@ version: &version "1.21" | |
description: "Source To Image (S2I) image for Red Hat OpenShift providing OpenJDK 21" | ||
|
||
labels: | ||
- name: "io.k8s.description" | ||
value: "Platform for building and running plain Java applications (fat-jar and flat classpath)" | ||
- name: "io.k8s.display-name" | ||
value: "Java Applications" | ||
- name: "io.openshift.tags" | ||
value: "builder,java" | ||
- name: "maintainer" | ||
value: "Red Hat OpenJDK <[email protected]>" | ||
- name: "com.redhat.component" | ||
value: "openjdk-21-ubi10-container" | ||
- name: "usage" | ||
value: &docs "https://jboss-container-images.github.io/openjdk/" | ||
- name: "com.redhat.license_terms" | ||
value: "https://www.redhat.com/en/about/red-hat-end-user-license-agreements#UBI" | ||
- name: "org.opencontainers.image.documentation" | ||
value: *docs | ||
- name: "name" | ||
value: *name | ||
- name: "version" | ||
value: *version | ||
|
||
envs: | ||
- name: PATH | ||
value: $PATH:"/usr/local/s2i" | ||
- name: "JBOSS_IMAGE_NAME" | ||
value: *name | ||
- name: "JBOSS_IMAGE_VERSION" | ||
value: *version | ||
- name: "LANG" | ||
value: "C.utf8" | ||
|
||
ports: | ||
- value: 8080 | ||
- value: 8443 | ||
|
||
modules: | ||
repositories: | ||
- path: modules | ||
install: | ||
- name: common | ||
- name: jboss.container.util.RHEL-67389 | ||
- name: jboss.container.util.pkg-update | ||
- name: jboss.container.openjdk.jdk | ||
version: "21" | ||
- name: jboss.container.maven | ||
version: "3.8.21" | ||
- name: jboss.container.java.s2i.bash | ||
|
||
help: | ||
add: true | ||
|
||
packages: | ||
manager: microdnf |