[OE-core] [PATCH] container-image-busybox: add a reference container image

ChenQi Qi.Chen at windriver.com
Wed Jul 24 10:13:22 UTC 2019


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 <Qi.Chen at windriver.com> wrote:
>> Add a small busybox based container image.
>>
>> Signed-off-by: Chen Qi <Qi.Chen at windriver.com>
>> ---
>>   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
>> Openembedded-core at lists.openembedded.org
>> http://lists.openembedded.org/mailman/listinfo/openembedded-core




More information about the Openembedded-core mailing list