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

Radostin Stoyanov rstoyanov1 at gmail.com
Wed Jul 11 01:09:11 MSK 2018


On 09/07/18 07:28, Adrian Reber wrote:
> 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)
ACK


More information about the CRIU mailing list