contrib/packaging/docker/centos5
author Yuya Nishihara <yuya@tcha.org>
Sat, 26 May 2018 11:33:02 +0900
changeset 38177 7fa3408f83ef
parent 38003 1335bbfb066f
child 38457 11eda1f1b6e7
permissions -rw-r--r--
revlog: disallow setting uncompressed length to None Backed out changeset a4942675de6b

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