Hi Marcus,
I came across a small bug while building a Docker image with Kiwi NG 9.24.55.
I'm using the --temp-dir parameter with kiwi-ng, however the call to skopeo does not takes this into account.
The problem is within umoci.py. I have made some slight code adjustments to get it working for export_container_image():
Command.run([
'skopeo', 'copy', 'oci:{0}'.format(self.working_image),
'{0}:{1}:{2}'.format(transport, filename, image_ref),
'--tmpdir', Defaults.get_temp_location()
] + extra_tags_opt)
and import_container_image():
Command.run([
'skopeo', 'copy', container_image_ref, 'oci:{0}:{1}'.format(
self.container_dir, Defaults.get_container_base_image_tag()
), '--tmpdir', Defaults.get_temp_location()
])
Kind regards,
Sebastiaan