contrib/docker/centos7
author Yuya Nishihara <yuya@tcha.org>
Sat, 24 Mar 2018 17:04:43 +0900
changeset 37118 49d6ba67c93f
parent 34424 1baa077214ae
permissions -rw-r--r--
util: mark platform-specific gethgcmd() as private util.hgcmd() is the public interface for gethgcmd().
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
23033
1d354814ff4d docker: add centos7 target for CentOS / Red Hat 7 support
Mads Kiilerich <madski@unity3d.com>
parents: 22444
diff changeset
     1
FROM centos:centos7
34424
1baa077214ae docker: try to follow the best practices for writing Dockerfiles
muxator <a.mux@inwind.it>
parents: 23033
diff changeset
     2
RUN yum install -y \
1baa077214ae docker: try to follow the best practices for writing Dockerfiles
muxator <a.mux@inwind.it>
parents: 23033
diff changeset
     3
	gcc \
1baa077214ae docker: try to follow the best practices for writing Dockerfiles
muxator <a.mux@inwind.it>
parents: 23033
diff changeset
     4
	gettext \
1baa077214ae docker: try to follow the best practices for writing Dockerfiles
muxator <a.mux@inwind.it>
parents: 23033
diff changeset
     5
	make \
1baa077214ae docker: try to follow the best practices for writing Dockerfiles
muxator <a.mux@inwind.it>
parents: 23033
diff changeset
     6
	python-devel \
1baa077214ae docker: try to follow the best practices for writing Dockerfiles
muxator <a.mux@inwind.it>
parents: 23033
diff changeset
     7
	python-docutils \
1baa077214ae docker: try to follow the best practices for writing Dockerfiles
muxator <a.mux@inwind.it>
parents: 23033
diff changeset
     8
	rpm-build \
1baa077214ae docker: try to follow the best practices for writing Dockerfiles
muxator <a.mux@inwind.it>
parents: 23033
diff changeset
     9
	tar
1baa077214ae docker: try to follow the best practices for writing Dockerfiles
muxator <a.mux@inwind.it>
parents: 23033
diff changeset
    10
22444
49ea49823769 dockerrpm: create a yum/dnf repo from the generated rpms
Mads Kiilerich <madski@unity3d.com>
parents: 22442
diff changeset
    11
# For creating repo meta data
49ea49823769 dockerrpm: create a yum/dnf repo from the generated rpms
Mads Kiilerich <madski@unity3d.com>
parents: 22442
diff changeset
    12
RUN yum install -y createrepo