summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Schwan <m.schwan@phytec.de>2019-10-11 10:29:53 +0200
committerStefan Müller-Klieser <s.mueller-klieser@phytec.de>2019-10-11 15:24:36 +0200
commit8a10c944a143b658569235ea2279b2ab503c2abe (patch)
tree5c4505151f9af8f3e21fa276ad4b0d2e53d89dda
parent622503aa45820627d944700a612e95771b656481 (diff)
downloadmeta-yogurt-8a10c944a143b658569235ea2279b2ab503c2abe.tar.bz2
meta-yogurt-8a10c944a143b658569235ea2279b2ab503c2abe.zip
recipes-images: Add container image base recipes
These images provide a base for common application scenarios such as Python or Qt packed into a container. Signed-off-by: Martin Schwan <m.schwan@phytec.de> Signed-off-by: Stefan Müller-Klieser <s.mueller-klieser@phytec.de>
-rw-r--r--dynamic-layers/meta-docker/recipes-images/base-containers/phytec-desktop-container.bb22
-rw-r--r--dynamic-layers/meta-docker/recipes-images/base-containers/phytec-minimal-container.bb20
-rw-r--r--dynamic-layers/meta-docker/recipes-images/base-containers/phytec-python-container.bb22
-rw-r--r--dynamic-layers/meta-docker/recipes-images/base-containers/phytec-qt-container.bb30
4 files changed, 94 insertions, 0 deletions
diff --git a/dynamic-layers/meta-docker/recipes-images/base-containers/phytec-desktop-container.bb b/dynamic-layers/meta-docker/recipes-images/base-containers/phytec-desktop-container.bb
new file mode 100644
index 0000000..267c297
--- /dev/null
+++ b/dynamic-layers/meta-docker/recipes-images/base-containers/phytec-desktop-container.bb
@@ -0,0 +1,22 @@
+# Copyright (C) 2019 Martin Schwan <m.schwan@phytec.de>
+# Released under the MIT license (see COPYING.MIT for the terms)
+
+SUMMARY = "Desktop container image with Weston"
+LICENSE = "MIT"
+LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/MIT;md5=0835ade698e0bcf8506ecda2f7b4f302"
+
+IMAGE_CLASSES += "image_type_docker"
+IMAGE_FSTYPES = "docker"
+
+DOCKER_IMAGE_NAME_EXPORT ?= "${PN}:${PV}-${DISTRO_VERSION}"
+
+inherit core-image
+
+IMAGE_INSTALL += " \
+ weston \
+ weston-init \
+ packagegroup-base \
+ \
+ netbase \
+ bash \
+"
diff --git a/dynamic-layers/meta-docker/recipes-images/base-containers/phytec-minimal-container.bb b/dynamic-layers/meta-docker/recipes-images/base-containers/phytec-minimal-container.bb
new file mode 100644
index 0000000..ccf50d0
--- /dev/null
+++ b/dynamic-layers/meta-docker/recipes-images/base-containers/phytec-minimal-container.bb
@@ -0,0 +1,20 @@
+# Copyright (C) 2019 Martin Schwan <m.schwan@phytec.de>
+# Released under the MIT license (see COPYING.MIT for the terms)
+
+SUMMARY = "Minimal container image"
+LICENSE = "MIT"
+LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/MIT;md5=0835ade698e0bcf8506ecda2f7b4f302"
+
+IMAGE_CLASSES += "image_type_docker"
+IMAGE_FSTYPES = "docker"
+
+DOCKER_IMAGE_NAME_EXPORT ?= "${PN}:${PV}-${DISTRO_VERSION}"
+
+inherit core-image
+
+IMAGE_INSTALL += " \
+ packagegroup-core-container \
+ busybox \
+ base-passwd \
+ netbase \
+"
diff --git a/dynamic-layers/meta-docker/recipes-images/base-containers/phytec-python-container.bb b/dynamic-layers/meta-docker/recipes-images/base-containers/phytec-python-container.bb
new file mode 100644
index 0000000..8dc1e89
--- /dev/null
+++ b/dynamic-layers/meta-docker/recipes-images/base-containers/phytec-python-container.bb
@@ -0,0 +1,22 @@
+# Copyright (C) 2019 Martin Schwan <m.schwan@phytec.de>
+# Released under the MIT license (see COPYING.MIT for the terms)
+
+SUMMARY = "Python 3 container image"
+LICENSE = "MIT"
+LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/MIT;md5=0835ade698e0bcf8506ecda2f7b4f302"
+
+IMAGE_CLASSES += "image_type_docker"
+IMAGE_FSTYPES = "docker"
+
+DOCKER_IMAGE_NAME_EXPORT ?= "${PN}:${PV}-${DISTRO_VERSION}"
+
+inherit core-image
+
+IMAGE_INSTALL += " \
+ packagegroup-core-container \
+ busybox \
+ base-passwd \
+ netbase \
+ \
+ python3 \
+"
diff --git a/dynamic-layers/meta-docker/recipes-images/base-containers/phytec-qt-container.bb b/dynamic-layers/meta-docker/recipes-images/base-containers/phytec-qt-container.bb
new file mode 100644
index 0000000..82ff800
--- /dev/null
+++ b/dynamic-layers/meta-docker/recipes-images/base-containers/phytec-qt-container.bb
@@ -0,0 +1,30 @@
+# Copyright (C) 2019 Martin Schwan <m.schwan@phytec.de>
+# Released under the MIT license (see COPYING.MIT for the terms)
+
+SUMMARY = "Desktop container image with Weston and Qt"
+LICENSE = "MIT"
+LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/MIT;md5=0835ade698e0bcf8506ecda2f7b4f302"
+
+IMAGE_CLASSES += "image_type_docker"
+IMAGE_FSTYPES = "docker"
+
+DOCKER_IMAGE_NAME_EXPORT ?= "${PN}:${PV}-${DISTRO_VERSION}"
+
+inherit core-image
+
+IMAGE_INSTALL += " \
+ weston \
+ weston-init \
+ packagegroup-base \
+ \
+ packagegroup-gstreamer \
+ gstreamer1.0-plugins-bad \
+ \
+ qtbase \
+ qtmultimedia \
+ qtwayland \
+ qtquickcontrols2 \
+ \
+ netbase \
+ bash \
+"