From mboxrd@z Thu Jan 1 00:00:00 1970 X-GM-THRID: 6925703955253035008 X-Received: by 2002:a19:5208:: with SMTP id m8mr1902894lfb.531.1612516109693; Fri, 05 Feb 2021 01:08:29 -0800 (PST) X-BeenThere: isar-users@googlegroups.com Received: by 2002:a05:651c:1314:: with SMTP id u20ls1534492lja.9.gmail; Fri, 05 Feb 2021 01:08:28 -0800 (PST) X-Google-Smtp-Source: ABdhPJwNpvo12WuMb1mT4dvrhTF+hEenzpVr9hndkp4CKJb9r1SA9cM4SEqAqRYkFFOW//1xXe83 X-Received: by 2002:a2e:a312:: with SMTP id l18mr2076145lje.243.1612516108584; Fri, 05 Feb 2021 01:08:28 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1612516108; cv=none; d=google.com; s=arc-20160816; b=gzd1QjyJs5Vz/jwF6UoMjCsu34okV9lIWhz/ZORdxmHseks/IfhYKVQ97iRARhEPJI VttqnY/OOYArcrBEp5oOqv4fuO8y15YixF0745vo56QM6oJNPlXLQmvvL9t7V0LUmhI0 HzgWdKQwY5+HT1DAhU0hapt6hydk4GU1+OTwo+37r/hNkz3/f/cPA1M/HK8luhkTctRr ZAJ+P6KdP7xDMYigc8gUrJShREDPsZJw5Wxd2HUqMvJtP4Qt5/c0K2ITN/TfPMCuUepr 8ACrhNb4lWTgAyk502xO1cIXBEYGJ/5pSEDQy+bXpB6CRM2DrxDXWb4PlKw/L+ohBQMj NKPA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:message-id:date:subject:to :from; bh=u51OmNbG9xCLCyEx/vX6TttqWE1r+tZjNNJhPDBvIko=; b=b/jTsf14VwdVKVW5TL2g8Omf2wRzww23GeEMZa6CiQVQQwGwBGvTTixyHEgKDfCW5i os4ehl6JywqUrVQrTPG931hZL+Ba4geqOtajiVhiQbq+0+WJhxnJ6ijjmbma3mq+0BAo oTTv8kJnlXYwhY/XpZSjwl9lz7b/8Ov5OE7zYs4s4DLr3gcyl3x3GBHMJd+tMfInTtAc GkphEuukHJcOxfUPu1ctOZsQRJf6bkoReGmUgX+RyVQE7LJsjdvnIK6ckkC90//WonQd 6nCQ7dAo/LcpB7oRvcFtWzwtKBlhH3g8G4Trn8h4d2pG6tlmFDo041TJJQbu9L+n4D7Y 5w5A== ARC-Authentication-Results: i=1; gmr-mx.google.com; spf=pass (google.com: domain of silvano.cirujano-cuesta@siemens.com designates 194.138.37.39 as permitted sender) smtp.mailfrom=silvano.cirujano-cuesta@siemens.com; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=siemens.com Return-Path: Received: from lizzard.sbs.de (lizzard.sbs.de. [194.138.37.39]) by gmr-mx.google.com with ESMTPS id z4si366626lfh.1.2021.02.05.01.08.28 for (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Fri, 05 Feb 2021 01:08:28 -0800 (PST) Received-SPF: pass (google.com: domain of silvano.cirujano-cuesta@siemens.com designates 194.138.37.39 as permitted sender) client-ip=194.138.37.39; Authentication-Results: gmr-mx.google.com; spf=pass (google.com: domain of silvano.cirujano-cuesta@siemens.com designates 194.138.37.39 as permitted sender) smtp.mailfrom=silvano.cirujano-cuesta@siemens.com; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=siemens.com Received: from mail1.sbs.de (mail1.sbs.de [192.129.41.35]) by lizzard.sbs.de (8.15.2/8.15.2) with ESMTPS id 11598Rra001630 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK) for ; Fri, 5 Feb 2021 10:08:27 +0100 Received: from md1sf36c.ad001.siemens.net ([167.87.60.163]) by mail1.sbs.de (8.15.2/8.15.2) with ESMTP id 11598RVw000712 for ; Fri, 5 Feb 2021 10:08:27 +0100 From: Silvano Cirujano Cuesta To: isar-users@googlegroups.com Subject: [PATCH 0/2] Add support for containerized SDKs Date: Fri, 5 Feb 2021 10:08:25 +0100 Message-Id: <20210205090827.17788-1-silvano.cirujano-cuesta@siemens.com> X-Mailer: git-send-email 2.30.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-TUID: BOf/zJrTLKJA This patch series extends the SDK creation task `populate_sdk` to enable the creation of container images (different formats that can be simultaneously generated supported) providing the SDK. Containerized SDKs are easy to distribute and run and are therefore quickly spreading. The SDK format available until this patch (.tar.xz of SDK rootfs that can be chrooted to) remains available and is the default. Even for those wanting to use the here called `tar-xz` format it's possible to use container images as "packaging" medium (simple to get tools -script, skopeo,...- can help on this, if needed). More information about its usage is documented in the file docs/user_manual.md. A PoC/demo of this functionality has been created based on the project https://github.com/siemens/meta-iot2050. Jan Kiszka already tested and liked it! => https://github.com/siemens/meta-iot2050/issues/86#issuecomment-768907845 In order to get a feeling about its usage (you need Docker or Podman), follow these simple copy&paste instructions: https://github.com/Silvanoc/meta-iot2050/blob/master/kas/BUILDING-SDK-CONTAINER.md#running-the-sdk Build instructions are available in the upper part of that document. Two new dependencies are required to create containerized SDKs (as specified in the documentation). Typical container image management actions (e.g. push an image to a container image regitry) are out of scope. Available tools (Docker, Skopeo, Buildah, Podman,...) should be used for these actions. This patch series addresses the comments and concerns raised in the RFC called "support generation of sdk container images". A patch will follow this one to get the dependencies into the container images being provided by the project https://github.com/siemens/kas (for `kas-container`, for example). Silvano Cirujano Cuesta (2): sdk: support creation of container image docs: document usage of sdk container images doc/user_manual.md | 79 +++++++++++++++++ meta/classes/image-sdk-extension.bbclass | 104 +++++++++++++++++++++-- 2 files changed, 176 insertions(+), 7 deletions(-) -- 2.30.0