You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: pkg/build/types/schema.json
+36Lines changed: 36 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -31,6 +31,35 @@
31
31
"additionalProperties": false,
32
32
"type": "object"
33
33
},
34
+
"EcosystemConfig": {
35
+
"properties": {
36
+
"indexes": {
37
+
"items": {
38
+
"type": "string"
39
+
},
40
+
"type": "array",
41
+
"description": "Indexes is a list of package index URLs (e.g., PyPI simple API URLs)."
42
+
},
43
+
"packages": {
44
+
"items": {
45
+
"type": "string"
46
+
},
47
+
"type": "array",
48
+
"description": "Packages is a list of package specifications (e.g., \"flask==3.0.0\")."
49
+
},
50
+
"python_version": {
51
+
"type": "string",
52
+
"description": "PythonVersion overrides auto-detection of the Python version (e.g., \"3.12\")."
53
+
},
54
+
"venv": {
55
+
"type": "string",
56
+
"description": "Venv is an optional path for a virtual environment (e.g., \"/app/venv\").\nWhen set, packages are installed into the venv instead of the system site-packages,\nand VIRTUAL_ENV / PATH are set automatically."
57
+
}
58
+
},
59
+
"additionalProperties": false,
60
+
"type": "object",
61
+
"description": "EcosystemConfig holds configuration for a non-APK package ecosystem (e.g., python)."
62
+
},
34
63
"Group": {
35
64
"properties": {
36
65
"groupname": {
@@ -217,6 +246,13 @@
217
246
"baseimage": {
218
247
"$ref": "#/$defs/BaseImageDescriptor",
219
248
"description": "Optional: Base image to build on top of. Warning: Experimental."
249
+
},
250
+
"ecosystems": {
251
+
"additionalProperties": {
252
+
"$ref": "#/$defs/EcosystemConfig"
253
+
},
254
+
"type": "object",
255
+
"description": "Optional: Non-APK ecosystem packages to install (e.g., pip packages)."
0 commit comments