summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--recipes-extended/images/container-app-base.bb17
1 files changed, 17 insertions, 0 deletions
diff --git a/recipes-extended/images/container-app-base.bb b/recipes-extended/images/container-app-base.bb
new file mode 100644
index 00000000..eabef989
--- /dev/null
+++ b/recipes-extended/images/container-app-base.bb
@@ -0,0 +1,17 @@
1SUMMARY = "Basic Application container image"
2LICENSE = "MIT"
3LIC_FILES_CHKSUM = "file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420"
4
5include container-base.bb
6
7# CONTAINER_APP_CMD is the executable to run as the entrypoint of the
8# container. What we have below is a placholder. if you run this
9# container, you'll get the date echo'd
10CONTAINER_APP_CMD ?= "date"
11
12# The container app is the package(s) to install into the container.
13# They must provide the command specified in CONTAINER_APP_CMD
14CONTAINER_APP ?= ""
15
16OCI_IMAGE_ENTRYPOINT = "${CONTAINER_APP_CMD}"
17IMAGE_INSTALL:append = "${CONTAINER_APP}"