[meta-virtualization][PATCH 0/7] Container improvements
Tim Orling <[email protected]> Fri, 29 May 2026 18:31:01 -0700
| Newsgroups | org.yoctoproject.lists.meta-virtualization |
|---|---|
| Message-ID | <[email protected]> |
This series:
* Adds a class to create/run containers with a non-root user
* Adds new containers:
- app-container-python
- app-containter-mosquitto
- app-container-valkey
- app-container-nginx
* Modifies app-container-curl to be more like the upstream
experience (and more like the above containers)
* Allows meta-webserver/recipes-http to be parsed for
vcontainer distro so we can build multiarch containers
for app-container-nginx, etc.
Each of these containers was built in a MACHINE=qemuarm64
environment as well as mc:container-amd64+mc:container-arm64
multiarch environment.
The resulting containers were tested with simple command line
usage compared to Docker provided equivalents to ensure the
same expected behavior.
Tim Orling (7):
classes: add container-nonroot-user.bbclass
recipes-containers/images: add app-container-python
recipes-containers/images: add app-container-mosquitto
recipes-containers/images: add app-container-valkey
recipes-containers/images: add app-container-nginx
vcontainer-bbmask.inc: allow meta-webserver/recipes-httpd
app-container-curl: use multilayer mode; container-nonroot-user
classes/container-nonroot-user.bbclass | 68 ++++++++++++++++
conf/distro/include/vcontainer-bbmask.inc | 2 +-
conf/layer.conf | 1 +
.../images/app-container-curl.bb | 29 ++++++-
.../images/app-container-mosquitto.bb | 46 +++++++++++
.../images/app-container-nginx.bb | 77 +++++++++++++++++++
.../images/app-container-python.bb | 57 ++++++++++++++
.../images/app-container-valkey.bb | 61 +++++++++++++++
8 files changed, 336 insertions(+), 5 deletions(-)
create mode 100644 classes/container-nonroot-user.bbclass
rename {recipes-demo => recipes-containers}/images/app-container-curl.bb (58%)
create mode 100644 recipes-containers/images/app-container-mosquitto.bb
create mode 100644 recipes-containers/images/app-container-nginx.bb
create mode 100644 recipes-containers/images/app-container-python.bb
create mode 100644 recipes-containers/images/app-container-valkey.bb
--
2.54.0