]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
tests: Make sure install-deps is run noninteractively
authorBrad Hubbard <bhubbard@redhat.com>
Tue, 22 Sep 2020 02:51:28 +0000 (12:51 +1000)
committerBrad Hubbard <bhubbard@redhat.com>
Tue, 22 Sep 2020 03:24:26 +0000 (13:24 +1000)
This gets past things like tzconfig stopping for user input.
Remove redundant install of python-virtualenv.

Signed-off-by: Brad Hubbard <bhubbard@redhat.com>
src/test/ubuntu-18.04/Dockerfile.in

index 1f006663967ef7ca7d6d271640a58708bfda6afe..fa9de967ec1084a87e90c1c27b8fad20d4096527 100644 (file)
@@ -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