summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Müller-Klieser <S.Mueller-Klieser@phytec.de>2019-05-31 16:33:19 +0200
committerStefan Müller-Klieser <s.mueller-klieser@phytec.de>2019-06-12 15:37:26 +0200
commit38bdc7d81bdd872b6ffa32c6af498b11a3958979 (patch)
tree1f39e4158f0793a593c0ece17fe5c188ef50e548
parent7d27206a8880c50ed9ef099a3108caf07cd54385 (diff)
downloadmeta-yogurt-38bdc7d81bdd872b6ffa32c6af498b11a3958979.tar.bz2
meta-yogurt-38bdc7d81bdd872b6ffa32c6af498b11a3958979.zip
app-container: aidemo-customvision-model
This minimal docker container bundles the predict tensorflow model runner including current demo models. Signed-off-by: Stefan Müller-Klieser <s.mueller-klieser@phytec.de>
-rw-r--r--dynamic-layers/meta-docker/recipes-images/app-container/aidemo-customvision-model.bb29
1 files changed, 29 insertions, 0 deletions
diff --git a/dynamic-layers/meta-docker/recipes-images/app-container/aidemo-customvision-model.bb b/dynamic-layers/meta-docker/recipes-images/app-container/aidemo-customvision-model.bb
new file mode 100644
index 0000000..4322bdf
--- /dev/null
+++ b/dynamic-layers/meta-docker/recipes-images/app-container/aidemo-customvision-model.bb
@@ -0,0 +1,29 @@
+SUMMARY = "A minimal container image just providing an application with its dependencies"
+LICENSE = "MIT"
+LIC_FILES_CHKSUM = "file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420"
+
+# supported by poky and systemd-nspawn
+#IMAGE_FSTYPES = "container"
+# requires docker runtime and meta-docker for
+# the docker image type
+IMAGE_CLASSES += "image_type_docker"
+IMAGE_FSTYPES = "docker"
+
+# set a meaningful name and tag for the docker output image
+DOCKER_IMAGE_TAG = "0.5.0"
+DOCKER_IMAGE_NAME_EXPORT ?= "aidemo-customvision-model:${DOCKER_IMAGE_TAG}"
+
+inherit image
+
+IMAGE_TYPEDEP_container += "ext4"
+
+IMAGE_FEATURES = ""
+IMAGE_LINGUAS = ""
+NO_RECOMMENDATIONS = "1"
+
+IMAGE_INSTALL += "\
+ busybox \
+ base-passwd \
+ netbase \
+ predict \
+"