aboutsummaryrefslogtreecommitdiff
path: root/opal-ci/Dockerfile-centos7
diff options
context:
space:
mode:
Diffstat (limited to 'opal-ci/Dockerfile-centos7')
-rw-r--r--opal-ci/Dockerfile-centos710
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