Imagefactory supports gzip, bzip2, and xz compression formats. Upstream
Docker prefers xz, so switch to using that.
---
builder/kojid | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/builder/kojid b/builder/kojid
index 8b1ea27..d59a0bb 100755
--- a/builder/kojid
+++ b/builder/kojid
@@ -3220,7 +3220,7 @@ class BaseImageTask(OzImageTask):
@returns:
a dict with some metadata about the image
"""
- img_opts = {'compress': 'gzip'}
+ img_opts = {'compress': 'xz'}
targ = self._do_target_image(self.base_img.base_image.identifier,
'docker', img_opts=img_opts)
return {'image': targ.target_image.data}
--
1.9.3