Openembedded Core Discussions
 help / color / mirror / Atom feed
From: ChenQi <Qi.Chen@windriver.com>
To: "Burton, Ross" <ross.burton@intel.com>
Cc: OE-core <openembedded-core@lists.openembedded.org>
Subject: Re: [PATCH] container-image-busybox: add a reference container image
Date: Wed, 24 Jul 2019 18:13:22 +0800	[thread overview]
Message-ID: <8e654160-bb32-59dc-0c35-1bcdfc3da2a3@windriver.com> (raw)
In-Reply-To: <CAJTo0LYZ-hVc9VW=LuSCDo1L-0DVXpnPdKEdzqR54fVrsqMa1A@mail.gmail.com>

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




  reply	other threads:[~2019-07-24 10:00 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-07-24  2:38 [PATCH] container-image-busybox: add a reference container image Chen Qi
2019-07-24  3:03 ` Bruce Ashfield
2019-07-24  5:06   ` Khem Raj
2019-07-24 12:29     ` Bruce Ashfield
2019-07-24  9:38 ` Burton, Ross
2019-07-24 10:13   ` ChenQi [this message]
2019-07-24 12:27     ` Bruce Ashfield
2019-07-25  1:43       ` ChenQi

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=8e654160-bb32-59dc-0c35-1bcdfc3da2a3@windriver.com \
    --to=qi.chen@windriver.com \
    --cc=openembedded-core@lists.openembedded.org \
    --cc=ross.burton@intel.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox