Fix zipp version issue 95/3795/1
authordave kormann <davek@research.att.com>
Thu, 15 Oct 2020 16:18:04 +0000 (12:18 -0400)
committerdave kormann <davek@research.att.com>
Thu, 15 Oct 2020 16:19:46 +0000 (12:19 -0400)
This change reorders python package installation to fix a problem
that results in the zipp library not being properly installed in
the diskimagebuilder image.

signed-off-by: dave kormann  <davek@research.att.com>
Change-Id: I0d4683ed4df4bd1b8d7e4e9cf329aed0a038ac5f

docker-context/Dockerfile-dib

index 33b0e2b..d1bb65f 100644 (file)
@@ -31,14 +31,16 @@ RUN \
         which \
         findutils \
         systemd-udev \
-        PyYAML \
         parted \
         sudo \
         e2fsprogs \
         xfsprogs \
         qemu-img \
         ${EXTRA_RPM:-} && \
+    pip install --upgrade pip && \
     pip install diskimage-builder==2.26.1 && \
+    pip install zipp && \
+    true && \
     yum remove -y python-pip
 RUN find -name 99-selinux-fixfiles-restore -exec rm {} \;