生命周期
云原生构建包规范的参考实现。
支持的API
生命周期版本 | 平台API | Buildpack API |
---|---|---|
0.19.x | [0.7][p/0.7], [0.8][p/0.8], [0.9][p/0.9], [0.10][p/0.10], [0.11][p/0.11], [0.12][p/0.12], [0.13][p/0.13] | [0.7][b/0.7], [0.8][b/0.8], [0.9][b/0.9], [0.10][b/0.10], [0.11][b/0.11] |
0.18.x | [0.7][p/0.7], [0.8][p/0.8], [0.9][p/0.9], [0.10][p/0.10], [0.11][p/0.11], [0.12][p/0.12] | [0.7][b/0.7], [0.8][b/0.8], [0.9][b/0.9], [0.10][b/0.10] |
0.17.x | [0.3][p/0.3], [0.4][p/0.4], [0.5][p/0.5], [0.6][p/0.6], [0.7][p/0.7], [0.8][p/0.8], [0.9][p/0.9], [0.10][p/0.10], [0.11][p/0.11], [0.12][p/0.12] | [0.2][b/0.2], [0.3][b/0.3], [0.4][b/0.4], [0.5][b/0.5], [0.6][b/0.6], [0.7][b/0.7], [0.8][b/0.8], [0.9][b/0.9], [0.10][b/0.10] |
0.16.x | [0.3][p/0.3], [0.4][p/0.4], [0.5][p/0.5], [0.6][p/0.6], [0.7][p/0.7], [0.8][p/0.8], [0.9][p/0.9], [0.10][p/0.10], [0.11][p/0.11] | [0.2][b/0.2], [0.3][b/0.3], [0.4][b/0.4], [0.5][b/0.5], [0.6][b/0.6], [0.7][b/0.7], [0.8][b/0.8], [0.9][b/0.9] |
0.15.x | [0.3][p/0.3], [0.4][p/0.4], [0.5][p/0.5], [0.6][p/0.6], [0.7][p/0.7], [0.8][p/0.8], [0.9][p/0.9], [0.10][p/0.10] | [0.2][b/0.2], [0.3][b/0.3], [0.4][b/0.4], [0.5][b/0.5], [0.6][b/0.6], [0.7][b/0.7], [0.8][b/0.8], [0.9][b/0.9] |
0.14.x | [0.3][p/0.3], [0.4][p/0.4], [0.5][p/0.5], [0.6][p/0.6], [0.7][p/0.7], [0.8][p/0.8], [0.9][p/0.9] | [0.2][b/0.2], [0.3][b/0.3], [0.4][b/0.4], [0.5][b/0.5], [0.6][b/0.6], [0.7][b/0.7], [0.8][b/0.8] |
0.13.x | [0.3][p/0.3]、[0.4][p/0.4]、[0.5][p/0.5]、[0.6][p/0.6]、[0.7][p/0.7]、[0.8][p/0.8] | [0.2][b/0.2]、[0.3][b/0.3]、[0.4][b/0.4]、[0.5][b/0.5]、[0.6][b/0.6]、[0.7][b/0.7] |
[b/0.2]: https://github.com/buildpacks/spec/blob/buildpack/v0.2/buildpack.md | ||
[b/0.3]: https://github.com/buildpacks/spec/tree/buildpack/v0.3/buildpack.md | ||
[b/0.4]: https://github.com/buildpacks/spec/tree/buildpack/v0.4/buildpack.md | ||
[b/0.5]: https://github.com/buildpacks/spec/tree/buildpack/v0.5/buildpack.md | ||
[b/0.6]: https://github.com/buildpacks/spec/tree/buildpack/v0.6/buildpack.md | ||
[b/0.7]: https://github.com/buildpacks/spec/tree/buildpack/v0.7/buildpack.md | ||
[b/0.8]: https://github.com/buildpacks/spec/tree/buildpack/v0.8/buildpack.md | ||
[b/0.9]: https://github.com/buildpacks/spec/tree/buildpack/v0.9/buildpack.md | ||
[b/0.10]: https://github.com/buildpacks/spec/tree/buildpack/v0.10/buildpack.md | ||
[b/0.11]: https://github.com/buildpacks/spec/tree/buildpack/v0.11/buildpack.md | ||
[p/0.2]: https://github.com/buildpacks/spec/blob/platform/v0.2/platform.md | ||
[p/0.3]: https://github.com/buildpacks/spec/blob/platform/v0.3/platform.md | ||
[p/0.4]: https://github.com/buildpacks/spec/blob/platform/v0.4/platform.md | ||
[p/0.5]: https://github.com/buildpacks/spec/blob/platform/v0.5/platform.md | ||
[p/0.6]: https://github.com/buildpacks/spec/blob/platform/v0.6/platform.md | ||
[p/0.7]: https://github.com/buildpacks/spec/blob/platform/v0.7/platform.md | ||
[p/0.8]: https://github.com/buildpacks/spec/blob/platform/v0.8/platform.md | ||
[p/0.9]: https://github.com/buildpacks/spec/blob/platform/v0.9/platform.md | ||
[p/0.10]: https://github.com/buildpacks/spec/blob/platform/v0.10/platform.md | ||
[p/0.11]: https://github.com/buildpacks/spec/blob/platform/v0.11/platform.md | ||
[p/0.12]: https://github.com/buildpacks/spec/blob/platform/v0.12/platform.md | ||
[p/0.13]: https://github.com/buildpacks/spec/blob/platform/v0.13/platform.md |
- 表示未发布版本
使用方法
构建
可选以下方式之一:
analyzer
- 从上一个镜像读取元数据并确保注册表访问。detector
- 选择构建包(通过/bin/detect
)并生成构建计划。restorer
- 从上一个镜像和缓存中恢复层元数据,并恢复缓存的层。builder
- 执行构建包(通过/bin/build
)。exporter
- 创建镜像并缓存层。
或者:
creator
- 按顺序运行上述五个阶段。
运行
launcher
- 调用选定的进程。
重基
rebaser
- 使用更新的基础层从先前的镜像创建新镜像。
贡献
- CONTRIBUTING - 有关如何贡献并增进对生命周期的理解的信息。
- DEVELOPMENT - 开发过程中的进一步详细信息。
- RELEASE - 关于我们发布流程的更多详细信息。