##// 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
centos8
18 lines | 321 B | text/plain | TextLexer
Mathias De Mare
packaging: add support for CentOS 8...
r43723 FROM centos:centos8
RUN groupadd -g %GID% build && \
useradd -u %UID% -g %GID% -s /bin/bash -d /build -m build
RUN yum install -y \
gcc \
gettext \
make \
python3-devel \
python3-docutils \
rpm-build
# 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