diff options
| author | Bruce Ashfield <bruce.ashfield@gmail.com> | 2026-01-12 16:09:12 +0000 |
|---|---|---|
| committer | Bruce Ashfield <bruce.ashfield@gmail.com> | 2026-02-09 03:32:52 +0000 |
| commit | 87ed625c043e4cdbabf569227b189823cd08db8e (patch) | |
| tree | a307f96f218f3be0e2741fe13079400b24ee8487 /conf/layer.conf | |
| parent | 33944038c68d8e497e8dd9861c5ca6c4da7d48e5 (diff) | |
| download | meta-virtualization-87ed625c043e4cdbabf569227b189823cd08db8e.tar.gz | |
container-registry: add local OCI registry infrastructure
Add container registry support for Yocto container workflows:
- container-registry.bbclass with helper functions
- container-registry-index.bb generates helper script with baked paths
- docker-registry-config.bb for Docker daemon on targets
- container-oci-registry-config.bb for Podman/Skopeo/Buildah targets
- IMAGE_FEATURES container-registry for easy target configuration
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Diffstat (limited to 'conf/layer.conf')
| -rw-r--r-- | conf/layer.conf | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/conf/layer.conf b/conf/layer.conf index 5ec45ee0..85694344 100644 --- a/conf/layer.conf +++ b/conf/layer.conf | |||
| @@ -50,6 +50,12 @@ CONTAINER_PROFILE ?= "default" | |||
| 50 | # virt profile can be: kvm, xen, runx | 50 | # virt profile can be: kvm, xen, runx |
| 51 | VIRTUALIZATION_PROFILE ?= "default" | 51 | VIRTUALIZATION_PROFILE ?= "default" |
| 52 | 52 | ||
| 53 | # Custom IMAGE_FEATURES for container images | ||
| 54 | # container-registry: Install registry config based on container engine | ||
| 55 | # Requires: CONTAINER_REGISTRY_URL (for OCI) or DOCKER_REGISTRY_INSECURE (for Docker) | ||
| 56 | # Usage: IMAGE_FEATURES:append = " container-registry" | ||
| 57 | IMAGE_FEATURES[validitems] += "container-registry" | ||
| 58 | |||
| 53 | # Sanity check for meta-virtualization layer. | 59 | # Sanity check for meta-virtualization layer. |
| 54 | # Setting SKIP_META_VIRT_SANITY_CHECK to "1" would skip the bbappend files check. | 60 | # Setting SKIP_META_VIRT_SANITY_CHECK to "1" would skip the bbappend files check. |
| 55 | INHERIT += "sanity-meta-virt" | 61 | INHERIT += "sanity-meta-virt" |
