325 lines
13 KiB
TOML
325 lines
13 KiB
TOML
# Copyright 2018-2020 the original author or authors.
|
|
#
|
|
# Licensed under the Apache License, Version 2.0 (the "License");
|
|
# you may not use this file except in compliance with the License.
|
|
# You may obtain a copy of the License at
|
|
#
|
|
# https://www.apache.org/licenses/LICENSE-2.0
|
|
#
|
|
# Unless required by applicable law or agreed to in writing, software
|
|
# distributed under the License is distributed on an "AS IS" BASIS,
|
|
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
# See the License for the specific language governing permissions and
|
|
# limitations under the License.
|
|
|
|
api = "0.7"
|
|
|
|
[buildpack]
|
|
description = "A Cloud Native Buildpack that provides the Bellsoft Liberica implementations of JREs and JDKs"
|
|
homepage = "https://github.com/paketo-buildpacks/bellsoft-liberica"
|
|
id = "paketo-buildpacks/bellsoft-liberica"
|
|
keywords = ["java", "jvm", "jre", "jdk"]
|
|
name = "Paketo Buildpack for BellSoft Liberica"
|
|
sbom-formats = ["application/vnd.syft+json", "application/vnd.cyclonedx+json"]
|
|
version = "10.4.3"
|
|
|
|
[[buildpack.licenses]]
|
|
type = "Apache-2.0"
|
|
uri = "https://github.com/paketo-buildpacks/bellsoft-liberica/blob/main/LICENSE"
|
|
|
|
[metadata]
|
|
include-files = ["LICENSE", "NOTICE", "README.md", "bin/build", "bin/detect", "bin/helper", "bin/main", "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"
|
|
|
|
[[metadata.dependencies]]
|
|
cpes = ["cpe:2.3:a:oracle:jdk:1.8.0:update392:*:*:*:*:*:*:*"]
|
|
id = "jdk"
|
|
name = "BellSoft Liberica JDK"
|
|
purl = "pkg:generic/bellsoft-jdk@8.0.382?arch=amd64"
|
|
sha256 = "4df319a91b11f342dd616fbbd0e76379c710b1b6ef904c9137ec38d8134842ce"
|
|
source = "https://github.com/bell-sw/Liberica/releases/download/8u392+9/bellsoft-jdk8u392+9-src.tar.gz"
|
|
source-sha256 = "d0be2e70be6ffb58aa8a53577fdb1b9d9e67e16bb3d83feee5687395643c0d1b"
|
|
stacks = ["io.buildpacks.stacks.bionic", "io.paketo.stacks.tiny", "*"]
|
|
uri = "https://github.com/bell-sw/Liberica/releases/download/8u392+9/bellsoft-jdk8u392+9-linux-amd64.tar.gz"
|
|
version = "8.0.392"
|
|
|
|
[[metadata.dependencies.licenses]]
|
|
type = "GPL-2.0 WITH Classpath-exception-2.0"
|
|
uri = "https://openjdk.java.net/legal/gplv2+ce.html"
|
|
|
|
[[metadata.dependencies]]
|
|
cpes = ["cpe:2.3:a:oracle:jre:1.8.0:update392:*:*:*:*:*:*:*"]
|
|
id = "jre"
|
|
name = "BellSoft Liberica JRE"
|
|
purl = "pkg:generic/bellsoft-jre@8.0.382?arch=amd64"
|
|
sha256 = "1f5999e4d7b1ebd2abcfd4db8df149f70c33877c5f8417e7d01dea00a554bb22"
|
|
source = "https://github.com/bell-sw/Liberica/releases/download/8u392+9/bellsoft-jdk8u392+9-src.tar.gz"
|
|
source-sha256 = "d0be2e70be6ffb58aa8a53577fdb1b9d9e67e16bb3d83feee5687395643c0d1b"
|
|
stacks = ["io.buildpacks.stacks.bionic", "io.paketo.stacks.tiny", "*"]
|
|
uri = "https://github.com/bell-sw/Liberica/releases/download/8u392+9/bellsoft-jre8u392+9-linux-amd64.tar.gz"
|
|
version = "8.0.392"
|
|
|
|
[[metadata.dependencies.licenses]]
|
|
type = "GPL-2.0 WITH Classpath-exception-2.0"
|
|
uri = "https://openjdk.java.net/legal/gplv2+ce.html"
|
|
|
|
[[metadata.dependencies]]
|
|
cpes = ["cpe:2.3:a:oracle:jdk:11.0.21:*:*:*:*:*:*:*"]
|
|
id = "jdk"
|
|
name = "BellSoft Liberica JDK"
|
|
purl = "pkg:generic/bellsoft-jdk@11.0.21?arch=amd64"
|
|
sha256 = "752113c1d7b20985b5a090e1ec1fb68204ad02b1061f21c3ad5e9a87a1fa40d2"
|
|
source = "https://github.com/bell-sw/Liberica/releases/download/11.0.21+10/bellsoft-jdk11.0.21+10-src.tar.gz"
|
|
source-sha256 = "3f2f998725868c22f3f474710759d462a4e8c78183e7c01359ad0cff314fc74e"
|
|
stacks = ["io.buildpacks.stacks.bionic", "io.paketo.stacks.tiny", "*"]
|
|
uri = "https://github.com/bell-sw/Liberica/releases/download/11.0.21+10/bellsoft-jdk11.0.21+10-linux-amd64.tar.gz"
|
|
version = "11.0.21"
|
|
|
|
[[metadata.dependencies.licenses]]
|
|
type = "GPL-2.0 WITH Classpath-exception-2.0"
|
|
uri = "https://openjdk.java.net/legal/gplv2+ce.html"
|
|
|
|
[[metadata.dependencies]]
|
|
cpes = ["cpe:2.3:a:oracle:jre:11.0.21:*:*:*:*:*:*:*"]
|
|
id = "jre"
|
|
name = "BellSoft Liberica JRE"
|
|
purl = "pkg:generic/bellsoft-jre@11.0.21?arch=amd64"
|
|
sha256 = "2e4144e510585642fab1133e1e888de4ab0ea4870dba895cac13762be65a5b26"
|
|
source = "https://github.com/bell-sw/Liberica/releases/download/11.0.21+10/bellsoft-jdk11.0.21+10-src.tar.gz"
|
|
source-sha256 = "3f2f998725868c22f3f474710759d462a4e8c78183e7c01359ad0cff314fc74e"
|
|
stacks = ["io.buildpacks.stacks.bionic", "io.paketo.stacks.tiny", "*"]
|
|
uri = "https://github.com/bell-sw/Liberica/releases/download/11.0.21+10/bellsoft-jre11.0.21+10-linux-amd64.tar.gz"
|
|
version = "11.0.21"
|
|
|
|
[[metadata.dependencies.licenses]]
|
|
type = "GPL-2.0 WITH Classpath-exception-2.0"
|
|
uri = "https://openjdk.java.net/legal/gplv2+ce.html"
|
|
|
|
[[metadata.dependencies]]
|
|
cpes = ["cpe:2.3:a:oracle:graalvm:22.1.0:*:*:*:community:*:*:*", "cpe:2.3:a:oracle:jdk:11.0.21:*:*:*:*:*:*:*"]
|
|
id = "native-image-svm"
|
|
name = "BellSoft Liberica NIK"
|
|
purl = "pkg:generic/bellsoft-nik@22.3.4?arch=amd64"
|
|
sha256 = "dd5e8c835b599a617c985cbf9a57f967df40b13af2fce4ddae387699a5f530df"
|
|
source = "https://download.bell-sw.com/vm/22.3.4/bellsoft-liberica-vm-openjdk11.0.21+10-22.3.4+1-src.tar.gz"
|
|
source-sha256 = "1b01512621790dd0fdb85c99a7af6bb438381bc260feb9a53d28fceffe74b1b3"
|
|
stacks = ["io.buildpacks.stacks.bionic", "io.paketo.stacks.tiny", "*"]
|
|
uri = "https://download.bell-sw.com/vm/22.3.4/bellsoft-liberica-vm-core-openjdk11.0.21+10-22.3.4+1-linux-amd64.tar.gz"
|
|
version = "11.0.21"
|
|
|
|
[[metadata.dependencies.licenses]]
|
|
type = "GPL-2.0 WITH Classpath-exception-2.0"
|
|
uri = "https://openjdk.java.net/legal/gplv2+ce.html"
|
|
|
|
[[metadata.dependencies]]
|
|
cpes = ["cpe:2.3:a:oracle:jdk:17.0.9:*:*:*:*:*:*:*"]
|
|
id = "jdk"
|
|
name = "BellSoft Liberica JDK"
|
|
purl = "pkg:generic/bellsoft-jdk@17.0.9?arch=amd64"
|
|
sha256 = "9d7f3fafa3cab04fd14ef42393291b2b4dda9a11e064949f3ffcc55fb832fe19"
|
|
source = "https://github.com/bell-sw/Liberica/releases/download/17.0.9+11/bellsoft-jdk17.0.9+11-src.tar.gz"
|
|
source-sha256 = "3bf0ba5c38c65270ad41d5c0ebba40bf396d9542e3cc40dce2085f5ef608e9b3"
|
|
stacks = ["io.buildpacks.stacks.bionic", "io.paketo.stacks.tiny", "*"]
|
|
uri = "https://github.com/bell-sw/Liberica/releases/download/17.0.9+11/bellsoft-jdk17.0.9+11-linux-amd64.tar.gz"
|
|
version = "17.0.9"
|
|
|
|
[[metadata.dependencies.licenses]]
|
|
type = "GPL-2.0 WITH Classpath-exception-2.0"
|
|
uri = "https://openjdk.java.net/legal/gplv2+ce.html"
|
|
|
|
[[metadata.dependencies]]
|
|
cpes = ["cpe:2.3:a:oracle:jre:17.0.9:*:*:*:*:*:*:*"]
|
|
id = "jre"
|
|
name = "BellSoft Liberica JRE"
|
|
purl = "pkg:generic/bellsoft-jre@17.0.9?arch=amd64"
|
|
sha256 = "8129150fa39f1fdf6fdef6b05cf74ff570dae35bf540d2bdd9bf915532e12d55"
|
|
source = "https://github.com/bell-sw/Liberica/releases/download/17.0.9+11/bellsoft-jdk17.0.9+11-src.tar.gz"
|
|
source-sha256 = "3bf0ba5c38c65270ad41d5c0ebba40bf396d9542e3cc40dce2085f5ef608e9b3"
|
|
stacks = ["io.buildpacks.stacks.bionic", "io.paketo.stacks.tiny", "*"]
|
|
uri = "file:///cnb/buildpacks/paketo-buildpacks_bellsoft-liberica/10.4.3/bellsoft-jre17.0.9+11-linux-amd64.tar.gz"
|
|
#uri = "https://github.com/bell-sw/Liberica/releases/download/17.0.9+11/bellsoft-jre17.0.9+11-linux-amd64.tar.gz"
|
|
version = "17.0.9"
|
|
|
|
[[metadata.dependencies.licenses]]
|
|
type = "GPL-2.0 WITH Classpath-exception-2.0"
|
|
uri = "https://openjdk.java.net/legal/gplv2+ce.html"
|
|
|
|
[[metadata.dependencies]]
|
|
cpes = ["cpe:2.3:a:oracle:graalvm:22.3.0:*:*:*:community:*:*:*", "cpe:2.3:a:oracle:jdk:17.0.9:*:*:*:*:*:*:*"]
|
|
id = "native-image-svm"
|
|
name = "BellSoft Liberica NIK"
|
|
purl = "pkg:generic/bellsoft-nik@23.0.2?arch=amd64"
|
|
sha256 = "a7855fe579b12a7c740cc1002c6bd47486c0ecb0ac8213bd04998889772c6b84"
|
|
source = "https://download.bell-sw.com/vm/23.0.2/bellsoft-liberica-vm-openjdk17.0.9+11-23.0.2+1-src.tar.gz"
|
|
source-sha256 = "645e035462258b6362a71c2760edae123b30b38ecfd2b85a9cff87354bfc9004"
|
|
stacks = ["io.buildpacks.stacks.bionic", "io.paketo.stacks.tiny", "*"]
|
|
uri = "https://download.bell-sw.com/vm/23.0.2/bellsoft-liberica-vm-core-openjdk17.0.9+11-23.0.2+1-linux-amd64.tar.gz"
|
|
version = "17.0.9"
|
|
|
|
[[metadata.dependencies.licenses]]
|
|
type = "GPL-2.0 WITH Classpath-exception-2.0"
|
|
uri = "https://openjdk.java.net/legal/gplv2+ce.html"
|
|
|
|
[[metadata.dependencies]]
|
|
cpes = ["cpe:2.3:a:oracle:jdk:21.0.1:*:*:*:*:*:*:*"]
|
|
id = "jdk"
|
|
name = "BellSoft Liberica JDK"
|
|
purl = "pkg:generic/bellsoft-jdk@21.0.1?arch=amd64"
|
|
sha256 = "dba21108416b1ec29e4b66e784e0ff3744fb1348547b818225768e076f1f1adf"
|
|
source = "https://github.com/bell-sw/Liberica/releases/download/21.0.1+12/bellsoft-jdk21.0.1+12-src.tar.gz"
|
|
source-sha256 = "1207ca0dd5e1beb0b9d1e0d7538eae3f070a9568c7478fc51e71f6b80860553c"
|
|
stacks = ["io.buildpacks.stacks.bionic", "io.paketo.stacks.tiny", "*"]
|
|
uri = "https://github.com/bell-sw/Liberica/releases/download/21.0.1+12/bellsoft-jdk21.0.1+12-linux-amd64.tar.gz"
|
|
version = "21.0.1"
|
|
|
|
[[metadata.dependencies.licenses]]
|
|
type = "GPL-2.0 WITH Classpath-exception-2.0"
|
|
uri = "https://openjdk.java.net/legal/gplv2+ce.html"
|
|
|
|
[[metadata.dependencies]]
|
|
cpes = ["cpe:2.3:a:oracle:jre:21.0.1:*:*:*:*:*:*:*"]
|
|
id = "jre"
|
|
name = "BellSoft Liberica JRE"
|
|
purl = "pkg:generic/bellsoft-jre@21.0.1?arch=amd64"
|
|
sha256 = "c6bc83c5f5d5d83cfb8ce70a51b05b70d8af5c66bc1bdc9fe9530a39837a0aec"
|
|
source = "https://github.com/bell-sw/Liberica/releases/download/21.0.1+12/bellsoft-jdk21.0.1+12-src.tar.gz"
|
|
source-sha256 = "1207ca0dd5e1beb0b9d1e0d7538eae3f070a9568c7478fc51e71f6b80860553c"
|
|
stacks = ["io.buildpacks.stacks.bionic", "io.paketo.stacks.tiny", "*"]
|
|
uri = "https://github.com/bell-sw/Liberica/releases/download/21.0.1+12/bellsoft-jre21.0.1+12-linux-amd64.tar.gz"
|
|
version = "21.0.1"
|
|
|
|
[[metadata.dependencies.licenses]]
|
|
type = "GPL-2.0 WITH Classpath-exception-2.0"
|
|
uri = "https://openjdk.java.net/legal/gplv2+ce.html"
|
|
|
|
[[metadata.dependencies]]
|
|
cpes = ["cpe:2.3:a:oracle:graalvm:22.3.0:*:*:*:community:*:*:*", "cpe:2.3:a:oracle:jdk:21.0.1:*:*:*:*:*:*:*"]
|
|
id = "native-image-svm"
|
|
name = "BellSoft Liberica NIK"
|
|
purl = "pkg:generic/bellsoft-nik@23.1.1?arch=amd64"
|
|
sha256 = "ba009a0101048179efb8f639c1cdf2597a8349d294567a8440a295f3e3427a85"
|
|
source = "https://download.bell-sw.com/vm/23.1.1/bellsoft-liberica-vm-openjdk21.0.1+12-23.1.1+1-src.tar.gz"
|
|
source-sha256 = "f7233c9e51057ba07b26214f848aa6da4052ad71d16a2eb78b68afaf75154fba"
|
|
stacks = ["io.buildpacks.stacks.bionic", "io.paketo.stacks.tiny", "*"]
|
|
uri = "https://download.bell-sw.com/vm/23.1.1/bellsoft-liberica-vm-core-openjdk21.0.1+12-23.1.1+1-linux-amd64.tar.gz"
|
|
version = "21.0.1"
|
|
|
|
[[metadata.dependencies.licenses]]
|
|
type = "GPL-2.0 WITH Classpath-exception-2.0"
|
|
uri = "https://openjdk.java.net/legal/gplv2+ce.html"
|
|
|
|
[[stacks]]
|
|
id = "io.paketo.stacks.tiny"
|
|
|
|
[[stacks]]
|
|
id = "io.buildpacks.stacks.bionic"
|
|
|
|
[[stacks]]
|
|
id = "*" |