Skip to content

Add support to OCI images

Sergio Prado buildroot 2 versions – New

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest2 patches 0 repliesNew
  2. v12 patches 0 repliesSuperseded

Changes in v2 from the cover letter

- bump sloci-image version to 0.1.1 abd drop patch applied upstream
- improve usage comments
- fix check-package warnings

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2package/sloci-image: new host packageDEVELOPERS package/Config.in.host package/sloci-image/Config.in.host +2 more+33 -00 replies
2/2oci: add new filesystem typefs/Config.in fs/oci/Config.in fs/oci/oci.mk+188 -00 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.

Read the v2 thread

Cover letter [Buildroot] [PATCH v2 0/2] Add support to OCI images

This patch set adds support to 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]

[1] https://opencontainers.org/
[2] https://github.com/opencontainers/image-spec/blob/master/spec.md

---
Changes v1 -> v2:
- bump sloci-image version to 0.1.1 abd drop patch applied upstream
- improve usage comments
- fix check-package warnings

---
Sergio Prado (2):
package/sloci-image: new host package
oci: add new filesystem type

 DEVELOPERS                           |  1 +
 fs/Config.in                         |  1 +
 fs/oci/Config.in                     | 88 +++++++++++++++++++++++++
 fs/oci/oci.mk                        | 99 ++++++++++++++++++++++++++++
 package/Config.in.host               |  1 +
 package/sloci-image/Config.in.host   |  7 ++
 package/sloci-image/sloci-image.hash |  5 ++
 package/sloci-image/sloci-image.mk   | 19 ++++++
 8 files changed, 221 insertions(+)
 create mode 100644 fs/oci/Config.in
 create mode 100644 fs/oci/oci.mk
 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
Signature · 1 line
2.17.1