[CRIU] [PATCH 2/2] travis: fix rawhide test by also installing sudo

Adrian Reber adrian at lisas.de
Mon Jul 9 09:28:27 MSK 2018


From: Adrian Reber <areber at redhat.com>

Signed-off-by: Adrian Reber <areber at redhat.com>
---
 scripts/build/Dockerfile.fedora.tmpl | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/scripts/build/Dockerfile.fedora.tmpl b/scripts/build/Dockerfile.fedora.tmpl
index 9e30da8..d255079 100644
--- a/scripts/build/Dockerfile.fedora.tmpl
+++ b/scripts/build/Dockerfile.fedora.tmpl
@@ -29,6 +29,7 @@ RUN dnf install -y \
 	python3-future \
 	python3-protobuf \
 	python3-junit_xml \
+	sudo \
 	tar \
 	which \
 	e2fsprogs \
@@ -48,4 +49,8 @@ WORKDIR /criu
 ENV CCACHE_DIR=/tmp/.ccache CCACHE_NOCOMPRESS=1 $ENV1=yes
 RUN mv .ccache /tmp && make mrproper && ccache -sz  && \
 	date && make -j $(nproc) CC="$CC" && date && ccache -s
+
+# The rpc test cases are running as user #1000, let's add the user
+RUN adduser -u 1000 test
+
 RUN make -C test/zdtm -j $(nproc)
-- 
1.8.3.1



More information about the CRIU mailing list