contrib/docker/centos5
author Yuya Nishihara <yuya@tcha.org>
Thu, 04 Jan 2018 15:20:46 +0900
changeset 35689 5fe6f946f111
parent 34423 1baa077214ae
permissions -rw-r--r--
log: allow matchfn to be non-null even if both --patch/--stat are off This makes the next patch slightly simpler.

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