diff mbox series

[1/1] Dockerfile: add libguestfs-tools package

Message ID 20200530221658.50842-1-xypron.glpk@gmx.de
State New
Headers show
Series [1/1] Dockerfile: add libguestfs-tools package | expand

Commit Message

Heinrich Schuchardt May 30, 2020, 10:16 p.m. UTC
In some of our Python tests we build disk images. Currently this involves
using the sudo command for losetup and mount. For some tests sudo is
not necessary if the command guestmount of package libguestfs-tools is
available. Another useful tool in libguestfs-tools is virt-make-fs.

Generally we should get rid of using a root user for building and testing.
As a first step install libguestfs-tools in our Docker image.

Signed-off-by: Heinrich Schuchardt <xypron.glpk at gmx.de>
---
 Dockerfile | 1 +
 1 file changed, 1 insertion(+)

--
2.26.2
diff mbox series

Patch

diff --git a/Dockerfile b/Dockerfile
index 4138415..20a861f 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -57,6 +57,7 @@  RUN apt-get update && apt-get install -y \
 	iasl \
 	imagemagick \
 	iputils-ping \
+	libguestfs-tools \
 	libisl15 \
 	liblz4-tool \
 	libpixman-1-dev \