tests/docker: auto-generate centos8.docker with lcitool

This commit is best examined using the "-b" option to diff.

Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Message-Id: <20211215141949.3512719-9-berrange@redhat.com>
Message-Id: <20220105135009.1584676-9-alex.bennee@linaro.org>
This commit is contained in:
Daniel P. Berrangé 2022-01-05 13:49:43 +00:00 committed by Alex Bennée
parent 4ebb040f1f
commit 21ea888fc2
2 changed files with 135 additions and 110 deletions

View file

@ -61,6 +61,8 @@ def generate_dockerfile(host, target, cross=None, trailer=None):
generate(filename, cmd, trailer)
try:
generate_dockerfile("centos8", "centos-8")
sys.exit(0)
except Exception as ex:
print(str(ex), file=sys.stderr)