From b2e771742586b4f434608b901f1805573ab066bd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= Date: Mon, 17 Jul 2017 21:31:41 -0300 Subject: docker: enable virgl to extend code coverage on amd64 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Philippe Mathieu-Daudé [AJB: mv, comments in dockerfile] Signed-off-by: Alex Bennée --- tests/docker/dockerfiles/debian-amd64.docker | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) (limited to 'tests') diff --git a/tests/docker/dockerfiles/debian-amd64.docker b/tests/docker/dockerfiles/debian-amd64.docker index 2ab76120a4..360ecf0360 100644 --- a/tests/docker/dockerfiles/debian-amd64.docker +++ b/tests/docker/dockerfiles/debian-amd64.docker @@ -1,7 +1,8 @@ # # Docker x86_64 target # -# This docker target builds on the debian Stretch base image. +# This docker target builds on the debian Stretch base image. Further +# libraries which are not widely available are installed by hand. # FROM qemu:debian9 MAINTAINER Philippe Mathieu-Daudé @@ -16,3 +17,12 @@ RUN DEBIAN_FRONTEND=noninteractive eatmydata \ librdmacm-dev \ libsnappy-dev \ libvte-dev + +# virgl +RUN DEBIAN_FRONTEND=noninteractive eatmydata \ + apt-get install -y --no-install-recommends \ + libegl1-mesa-dev \ + libepoxy-dev \ + libgbm-dev +RUN git clone git://anongit.freedesktop.org/virglrenderer /usr/src/virglrenderer +RUN cd /usr/src/virglrenderer && ./autogen.sh && ./configure --with-glx --disable-tests && make install -- cgit v1.2.3