[OE-core] [PATCH] container-image-busybox: add a reference container image
ChenQi
Qi.Chen at windriver.com
Thu Jul 25 01:43:23 UTC 2019
On 07/24/2019 08:27 PM, Bruce Ashfield wrote:
> On Wed, Jul 24, 2019 at 6:00 AM ChenQi <Qi.Chen at windriver.com> wrote:
>> 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.
>>
> And you do realize that such references already exist in several other
> layers ? So it would be best to do a study of those options, talk to the
> interested folks and then we can propose something to oe-core.
>
>> 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.
> Have a look at the ELCe presentations from 2018, this has been covered
> in great detail at those events.
>
> We can't just drop an image into core without documentation, examples,
> test cases, etc. That's what I'm talking about as points of collaboration.
>
> Cheers,
>
> Bruce
Hi Bruce,
Thanks for your info and advice.
I'll do more investigation.
Regards,
Chen Qi
>> 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
>>
>> --
>> _______________________________________________
>> 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