forked from apache/incubator-kie-kogito-images
-
Notifications
You must be signed in to change notification settings - Fork 0
/
rhpam-kogito-runtime-native-rhel8-overrides.yaml
60 lines (51 loc) · 2.02 KB
/
rhpam-kogito-runtime-native-rhel8-overrides.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
schema_version: 1
name: "rhpam-7/rhpam-kogito-runtime-native-rhel8"
version: "7.11.0"
from: "registry.redhat.io/ubi8/ubi-minimal:latest"
description: "RHPAM Runtime image for Kogito based on Quarkus native image"
labels:
- name: "com.redhat.component"
value: "rhpam-7-kogito-runtime-native-rhel8-container"
- name: "io.k8s.description"
value: "RHPAM Runtime image for Kogito based on Quarkus native image"
- name: "io.k8s.display-name"
value: "Red Hat build of Kogito runtime based on Quarkus native image"
- name: "io.openshift.tags"
value: "rhpam-kogito,runtime,kogito,quarkus,native"
- name: "io.openshift.s2i.assemble-input-files"
value: "/home/kogito/bin"
envs:
- name: "SCRIPT_DEBUG"
example: "true"
description: "If set to true, ensures that the bash scripts are executed with the -x option, printing the commands and their arguments as they are executed. Also debug JVM initialization."
- name: JAVA_OPTIONS
example: "-Dquarkus.log.level=DEBUG"
description: JVM options passed to the Java command.
- name: BINARY_BUILD
example: "true"
description: Enables binary builds for this image, meaning that the application binaries (e.g. maven target directory) will be uploaded to it.
ports:
- value: 8080
modules:
install:
- name: org.kie.kogito.image.dependencies
- name: org.kie.kogito.system.user
- name: org.kie.kogito.logging
- name: org.kie.kogito.launch.scripts
- name: org.kie.kogito.s2i.core
- name: org.kie.kogito.runtime.native
packages:
content_sets_file: content_sets.yaml
install:
- glibc
osbs:
configuration:
container_file: container.yaml
extra_dir: osbs-extra/rhpam-kogito-runtime-native-rhel8
repository:
name: containers/rhpam-7-kogito-runtime-native
branch: rhba-7-rhel-8
## s2i build . -e BINARY=true registry.redhat.io/rhpam-7/rhpam-kogito-runtime-native-rhel8:latest
## where "." is the sources dir, ie: /home/user/sources/kogito-examples/kogito-quarkus-examples/rules-quarkus-helloworld
run:
workdir: "/home/kogito"