view contrib/packaging/docker/centos5 @ 42788:2eec53a99ec1

revlog: stop calling `basetext` `rawtext` in _revisiondata If the cache entry is used as a base test for delta, it is not the rawtext we need. We update the variable name to clarify this.
author Pierre-Yves David <pierre-yves.david@octobus.net>
date Wed, 07 Aug 2019 23:48:54 +0200
parents 4c0d4bbdc395
children
line wrap: on
line source

FROM centos:centos5

RUN groupadd -g %GID% build && \
    useradd -u %UID% -g %GID% -s /bin/bash -d /build -m build

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