changeset 23033:1d354814ff4d

docker: add centos7 target for CentOS / Red Hat 7 support
author Mads Kiilerich <madski@unity3d.com>
date Thu, 16 Oct 2014 17:44:14 +0200
parents f484be02bd35
children eea2e0f76a24
files Makefile contrib/docker/centos7
diffstat 2 files changed, 19 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/Makefile	Thu Oct 16 19:15:51 2014 -0700
+++ b/Makefile	Thu Oct 16 17:44:14 2014 +0200
@@ -175,6 +175,16 @@
 	mkdir -p packages/centos6
 	contrib/dockerrpm centos6
 
+centos7:
+	mkdir -p packages/centos7
+	contrib/buildrpm
+	cp rpmbuild/RPMS/*/* packages/centos7
+	cp rpmbuild/SRPMS/* packages/centos7
+
+docker-centos7:
+	mkdir -p packages/centos7
+	contrib/dockerrpm centos7
+
 .PHONY: help all local build doc clean install install-bin install-doc \
 	install-home install-home-bin install-home-doc dist dist-notests tests \
 	update-pot fedora20 docker-fedora20
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/contrib/docker/centos7	Thu Oct 16 17:44:14 2014 +0200
@@ -0,0 +1,9 @@
+FROM centos:centos7
+RUN yum install -y gcc
+RUN yum install -y python-devel python-docutils
+RUN yum install -y make
+RUN yum install -y rpm-build
+RUN yum install -y gettext
+RUN yum install -y tar
+# For creating repo meta data
+RUN yum install -y createrepo