##// END OF EJS Templates
dockerrpm: always use current user and group...
dockerrpm: always use current user and group Using uid 1000 and gid 1000 works by default in some cases, but 'id -u' and 'id -g' should work in all cases. Differential Revision: https://phab.mercurial-scm.org/D11767

File last commit:

r48266:25d36300 stable
r49154:4713bcf7 stable
Show More
centos7
20 lines | 361 B | text/plain | TextLexer
Gregory Szorc
packaging: move most of contrib/docker to contrib/packaging/docker...
r38023 FROM centos:centos7
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
Mathias De Mare
packaging: switch centos 7 packaging to python 3...
r46440 RUN yum install -y epel-release
Gregory Szorc
packaging: move most of contrib/docker to contrib/packaging/docker...
r38023 RUN yum install -y \
gcc \
gettext \
make \
Mathias De Mare
packaging: switch centos 7 packaging to python 3...
r46440 python3-devel \
python36-docutils \
Gregory Szorc
packaging: move most of contrib/docker to contrib/packaging/docker...
r38023 rpm-build \
tar
# For creating repo meta data
RUN yum install -y createrepo
Mathias De Mare
Backed out changeset 9b8f326731ac...
r48266
# For rust extensions
RUN yum install -y cargo