summaryrefslogtreecommitdiff
path: root/Dockerfile.fedora
diff options
context:
space:
mode:
authorArkadiusz Hiler <arkadiusz.hiler@intel.com>2018-09-28 16:05:59 +0300
committerArkadiusz Hiler <arkadiusz.hiler@intel.com>2018-10-23 14:28:28 +0300
commitfa6dbf8c048961356fd642df047cb58ab49309b2 (patch)
treed3cfc459ea6f54300eb69d4faf23aeac8a80fcb2 /Dockerfile.fedora
parentb633344e7407f2086199b9d835aa980ba4c29dfa (diff)
Add GitLab's CI/CD configuration
The CI/CD pipeline is configured the following way: 1. Build docker images and add them to repo's registry (manual step for now, automation needs GitLab to be updated). 2. Build igt with meson on Debian and Fedora. 3. Run `ninja tests` on Fedora. 4. Build and publish docs as an artifact, for GitLab Pages. v2: Typos and fully-featured meson build. v3: Use variables instead of hard-coding registry and project. Cc: Petri Latvala <petri.latvala@intel.com> Cc: Daniel Vetter <daniel@ffwll.ch> Signed-off-by: Arkadiusz Hiler <arkadiusz.hiler@intel.com> Acked-by: Daniel Vetter <daniel.vetter@ffwll.ch> Acked-by: Petri Latvala <petri.latvala@intel.com>
Diffstat (limited to 'Dockerfile.fedora')
-rw-r--r--Dockerfile.fedora36
1 files changed, 36 insertions, 0 deletions
diff --git a/Dockerfile.fedora b/Dockerfile.fedora
new file mode 100644
index 00000000..341a0ed7
--- /dev/null
+++ b/Dockerfile.fedora
@@ -0,0 +1,36 @@
+FROM fedora:28
+
+RUN dnf install -y gcc \
+ flex \
+ meson \
+ bison \
+ gtk-doc \
+ xdotool \
+ gsl-devel \
+ kmod-devel \
+ glib2-devel \
+ cairo-devel \
+ procps-devel \
+ pixman-devel \
+ json-c-devel \
+ libdrm-devel \
+ openssl-devel \
+ libudev-devel \
+ xmlrpc-c-devel \
+ elfutils-devel \
+ libunwind-devel \
+ python-docutils \
+ libpciaccess-devel \
+ alsa-lib-devel \
+ valgrind-devel \
+ libXrandr-devel \
+ libXv-devel
+
+# We need peg to build overlay
+RUN dnf install -y make
+RUN mkdir /tmp/peg
+WORKDIR /tmp/peg
+RUN curl -O http://piumarta.com/software/peg/peg-0.1.18.tar.gz
+RUN tar xf peg-0.1.18.tar.gz
+RUN cd peg-0.1.18 && make PREFIX=/usr install
+RUN rm -fr /tmp/peg