Mercurial > hg
view contrib/packaging/docker/centos5 @ 43032:a12a9af7536c
sidedata: add a new revision flag constant for side data
Small step first.
Differential Revision: https://phab.mercurial-scm.org/D6888
author | Pierre-Yves David <pierre-yves.david@octobus.net> |
---|---|
date | Wed, 07 Aug 2019 17:55:44 +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