summaryrefslogtreecommitdiff
path: root/Dockerfile.debian-minimal
diff options
context:
space:
mode:
authorPetri Latvala <petri.latvala@intel.com>2019-06-03 14:59:43 +0300
committerPetri Latvala <petri.latvala@intel.com>2019-06-20 11:11:19 +0300
commit771cd83f4ae4299cebfb09b89b4d044835c6ea80 (patch)
tree2abd1131d9195844ca1917d876441d3037d3cddf /Dockerfile.debian-minimal
parentc88ced79a7b71aec58f1d9c5c599ac2f431bcf7a (diff)
gitlab-CI: Do a build-test without any optional dependencies installed
The meson command line has -Dbuild_tests=disabled -Dwith_libdrm="" because those aren't trivial to make automatic. Plain libdrm is also required, but the libdrm_vendor ones are all optional so for now those are just explicitly disabled. Otherwise this tests that the automated machinery is able to figure out what can be built. v2 (Simon): Base the debian docker image on the debian-minimal image v3: Make the empty argument to with_libdrm more explicit and apparent (Arek) Signed-off-by: Petri Latvala <petri.latvala@intel.com> Cc: Arkadiusz Hiler <arkadiusz.hiler@intel.com> Cc: Simon Ser <simon.ser@intel.com> Reviewed-by: Arkadiusz Hiler <arkadiusz.hiler@intel.com>
Diffstat (limited to 'Dockerfile.debian-minimal')
-rw-r--r--Dockerfile.debian-minimal24
1 files changed, 24 insertions, 0 deletions
diff --git a/Dockerfile.debian-minimal b/Dockerfile.debian-minimal
new file mode 100644
index 00000000..bbe70bed
--- /dev/null
+++ b/Dockerfile.debian-minimal
@@ -0,0 +1,24 @@
+FROM debian:stretch-backports
+
+RUN apt-get update
+RUN apt-get install -y \
+ gcc \
+ flex \
+ bison \
+ pkg-config \
+ libpciaccess-dev \
+ libkmod-dev \
+ libprocps-dev \
+ libdw-dev \
+ zlib1g-dev \
+ liblzma-dev \
+ libcairo-dev \
+ libpixman-1-dev \
+ libudev-dev \
+ libxrandr-dev \
+ libxv-dev \
+ x11proto-dri2-dev
+
+RUN apt-get install -t stretch-backports -y \
+ meson \
+ libdrm-dev