-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathbuildpack.toml
123 lines (102 loc) · 3.37 KB
/
buildpack.toml
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
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
api = "0.9"
[buildpack]
id = "paketo-community/ubi-java-buildpack"
name = "Paketo UBI Java Helper Buildpack"
sbom-formats = ["application/vnd.syft+json", "application/vnd.cyclonedx+json"]
version = "{{.version}}"
clear-env = false
description = "This helper buildpack configures the java runtime installed via the ubi-java-extension"
[metadata]
include-files = ["LICENSE", "README.md", "bin/build", "bin/detect", "bin/main", "bin/helper", "buildpack.toml"]
pre-package = "scripts/build.sh"
[[metadata.configurations]]
default = "0"
description = "the headroom in memory calculation"
launch = true
name = "BPL_JVM_HEAD_ROOM"
[[metadata.configurations]]
default = "35% of classes"
description = "the number of loaded classes in memory calculation"
launch = true
name = "BPL_JVM_LOADED_CLASS_COUNT"
[[metadata.configurations]]
default = "250"
description = "the number of threads in memory calculation"
launch = true
name = "BPL_JVM_THREAD_COUNT"
[[metadata.configurations]]
default = ""
description = "write heap dumps on error to this path"
launch = true
name = "BPL_HEAP_DUMP_PATH"
[[metadata.configurations]]
default = "true"
description = "enables Java Native Memory Tracking (NMT)"
launch = true
name = "BPL_JAVA_NMT_ENABLED"
[[metadata.configurations]]
default = "summary"
description = "configure level of NMT, summary or detail"
launch = true
name = "BPL_JAVA_NMT_LEVEL"
[[metadata.configurations]]
default = "false"
description = "enables Java Management Extensions (JMX)"
launch = true
name = "BPL_JMX_ENABLED"
[[metadata.configurations]]
default = "5000"
description = "configure the JMX port"
launch = true
name = "BPL_JMX_PORT"
[[metadata.configurations]]
default = "false"
description = "enables Java remote debugging support"
launch = true
name = "BPL_DEBUG_ENABLED"
[[metadata.configurations]]
default = "8000"
description = "configure the remote debugging port"
launch = true
name = "BPL_DEBUG_PORT"
[[metadata.configurations]]
default = "false"
description = "configure whether to suspend execution until a debugger has attached"
launch = true
name = "BPL_DEBUG_SUSPEND"
[[metadata.configurations]]
default = "false"
description = "enables Java Flight Recording (JFR)"
launch = true
name = "BPL_JFR_ENABLED"
[[metadata.configurations]]
default = ""
description = "configure custom Java Flight Recording (JFR) arguments"
launch = true
name = "BPL_JFR_ARGS"
[[metadata.configurations]]
build = true
default = "false"
description = "enables running jlink tool to generate custom JRE"
name = "BP_JVM_JLINK_ENABLED"
[[metadata.configurations]]
build = true
default = "--no-man-pages --no-header-files --strip-debug --compress=1"
description = "configure custom link arguments (--output must be omitted)"
name = "BP_JVM_JLINK_ARGS"
[[metadata.configurations]]
build = true
default = "17"
description = "the Java version"
name = "BP_JVM_VERSION"
[[metadata.configurations]]
build = true
default = "JRE"
description = "the JVM type - JDK or JRE"
name = "BP_JVM_TYPE"
[[metadata.configurations]]
description = "the JVM launch flags"
launch = true
name = "JAVA_TOOL_OPTIONS"
[[stacks]]
id = "*"