forked from apache/incubator-kie-kogito-images
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathkogito-s2i-builder-overrides.yaml
65 lines (58 loc) · 2.24 KB
/
kogito-s2i-builder-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
60
61
62
63
64
65
schema_version: 1
name: "quay.io/kiegroup/kogito-s2i-builder"
description: "Platform for building Kogito based on Quarkus or Springboot"
labels:
- name: "maintainer"
value: "kogito <[email protected]>"
- name: "io.k8s.description"
value: "Platform for building Kogito based on Quarkus or Spring Boot"
- name: "io.k8s.display-name"
value: "Kogito based on Quarkus or Spring Boot"
- name: "io.openshift.tags"
value: "s2i-builder,kogito,quarkus,springboot"
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: "RUNTIME_TYPE"
example: "springboot"
description: "Defines the runtime type of your kogito application. Allowed values are 'springboot' or 'quarkus'. Default value is quarkus. Applies only at build time, except for binary builds, for runtime and binary builds, it is populated during runtime by identifying the runtime type based on the provided application jar."
- name: NATIVE
example: true
description: If set to true, perform a native build. Only supported for RUNTIME_TYPE is 'quarkus'.
- name: JAVA_OPTIONS
example: "-Dquarkus.log.level=DEBUG"
description: JVM options passed to the Java command.
- name: MAVEN_ARGS_APPEND
example: "-pl mymodule -am"
description: Additional Maven arguments
- name: ARTIFACT_DIR
example: mymodule/target
description: Path to target/ where the jar files are created for multi-module builds
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.graalvm.installer
version: "22.2.0-java-11"
- name: org.kie.kogito.graalvm.scripts
- name: org.kie.kogito.openjdk
version: "11"
- name: org.kie.kogito.dynamic.resources
- name: org.kie.kogito.maven
version: "3.8.6"
- name: org.kie.kogito.s2i.core
- name: org.kie.kogito.s2i.builder
packages:
install:
- bc
- gcc
- gcc-c++
- glibc-devel
- zlib-devel
run:
workdir: "/home/kogito"