diff options
author | Stewart Smith <stewart@linux.vnet.ibm.com> | 2016-10-31 13:51:32 +1100 |
---|---|---|
committer | Stewart Smith <stewart@linux.vnet.ibm.com> | 2016-11-02 15:27:40 +1100 |
commit | 99f146145c49e960af6e7da9391908cb30617227 (patch) | |
tree | b3ede2e0beaa0eafae02d77270f07c846beef375 /opal-ci/Dockerfile-centos7 | |
parent | ed9c11c90d30484072a3d39d8b6660992699198e (diff) | |
download | skiboot-99f146145c49e960af6e7da9391908cb30617227.zip skiboot-99f146145c49e960af6e7da9391908cb30617227.tar.gz skiboot-99f146145c49e960af6e7da9391908cb30617227.tar.bz2 |
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-centos7')
-rw-r--r-- | opal-ci/Dockerfile-centos7 | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/opal-ci/Dockerfile-centos7 b/opal-ci/Dockerfile-centos7 new file mode 100644 index 0000000..c9d4c87 --- /dev/null +++ b/opal-ci/Dockerfile-centos7 @@ -0,0 +1,10 @@ +FROM centos:7 +RUN yum -y update && yum clean all +RUN yum -y install wget xterm gcc git xz make diffutils findutils expect valgrind valgrind-devel +RUN wget https://www.kernel.org/pub/tools/crosstool/files/bin/x86_64/4.8.0/x86_64-gcc-4.8.0-nolibc_powerpc64-linux.tar.xz +RUN mkdir /opt/cross +RUN tar -C /opt/cross -xf x86_64-gcc-4.8.0-nolibc_powerpc64-linux.tar.xz +COPY . /build/ +WORKDIR /build +# We don't have a custom centos 7 build, same script for now +ENTRYPOINT ./opal-ci/build-centos6.sh |