From c0e6c64fba24782b843303d414ed2d287ce1246d Mon Sep 17 00:00:00 2001 From: Brad Hubbard Date: Tue, 22 Sep 2020 12:51:28 +1000 Subject: [PATCH] tests: Make sure install-deps is run noninteractively This gets past things like tzconfig stopping for user input. Remove redundant install of python-virtualenv. Signed-off-by: Brad Hubbard --- src/test/ubuntu-18.04/Dockerfile.in | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/test/ubuntu-18.04/Dockerfile.in b/src/test/ubuntu-18.04/Dockerfile.in index 1f006663967ef..fa9de967ec108 100644 --- a/src/test/ubuntu-18.04/Dockerfile.in +++ b/src/test/ubuntu-18.04/Dockerfile.in @@ -25,7 +25,7 @@ RUN mkdir /root/debian COPY debian /root/debian/ RUN apt-get update # build dependencies -RUN cd /root ; ./install-deps.sh +RUN cd /root ; DEBIAN_FRONTEND=noninteractive ./install-deps.sh # development tools -RUN apt-get install -y ccache valgrind gdb python-virtualenv gdisk kpartx jq xmlstarlet sudo +RUN apt-get install -y ccache valgrind gdb gdisk kpartx jq xmlstarlet sudo RUN if test %%USER%% != root ; then useradd -M --uid %%user_id%% %%USER%% && echo '%%USER%% ALL=(ALL) NOPASSWD:ALL' >> /etc/sudoers ; fi -- 2.39.5