docker: add centos7 target for CentOS / Red Hat 7 support
authorMads Kiilerich <madski@unity3d.com>
Thu, 16 Oct 2014 17:44:14 +0200
changeset 23033 1d354814ff4d
parent 23032 f484be02bd35
child 23034 eea2e0f76a24
docker: add centos7 target for CentOS / Red Hat 7 support
Makefile
contrib/docker/centos7
--- 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