meta-virtualization/recipes-extended/images/container-devtools-base.bb
Bruce Ashfield 683e03c275 images: add reference devtools container
includes container-base, and adds image features to make development
tools/headers available.
                                                                                                                                                                                                                                              Anything added to CORE_DEV_IMAGE_EXTRA_INSTALL will be installed into
the image in it's development variant.

The container shell is changed to bash from busybox.

package-management is added to this image type, but by default there
is no package feed configured (since it must be pointed at a build)
  % root@qemuarm64-54:~# docker run -it zeddii/container-devtools  bash
  bash-5.2# du -sh .
  399M    .                                                                                                                                                                                                                                     bash-5.2# rpm -qa | wc -l
  308
  bash-5.2# gcc --version
  gcc (GCC) 14.2.0
  Copyright (C) 2024 Free Software Foundation, Inc.
  This is free software; see the source for copying conditions.  There is NO
  warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2024-11-15 19:50:00 +00:00

22 lines
541 B
BlitzBasic

SUMMARY = "Basic container image with development tools"
LICENSE = "MIT"
LIC_FILES_CHKSUM = "file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420"
CONTAINER_SHELL="bash"
CORE_DEV_IMAGE_EXTRA_INSTALL ?= ""
include container-base.bb
inherit core-image
IMAGE_INSTALL += " \
${CORE_DEV_IMAGE_EXTRA_INSTALL} \
"
OCI_IMAGE_ENTRYPOINT = ""
# development headers, tools and package management to update
# the container.
IMAGE_FEATURES += "dev-pkgs"
IMAGE_FEATURES += "tools-sdk"
IMAGE_FEATURES += "package-management"