forked from jboss-container-images/openjdk
-
Notifications
You must be signed in to change notification settings - Fork 0
/
openj9-11-rhel8.yaml
76 lines (67 loc) · 2.1 KB
/
openj9-11-rhel8.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
# This is an Image descriptor for Cekit
# we are currently using Cekit 3.6.0
# use the following extra override to build:
# --overrides "{ 'osbs': { 'configuration': { 'container': { 'platforms': { 'only': [ 's390x' ] }, 'compose': { 'signing_intent': 'release', 'packages': [ 'java-11-openj9', 'java-11-openj9-devel', 'java-11-openj9-headless' ], 'inherit': true } } } } }"
schema_version: 1
from: "ubi8:8-released"
name: &name "openj9/openj9-11-rhel8"
version: &version "1.1"
description: "Source To Image (S2I) image for Red Hat OpenShift providing OpenJ9 11"
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 <openjdk@redhat.com>"
- name: "com.redhat.component"
value: "openj9-11-rhel8-container"
- name: "usage"
value: "https://access.redhat.com/documentation/en-us/red_hat_jboss_middleware_for_openshift/3/html/red_hat_java_s2i_for_openshift/"
envs:
- name: PATH
value: $PATH:"/usr/local/s2i"
- name: "JBOSS_IMAGE_NAME"
value: *name
- name: "JBOSS_IMAGE_VERSION"
value: *version
ports:
- value: 8080
- value: 8443
packages:
manager: dnf
modules:
repositories:
- name: cct_module
git:
url: https://github.com/jboss-openshift/cct_module.git
ref: 0.39.0
install:
- name: jboss.container.openjdk.jdk
version: "openj9-11"
- name: jboss.container.java.s2i.bash
- name: jboss.container.maven.35.bash
version: "3.5"
- name: jboss.container.java.rm-openjdk
help:
add: true
osbs:
configuration:
container:
platforms:
only:
- s390x
compose:
# used for requesting ODCS compose of type "tag"
packages:
- java-11-openj9
- java-11-openj9-headless
- java-11-openj9-devel
signing_intent: release
# used for inheritance of yum repos and ODCS composes from baseimage build
inherit: true
repository:
name: containers/openj9
branch: openj9-11-rhel8