Mercurial > hg
view contrib/packaging/docker/centos5 @ 42713:2c1a484ce4d4 stable
test: further fixes to matching for run-tests.py bug
The fix in bac24a8a095a did not fix the full issue, because the extra number
also eat some of the separator space. Since we are already matching arbitrary
number of space, we easily fix the matching.
author | Pierre-Yves David <pierre-yves.david@octobus.net> |
---|---|
date | Fri, 09 Aug 2019 13:11:27 +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