contrib/docker/centos6
author Mathias De Maré <mathias.de_mare@nokia.com>
Thu, 27 Jul 2017 14:15:26 +0200
branchstable
changeset 33596 af09413deb72
parent 22444 49ea49823769
child 34423 1baa077214ae
permissions -rw-r--r--
makefile: build on CentOS 6 with a Python 2.7 Differential Revision: https://phab.mercurial-scm.org/D189
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
22442
77da9c03be60 docker: use stable tags for fedora and centos
Mads Kiilerich <madski@unity3d.com>
parents: 21255
diff changeset
     1
FROM centos:centos6
21255
62a2749895e4 build: initial support for in-tree autobuilding recipes
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
     2
RUN yum install -y gcc
62a2749895e4 build: initial support for in-tree autobuilding recipes
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
     3
RUN yum install -y python-devel python-docutils
62a2749895e4 build: initial support for in-tree autobuilding recipes
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
     4
RUN yum install -y make
62a2749895e4 build: initial support for in-tree autobuilding recipes
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
     5
RUN yum install -y rpm-build
62a2749895e4 build: initial support for in-tree autobuilding recipes
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
     6
RUN yum install -y gettext
62a2749895e4 build: initial support for in-tree autobuilding recipes
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
     7
RUN yum install -y tar
22444
49ea49823769 dockerrpm: create a yum/dnf repo from the generated rpms
Mads Kiilerich <madski@unity3d.com>
parents: 22442
diff changeset
     8
# 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
     9
RUN yum install -y createrepo
33596
af09413deb72 makefile: build on CentOS 6 with a Python 2.7
Mathias De Maré <mathias.de_mare@nokia.com>
parents: 22444
diff changeset
    10
# For python
af09413deb72 makefile: build on CentOS 6 with a Python 2.7
Mathias De Maré <mathias.de_mare@nokia.com>
parents: 22444
diff changeset
    11
RUN yum install -y readline-devel openssl-devel ncurses-devel zlib-devel bzip2-devel