diff options
author | Abdulwasiu Apalowo <abdulwasiuapalowo@gmail.com> | 2022-12-23 00:33:21 +0100 |
---|---|---|
committer | Abdulwasiu Apalowo <abdulwasiuapalowo@gmail.com> | 2023-01-10 14:18:55 +0100 |
commit | 0924161b2c0cd2752312e00170e0165931ff24f9 (patch) | |
tree | bbb7d89405bd39f29f8b1a2d9429cdc687277532 /setup.py | |
parent | 73fb1c622c0351b08129b414c5232a8a933d9842 (diff) | |
download | libvirt-ci-0924161b2c0cd2752312e00170e0165931ff24f9.zip libvirt-ci-0924161b2c0cd2752312e00170e0165931ff24f9.tar.gz libvirt-ci-0924161b2c0cd2752312e00170e0165931ff24f9.tar.bz2 |
lcitool container: Add "build" subcommand
This adds the "build" subcommand which is used to
build container image from args.projects and
args.target.
The Dockerfile string generated from using the
`DockerfileFormatter` class is copied to a temporary file
which is passed to the build command.
Tags are generated by prefixing the target name with
"lcitool.", e.g "lcitool.fedora-36" to prevent trashing
the output of "podman images" with incomprehensible tags.
If an image is present, it is removed before starting another
build to ensure the image is built from scratch.
Ensure that (--target & --projects) arguments are passed with
"build" subcommand.
Signed-off-by: Abdulwasiu Apalowo <abdulwasiuapalowo@gmail.com>
Diffstat (limited to 'setup.py')
0 files changed, 0 insertions, 0 deletions