Add CI building scripts using Docker
This is a first stab at a set of scripts to build each defconfig
on each supported build platform inside Docker containers.
The idea is that on x86-64 and ppc64le hosts, we can easily test
that everything still at least builds on our supported build
platforms.
Due to docker image availability and Docker's complete lack of
acknowledging that there may exist architectures other than x86-64, we
get to jump through some rather stupid hoops to work out what
to build where.
Tested on Fedora 23 x86-64 and Ubuntu xenial snapshot with docker
daily snapshot on ppc64le.
Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
diff --git a/ci/Dockerfile/ubuntu1404 b/ci/Dockerfile/ubuntu1404
new file mode 100644
index 0000000..8acb932
--- /dev/null
+++ b/ci/Dockerfile/ubuntu1404
@@ -0,0 +1,10 @@
+FROM ubuntu:14.04
+# Don't ask. Ubuntu is awful.
+RUN sed -e 's/main$/main universe/' --in-place=orig /etc/apt/sources.list
+RUN DEBIAN_FRONTEND=noninteractive apt-get update
+RUN DEBIAN_FRONTEND=noninteractive apt-get install -yy cscope ctags \
+ libz-dev libexpat-dev \
+ python language-pack-en texinfo \
+ build-essential g++ git bison flex unzip \
+ libxml-simple-perl libxml-sax-perl libxml2-dev libxml2-utils xsltproc
+RUN DEBIAN_FRONTEND=noninteractive apt-get install -yy wget bc