mirror of https://github.com/knative/func.git
* chore: update docker client lib Signed-off-by: Matej Vasek <mvasek@redhat.com> * fixup: "host" OCI pusher Signed-off-by: Matej Vasek <mvasek@redhat.com> * fixup: downgrade github.com/containers/image/v5 Signed-off-by: Matej Vasek <mvasek@redhat.com> * fixup: platform tests Signed-off-by: Matej Vasek <mvasek@redhat.com> --------- Signed-off-by: Matej Vasek <mvasek@redhat.com> |
||
|---|---|---|
| .. | ||
| api | ||
| archive | ||
| auth | ||
| buildpack | ||
| cache | ||
| cmd | ||
| env | ||
| image | ||
| internal | ||
| launch | ||
| layers | ||
| log | ||
| platform | ||
| .dockerignore | ||
| .gitignore | ||
| .gitpod.yml | ||
| .grype.yaml | ||
| CODEOWNERS | ||
| CONTRIBUTING.md | ||
| DEVELOPMENT.md | ||
| IMAGE.md | ||
| LICENSE | ||
| Makefile | ||
| README.md | ||
| RELEASE.md | ||
| analyzer.go | ||
| builder.go | ||
| cache.go | ||
| codecov.yml | ||
| cosign.pub | ||
| detector.go | ||
| exporter.go | ||
| extender.go | ||
| generator.go | ||
| golangci.yaml | ||
| handlers.go | ||
| lifecycle.toml | ||
| rebaser.go | ||
| restorer.go | ||
| save.go | ||
| utils.go | ||
README.md
Lifecycle
A reference implementation of the Cloud Native Buildpacks specification.
Supported APIs
| Lifecycle Version | Platform APIs | Buildpack APIs |
|---|---|---|
| 0.17.x* | 0.3, 0.4, 0.5, 0.6, 0.7, 0.8, 0.9, 0.10, 0.11, 0.12 | 0.2, 0.3, 0.4, 0.5, 0.6, 0.7, 0.8, 0.9, 0.10 |
| 0.16.x | 0.3, 0.4, 0.5, 0.6, 0.7, 0.8, 0.9, 0.10, 0.11 | 0.2, 0.3, 0.4, 0.5, 0.6, 0.7, 0.8, 0.9 |
| 0.15.x | 0.3, 0.4, 0.5, 0.6, 0.7, 0.8, 0.9, 0.10 | 0.2, 0.3, 0.4, 0.5, 0.6, 0.7, 0.8, 0.9 |
| 0.14.x | 0.3, 0.4, 0.5, 0.6, 0.7, 0.8, 0.9 | 0.2, 0.3, 0.4, 0.5, 0.6, 0.7, 0.8 |
| 0.13.x | 0.3, 0.4, 0.5, 0.6, 0.7, 0.8 | 0.2, 0.3, 0.4, 0.5, 0.6, 0.7 |
| 0.12.x | 0.3, 0.4, 0.5, 0.6, 0.7 | 0.2, 0.3, 0.4, 0.5, 0.6 |
| 0.11.x | 0.3, 0.4, 0.5, 0.6 | 0.2, 0.3, 0.4, 0.5, 0.6 |
| 0.10.x | 0.3, 0.4, 0.5 | 0.2, 0.3, 0.4, 0.5 |
| 0.9.x | 0.3, 0.4 | 0.2, 0.3, 0.4 |
| 0.8.x | 0.3 | 0.2 |
| 0.7.x | 0.2 | 0.2 |
| 0.6.x | 0.2 | 0.2 |
* denotes unreleased version
Usage
Build
Either:
analyzer- Reads metadata from the previous image and ensures registry access.detector- Chooses buildpacks (via/bin/detect) and produces a build plan.restorer- Restores layer metadata from the previous image and from the cache, and restores cached layers.builder- Executes buildpacks (via/bin/build).exporter- Creates an image and caches layers.
Or:
creator- Runs the five phases listed above in order.
Run
launcher- Invokes a chosen process.
Rebase
rebaser- Creates an image from a previous image with updated base layers.
Contributing
- CONTRIBUTING - Information on how to contribute and grow your understanding of the lifecycle.
- DEVELOPMENT - Further detail to help you during the development process.
- RELEASE - Further details about our release process.