system_imaging.dockerimage_from_diskimage#
Create docker image using a disk image#
This will produce dockers images for all the system images described in config. section:
system_imaging.images
You can reduce this by providing a case-incensitive fnmatch pattern as input to the script via workflow, such as these:
# This will build all images
with:
pattern: "*"
# This will build all those starting with debian
with:
pattern: "debian*"
Retargetable: False#
This script only runs on the iniator; due to the use of ‘shutil’, ‘download’ etc.
- cijoe.system_imaging.scripts.dockerimage_from_diskimage.main(args, cijoe)#
Create a docker image using the content of a .qcow2 image
CLI arguments#
options:
-h, --helpshow this help message and exit
--pattern PATTERNPattern for image names to build