-
Notifications
You must be signed in to change notification settings - Fork 3
/
buildpack.toml
129 lines (109 loc) · 4.32 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
124
125
126
127
128
129
# 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 builds Cargo-based Rust applications from source"
homepage = "https://github.com/paketo-community/cargo"
id = "paketo-community/cargo"
keywords = ["cargo", "rust", "build-system"]
name = "Rust Cargo Build Pack"
sbom-formats = ["application/vnd.cyclonedx+json", "application/vnd.syft+json"]
version = "{{.version}}"
[[buildpack.licenses]]
type = "Apache-2.0"
uri = "https://github.com/paketo-community/cargo/blob/main/LICENSE"
[metadata]
include-files = ["LICENSE", "NOTICE", "README.md", "buildpack.toml", "linux/amd64/bin/build", "linux/amd64/bin/detect", "linux/amd64/bin/main", "linux/arm64/bin/build", "linux/arm64/bin/detect", "linux/arm64/bin/main"]
pre-package = "scripts/build.sh"
[[metadata.configurations]]
build = true
default = ""
description = "additional tools to be add with Cargo install"
name = "BP_CARGO_INSTALL_TOOLS"
[[metadata.configurations]]
build = true
default = ""
description = "additional arguments to pass to Cargo install for tools"
name = "BP_CARGO_INSTALL_TOOLS_ARGS"
[[metadata.configurations]]
build = true
default = "--locked"
description = "additional arguments to pass to Cargo install"
name = "BP_CARGO_INSTALL_ARGS"
[[metadata.configurations]]
build = true
default = ""
description = "the subset of workspace members for Cargo to install"
name = "BP_CARGO_WORKSPACE_MEMBERS"
[[metadata.configurations]]
build = true
default = "static/*:templates/*:public/*:html/*"
description = "colon separated list of glob patterns, matched source files are included"
name = "BP_INCLUDE_FILES"
[[metadata.configurations]]
build = true
default = ""
description = "colon separated list of glob patterns, matched source files are removed"
name = "BP_EXCLUDE_FILES"
[[metadata.configurations]]
build = true
default = "false"
description = "Skip installing tini"
name = "BP_CARGO_TINI_DISABLED"
[[metadata.configurations]]
build = true
default = "muslc"
description = "type of static binary to build"
name = "BP_STATIC_BINARY_TYPE"
[[metadata.configurations]]
build = true
default = "false"
description = "Skip running SBOM scan"
name = "BP_DISABLE_SBOM"
[[metadata.dependencies]]
cpes = ["cpe:2.3:a:tini_project:tini:0.19.0:*:*:*:*:*:*:*"]
id = "tini"
name = "Tini"
purl = "pkg:generic/tini@v0.19.0?arch=amd64"
sha256 = "77cce5f4e61954b3420c4465197d8b826a4cf978eba016a9c5859eea0e4c0866"
source = "https://github.com/krallin/tini/archive/refs/tags/v0.19.0.tar.gz"
source-sha256 = "0fd35a7030052acd9f58948d1d900fe1e432ee37103c5561554408bdac6bbf0d"
stacks = ["*"]
uri = "https://github.com/krallin/tini/releases/download/v0.19.0/tini-static-muslc-amd64"
version = "0.19.0"
[[metadata.dependencies.licenses]]
type = "MIT"
uri = "https://github.com/krallin/tini/blob/master/LICENSE"
[[metadata.dependencies]]
cpes = ["cpe:2.3:a:tini_project:tini:0.19.0:*:*:*:*:*:*:*"]
id = "tini"
name = "Tini"
purl = "pkg:generic/tini@v0.19.0?arch=arm64"
sha256 = "eae1d3aa50c48fb23b8cbdf4e369d0910dfc538566bfd09df89a774aa84a48b9"
source = "https://github.com/krallin/tini/archive/refs/tags/v0.19.0.tar.gz"
source-sha256 = "0fd35a7030052acd9f58948d1d900fe1e432ee37103c5561554408bdac6bbf0d"
stacks = ["*"]
uri = "https://github.com/krallin/tini/releases/download/v0.19.0/tini-static-arm64"
version = "0.19.0"
[[metadata.dependencies.licenses]]
type = "MIT"
uri = "https://github.com/krallin/tini/blob/master/LICENSE"
[[stacks]]
id = "*"
[[targets]]
arch = "amd64"
os = "linux"
[[targets]]
arch = "arm64"
os = "linux"