##// END OF EJS Templates
rebase: clarify a little by calculating a set in Python instead of in revset...
rebase: clarify a little by calculating a set in Python instead of in revset By calculating the set in Python, we can give it a name, which helps readability. Differential Revision: https://phab.mercurial-scm.org/D7904

File last commit:

r41270:4c0d4bbd default
r44627:4263aaab default
Show More
centos5
27 lines | 609 B | text/plain | TextLexer
Gregory Szorc
packaging: move most of contrib/docker to contrib/packaging/docker...
r38023 FROM centos:centos5
Gregory Szorc
packaging: consistently create build user in Dockerfiles...
r38475
Mathias De Mare
packaging: allow running packaging with custom uid+gid for CentOS...
r41270 RUN groupadd -g %GID% build && \
useradd -u %UID% -g %GID% -s /bin/bash -d /build -m build
Gregory Szorc
packaging: consistently create build user in Dockerfiles...
r38475
Gregory Szorc
packaging: move most of contrib/docker to contrib/packaging/docker...
r38023 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