| Message ID | aff1838ffcfb3e4c2aa1fe455dc0f74f87effdf6.1780354513.git.tim.orling@konsulko.com |
|---|---|
| State | New |
| Headers | show |
| Series | [yocto-autobuilder-helper,v2,01/10] scripts/utils: fix stale extraction dir when tarball is updated | expand |
On Mon, 2026-06-01 at 16:18 -0700, Tim Orling via lists.yoctoproject.org wrote: > From: Tim Orling <tim.orling@konsulko.com> > > Add 'containers-library' build job that build container images on top > of the vcontainer-tarball SDK: > > * original container images from the intial "container-cross-install" > branch of meta-virtualization > - container-base > - app-container-curl > * additional images modelled after docker.io/library/* > - app-container-python > - app-container-mosquitto > - app-container-valkey > - app-container-nginx > * Tag containers with versions based on the recipe to which they are > mapped, e.g. python:3, python:3.14, python:3.14.5. These version tags may exist in docker library/hardened images, but are they actually appropriate for the images we create? I would expect python:master, python:blacksail, etc tags which track our branches. Best regards,
On Tue, Jun 2, 2026 at 4:02 AM Paul Barker via lists.yoctoproject.org <paul= pbarker.dev@lists.yoctoproject.org> wrote: > On Mon, 2026-06-01 at 16:18 -0700, Tim Orling via lists.yoctoproject.org > wrote: > > From: Tim Orling <tim.orling@konsulko.com> > > > > Add 'containers-library' build job that build container images on top > > of the vcontainer-tarball SDK: > > > > * original container images from the intial "container-cross-install" > > branch of meta-virtualization > > - container-base > > - app-container-curl > > * additional images modelled after docker.io/library/* > > - app-container-python > > - app-container-mosquitto > > - app-container-valkey > > - app-container-nginx > > * Tag containers with versions based on the recipe to which they are > > mapped, e.g. python:3, python:3.14, python:3.14.5. > > These version tags may exist in docker library/hardened images, but are > they actually appropriate for the images we create? > They are tagged with 'wrynose' and 'yocto-6.0' (and release builds would be tagged with full 'yocto-6.0.n'). We need to think about container consumers, not just Yocto users. Container consumers want to know what version of the tool is in the container they are consuming, so we should follow the same tagging pattern. Tags are cheap (they are just an alias for the same hash). > > I would expect python:master, python:blacksail, etc tags which track our > branches. > > Best regards, > > -- > Paul Barker > > > > -=-=-=-=-=-=-=-=-=-=-=- > Links: You receive all messages sent to this group. > View/Reply Online (#4112): > https://lists.yoctoproject.org/g/yocto-patches/message/4112 > Mute This Topic: https://lists.yoctoproject.org/mt/119603250/924729 > Group Owner: yocto-patches+owner@lists.yoctoproject.org > Unsubscribe: > https://lists.yoctoproject.org/g/yocto-patches/leave/13169857/924729/1023951714/xyzzy > [ticotimo@gmail.com] > -=-=-=-=-=-=-=-=-=-=-=- > > >
diff --git a/config.json b/config.json index 9f85a7d..dae55d6 100644 --- a/config.json +++ b/config.json @@ -1929,6 +1929,61 @@ "VCONTAINER_SDK=${BASE_SHAREDDIR}/pub/vcontainer-tarball-latest/vcontainer-standalone.sh RESULTS_DIR=${HELPERRESULTSDIR} ${SCRIPTSDIR}/run-vcontainer-tests vpdmn ${BUILDDIR} ${BUILDDIR}/../meta-virtualization" ] } + }, + "containers-library": { + "NEEDREPOS" : ["bitbake", "meta-openembedded", "meta-virtualization"], + "ADDLAYER" : [ + "${BUILDDIR}/../meta-openembedded/meta-oe", + "${BUILDDIR}/../meta-openembedded/meta-python", + "${BUILDDIR}/../meta-openembedded/meta-networking", + "${BUILDDIR}/../meta-openembedded/meta-filesystems", + "${BUILDDIR}/../meta-openembedded/meta-webserver", + "${BUILDDIR}/../meta-virtualization" + ], + "extravars" : [ + "DISTRO_FEATURES:append = ' virtualization vcontainer'" + ], + "CONTAINER_TAG_CMDS" : [ + "_PV_MAJOR=$(echo $_PV | cut -d. -f1)", + "_PV_MAJOR_MINOR=$(echo $_PV | cut -d. -f1,2)", + "_EXTRA_TAGS=\"$_PV_MAJOR $_PV_MAJOR_MINOR\"" + ], + "step1" : { + "shortname" : "Build 'base' container", + "BBTARGETS" : "container-base", + "CONTAINER_IMAGE_MAP" : {"container-base": "base"}, + "CONTAINER_VERSION_RECIPE" : "base-files" + }, + "step2" : { + "shortname" : "Build 'curl' container", + "BBTARGETS" : "app-container-curl", + "CONTAINER_IMAGE_MAP" : {"app-container-curl": "curl"}, + "CONTAINER_VERSION_RECIPE" : "curl" + }, + "step3" : { + "shortname" : "Build 'python' container", + "BBTARGETS" : "app-container-python", + "CONTAINER_IMAGE_MAP" : {"app-container-python": "python"}, + "CONTAINER_VERSION_RECIPE" : "python3" + }, + "step4" : { + "shortname" : "Build 'mosquitto' container", + "BBTARGETS" : "app-container-mosquitto", + "CONTAINER_IMAGE_MAP" : {"app-container-mosquitto": "mosquitto"}, + "CONTAINER_VERSION_RECIPE" : "mosquitto" + }, + "step5" : { + "shortname" : "Build 'valkey' container", + "BBTARGETS" : "app-container-valkey", + "CONTAINER_IMAGE_MAP" : {"app-container-valkey": "valkey"}, + "CONTAINER_VERSION_RECIPE" : "valkey" + }, + "step6" : { + "shortname" : "Build 'nginx' container", + "BBTARGETS" : "app-container-nginx", + "CONTAINER_IMAGE_MAP" : {"app-container-nginx": "nginx"}, + "CONTAINER_VERSION_RECIPE" : "nginx" + } } }, "repo-defaults" : {