summaryrefslogtreecommitdiffstats
path: root/opal-ci/Dockerfile-ubuntu-16.04
diff options
context:
space:
mode:
authorStewart Smith <stewart@linux.vnet.ibm.com>2016-10-31 13:51:32 +1100
committerStewart Smith <stewart@linux.vnet.ibm.com>2016-11-02 15:27:40 +1100
commit99f146145c49e960af6e7da9391908cb30617227 (patch)
treeb3ede2e0beaa0eafae02d77270f07c846beef375 /opal-ci/Dockerfile-ubuntu-16.04
parented9c11c90d30484072a3d39d8b6660992699198e (diff)
downloadtalos-skiboot-99f146145c49e960af6e7da9391908cb30617227.tar.gz
talos-skiboot-99f146145c49e960af6e7da9391908cb30617227.zip
travis-ci: use Docker containers for a matrix of platforms
This greatly simplifies the build process for travis, yet makes it more powerful and increases coverage without increasing wall time to test. Travis has the concept of a build matrix, and we want to ensure we continue to build succesfully on a variety of platforms and compiler combinations. We limit what we run on some OSs to conserve vital sanity. Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
Diffstat (limited to 'opal-ci/Dockerfile-ubuntu-16.04')
-rw-r--r--opal-ci/Dockerfile-ubuntu-16.0412
1 files changed, 12 insertions, 0 deletions
diff --git a/opal-ci/Dockerfile-ubuntu-16.04 b/opal-ci/Dockerfile-ubuntu-16.04
new file mode 100644
index 00000000..2fb299be
--- /dev/null
+++ b/opal-ci/Dockerfile-ubuntu-16.04
@@ -0,0 +1,12 @@
+FROM ubuntu:16.04
+RUN apt-get update -qq
+RUN apt-get install -y gcc-powerpc64le-linux-gnu gcc
+RUN apt-get install -y wget xterm
+RUN apt-get install -y gcc-arm-linux-gnueabi
+RUN wget ftp://public.dhe.ibm.com/software/server/powerfuncsim/p8/packages/v1.0-2/systemsim-p8_1.0-2_amd64.deb
+RUN dpkg -i systemsim-p8_1.0-2_amd64.deb
+RUN apt-get -y install eatmydata
+RUN eatmydata apt-get -y install build-essential gcc python g++ pkg-config libz-dev libglib2.0-dev libpixman-1-dev libfdt-dev git libstdc++6 valgrind
+COPY . /build/
+WORKDIR /build
+ENTRYPOINT ./opal-ci/build-ubuntu-16.04.sh
OpenPOWER on IntegriCloud