tests/docker: Add python3-venv and netcat to the debian-amd64 container
authorThomas Huth <thuth@redhat.com>
Wed, 15 Jul 2020 04:35:01 +0000 (06:35 +0200)
committerThomas Huth <thuth@redhat.com>
Wed, 5 Aug 2020 08:37:42 +0000 (10:37 +0200)
Without python3-venv, I get the following message when trying to
run the acceptance tests within the debian container:

 The virtual environment was not created successfully because ensurepip is not
 available.  On Debian/Ubuntu systems, you need to install the python3-venv
 package using the following command.
    apt-get install python3-venv
 You may need to use sudo with that command.  After installing the python3-venv
 package, recreate your virtual environment.

Let's do it as the message suggests.

And while we're at it, also add netcat here since it is required for
some of the acceptance tests.

Message-Id: <20200730141326.8260-2-thuth@redhat.com>
Reviewed-by: Alex Bennée <alex.bennee@linaro.org>
Signed-off-by: Thomas Huth <thuth@redhat.com>
tests/docker/dockerfiles/debian-amd64.docker

index 8fdfd6a6b046d28d2713e66576e8af36865032c5..d2500dcff184df89dc71aaacff74c4f2e4398697 100644 (file)
@@ -20,7 +20,9 @@ RUN apt update && \
         librdmacm-dev \
         libsasl2-dev \
         libsnappy-dev \
-        libvte-dev
+        libvte-dev \
+        netcat-openbsd \
+        python3-venv
 
 # virgl
 RUN apt update && \