On 07/24/2019 05:38 PM, Burton, Ross wrote:
Are you aware of container-test-image.bb?  Curious what the point of this is.

Ross

Yes. It exists in meta-selftest, having an empty /usr/bin/theapp, for the purpose of selftest.

I think we could have some reference image for container. So I added this small reference image, from which users could create container and use shell.

I expect it to be like busybox:glibc or busybox:musl in Docker Hub, with the major difference that we use symlinks to /bin/busybox.nosuid and /bin/busybox.suid while official ones use separate binaries.

Regards,
Chen Qi

On Wed, 24 Jul 2019 at 03:39, Chen Qi <[email protected]> wrote:
Add a small busybox based container image.

Signed-off-by: Chen Qi <[email protected]>
---
  meta/recipes-core/images/container-image-busybox.bb | 8 ++++++++
  1 file changed, 8 insertions(+)
  create mode 100644 meta/recipes-core/images/container-image-busybox.bb

diff --git a/meta/recipes-core/images/container-image-busybox.bb 
b/meta/recipes-core/images/container-image-busybox.bb
new file mode 100644
index 0000000000..a4d63b0eea
--- /dev/null
+++ b/meta/recipes-core/images/container-image-busybox.bb
@@ -0,0 +1,8 @@
+SUMMARY = "A small busybox based container image."
+LICENSE = "MIT"
+
+IMAGE_INSTALL = "busybox"
+IMAGE_LINGUAS = ""
+IMAGE_FSTYPES = "container"
+
+inherit core-image
--
2.17.1

--
_______________________________________________
Openembedded-core mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-core


--
_______________________________________________
Openembedded-core mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-core

Reply via email to