summaryrefslogtreecommitdiffstats
path: root/tests/docker
diff options
context:
space:
mode:
authorThomas Huth2020-07-15 06:35:01 +0200
committerThomas Huth2020-08-05 10:37:42 +0200
commit1caac1c0e4d5bdcf18c88ee184453b8ccfdaaee3 (patch)
tree284d5013105be5d12500968ec3bff49f149763a3 /tests/docker
parentMerge remote-tracking branch 'remotes/pmaydell/tags/pull-target-arm-20200804'... (diff)
downloadqemu-1caac1c0e4d5bdcf18c88ee184453b8ccfdaaee3.tar.gz
qemu-1caac1c0e4d5bdcf18c88ee184453b8ccfdaaee3.tar.xz
qemu-1caac1c0e4d5bdcf18c88ee184453b8ccfdaaee3.zip
tests/docker: Add python3-venv and netcat to the debian-amd64 container
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>
Diffstat (limited to 'tests/docker')
-rw-r--r--tests/docker/dockerfiles/debian-amd64.docker4
1 files changed, 3 insertions, 1 deletions
diff --git a/tests/docker/dockerfiles/debian-amd64.docker b/tests/docker/dockerfiles/debian-amd64.docker
index 8fdfd6a6b0..d2500dcff1 100644
--- a/tests/docker/dockerfiles/debian-amd64.docker
+++ b/tests/docker/dockerfiles/debian-amd64.docker
@@ -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 && \