summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBruce Ashfield <bruce.ashfield@gmail.com>2024-10-29 15:06:02 +0000
committerBruce Ashfield <bruce.ashfield@gmail.com>2024-11-15 19:50:00 +0000
commit683e03c275a151f53dd1b1f00148206f371ee830 (patch)
tree6f9232d0799585ba756efe1ed4d288f6cf99c0c9
parentf757566a13d5553ed937c2f7765a40daa3cf47a4 (diff)
downloadmeta-virtualization-683e03c275a151f53dd1b1f00148206f371ee830.tar.gz
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>
-rw-r--r--recipes-extended/images/container-devtools-base.bb22
1 files changed, 22 insertions, 0 deletions
diff --git a/recipes-extended/images/container-devtools-base.bb b/recipes-extended/images/container-devtools-base.bb
new file mode 100644
index 00000000..21120d1f
--- /dev/null
+++ b/recipes-extended/images/container-devtools-base.bb
@@ -0,0 +1,22 @@
1SUMMARY = "Basic container image with development tools"
2LICENSE = "MIT"
3LIC_FILES_CHKSUM = "file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420"
4
5CONTAINER_SHELL="bash"
6
7CORE_DEV_IMAGE_EXTRA_INSTALL ?= ""
8
9include container-base.bb
10inherit core-image
11
12IMAGE_INSTALL += " \
13 ${CORE_DEV_IMAGE_EXTRA_INSTALL} \
14 "
15
16OCI_IMAGE_ENTRYPOINT = ""
17
18# development headers, tools and package management to update
19# the container.
20IMAGE_FEATURES += "dev-pkgs"
21IMAGE_FEATURES += "tools-sdk"
22IMAGE_FEATURES += "package-management" \ No newline at end of file