view contrib/docker/centos5 @ 35513:c4caf530b1c7

util: add a function to show the mount point of the filesystem For now, this is Windows only, since Linux doesn't have the value in its statfs structure, and I don't have a BSD system to test with.
author Matt Harbison <matt_harbison@yahoo.com>
date Fri, 29 Dec 2017 22:54:14 -0500
parents 1baa077214ae
children
line wrap: on
line source

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