mirror of
git://git.yoctoproject.org/meta-virtualization.git
synced 2025-07-19 20:59:41 +02:00
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>
This commit is contained in:
parent
f757566a13
commit
683e03c275
22
recipes-extended/images/container-devtools-base.bb
Normal file
22
recipes-extended/images/container-devtools-base.bb
Normal file
|
@ -0,0 +1,22 @@
|
|||
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"
|
Loading…
Reference in New Issue
Block a user