Add support for OCI rootfs images
Status from this message: Applied to master with all those fixed.
Get series with b4
b4 am [email protected]Versions newest first
Changes in v3 from the cover letter
[Matt]
- Patched sloci tar archive creation to remove nested folder (merged upstream but not yet in release)
- Added runtime testing of OCI tar archive using containerd direct import
Patches in v3 Applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/3 | package/sloci-image: new host packageDEVELOPERS package/ package/ +3 more | +71 | 1 reply | |
| 2/3 | fs: new OCI filesystem typefs/ fs/ fs/ | +188 | 4 replies | |
| 3/3 | support/testing/tests/fs: test OCI formatboard/ support/ | +62 | 1 reply |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v3 yet.
Cover letter [Buildroot] [PATCH v3 0/3] Add support for OCI rootfs images
This patch set adds support for OCI images.
The OCI image format is a specification for container images defined and maintained as an open standard by the Open Container Initiative [1].
To generate the image according to the specification [2], a tool called sloci-image is used.
The OCI image is generated (by default) in a directory called rootfs-oci:
$ ls output/images/rootfs-oci/ blobs index.json oci-layout
It can be pushed to a container registry using tools like skopeo:
$ skopeo copy --dest-creds <user>:<pass> oci:rootfs-oci:<tag> \
docker://<user>/<image>[:tag]And then we can pull/run the container image with tools like docker:
$ docker run --rm -it <user>/<image>[:tag]
In v3 of this series, a runtime test has been added where the OCI archive is imported into a containerd instance and executed. This verifies the full workflow and use at runtime. ./support/testing/tests/fs/test_oci.py
[1] https://opencontainers.org/
[2] https://github.com/opencontainers/image-spec/blob/master/spec.md
---
Changes
v2 -> v3
[Matt]
- Patched sloci tar archive creation to remove nested folder (merged upstream but not yet in release)
- Added runtime testing of OCI tar archive using containerd direct import
v1 -> v2:
[Sergio]
- bump sloci-image version to 0.1.1 abd drop patch applied upstream
- improve usage comments
- fix check-package warnings
Matthew Weber (1):
support/testing/tests/fs: test OCI format
Sergio Prado (2):
package/sloci-image: new host package
fs: new OCI filesystem type
DEVELOPERS | 1 + board/qemu/aarch64-virt/linux.config | 6 ++ fs/Config.in | 1 + fs/oci/Config.in | 88 +++++++++++++++++ fs/oci/oci.mk | 99 +++++++++++++++++++ package/Config.in.host | 2 + ...-from-the-contents-of-working-folder.patch | 37 +++++++ package/sloci-image/Config.in.host | 7 ++ package/sloci-image/sloci-image.hash | 5 + package/sloci-image/sloci-image.mk | 19 ++++ support/testing/tests/fs/test_oci.py | 56 +++++++++++ 11 files changed, 321 insertions(+) create mode 100644 fs/oci/Config.in create mode 100644 fs/oci/oci.mk create mode 100644 package/sloci-image/0001-create-OCI-tar-from-the-contents-of-working-folder.patch create mode 100644 package/sloci-image/Config.in.host create mode 100644 package/sloci-image/sloci-image.hash create mode 100644 package/sloci-image/sloci-image.mk create mode 100644 support/testing/tests/fs/test_oci.py
Signature · 6 lines
2.17.1 _______________________________________________ buildroot mailing list [email protected] http://lists.busybox.net/mailman/listinfo/buildroot