contrib/docker/centos5
author Pulkit Goyal <7895pulkit@gmail.com>
Sun, 04 Mar 2018 22:33:59 +0530
changeset 36719 390d16ea7c76
parent 34423 1baa077214ae
permissions -rw-r--r--
py3: use pycompat.bytestr instead of str Differential Revision: https://phab.mercurial-scm.org/D2648

FROM centos:centos5
RUN \
	sed -i 's/^mirrorlist/#mirrorlist/' /etc/yum.repos.d/*.repo && \
	sed -i 's/^#\(baseurl=\)http:\/\/mirror.centos.org\/centos/\1http:\/\/vault.centos.org/' /etc/yum.repos.d/*.repo && \
	sed -i 's/\$releasever/5.11/' /etc/yum.repos.d/*.repo

RUN yum install -y \
	gcc \
	gettext \
	make \
	python-devel \
	python-docutils \
	rpm-build \
	tar

# For creating repo meta data
RUN yum install -y \
	bzip2-devel \
	createrepo \
	ncurses-devel \
	openssl-devel \
	readline-devel \
	zlib-devel