From: Brad Hubbard Date: Tue, 22 Sep 2020 02:51:28 +0000 (+1000) Subject: tests: Make sure install-deps is run noninteractively X-Git-Tag: v17.0.0~1050^2~1 X-Git-Url: http://git.apps.os.sepia.ceph.com/?a=commitdiff_plain;h=c0e6c64fba24782b843303d414ed2d287ce1246d;p=ceph.git 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 --- 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