debian-forge/osbuild
Alexander Larsson 46a228df38 Add support for installing containers in images
This adds a stage called org.osbuild.skopeo that installs docker and
oci archive files into the container storage of the tree being
constructed.

The source can either be a file from another pipeline, for example one
created with the existing org.osbuild.oci-archive stage, or it can
be using the new org.osbuild.skopeo source and org.osbuild.containers
input, which will download an image from a registry and install that.

There is an optional option in the install stage that lets you
configure a custom storage location, which allows the use of the
additionalimagestores option in the container storage.conf
to use a read-only image stores (instead of /var/lib/container).

Note: skopeo fails to start if /etc/containers/policy.json is
not available, so we bind mount it from the build tree to the
buildroot if available.
2022-02-10 14:43:17 +01:00
..
formats v2: Add source-epoch key in pipeline declaration and pass to buildroot 2022-02-09 09:58:49 +01:00
util util/linux: fix BLK_IOC_FLSBUF on ppc64le 2022-02-01 16:28:56 +01:00
__init__.py pipeline: remove Assembler class 2021-01-19 10:42:26 +01:00
__main__.py osbuild: always return exit code 2020-10-27 22:04:09 +01:00
api.py api: remove host side arguments facility 2021-07-08 15:01:33 +01:00
buildroot.py Add support for installing containers in images 2022-02-10 14:43:17 +01:00
devices.py devices: add device path helper functions 2021-10-30 15:32:44 +01:00
host.py host: check reply_fds before sending them 2021-09-24 12:14:04 +01:00
inputs.py inputs: convert to host service 2021-06-09 18:37:47 +01:00
loop.py loop: add setup callback to loop_for_fd 2021-12-09 00:44:21 +00:00
main_cli.py osbuild: make monitor configurable via comandline 2021-12-09 00:44:21 +00:00
meta.py meta: allow mounts for all stages 2021-10-30 15:32:44 +01:00
monitor.py monitor/log: print pipeline information 2021-02-12 15:55:43 +01:00
mounts.py mounts: include tree directory in arguments 2021-10-30 15:32:44 +01:00
objectstore.py objectstore: don't store objects by their treesum 2021-12-16 16:44:07 +00:00
pipeline.py Pass source-epoch to stages only if set 2022-02-09 09:58:49 +01:00
remoteloop.py remoteloop: close loop device controller 2021-08-11 20:59:51 +02:00
sources.py sources: pass items via temporary file 2021-09-24 08:27:19 +01:00