contrib/packaging/docker/centos8
author Simon Sapin <simon.sapin@octobus.net>
Thu, 14 Oct 2021 16:06:31 +0200
changeset 48231 0524c1359bfc
parent 47464 25d36300ba8e
child 48739 aeeb54261099
permissions -rw-r--r--
dirstate-v2: Extend node flags to 16 bits Only 7 out of 8 available bits are used right now. Reserve some more. Future versions of Mercurial may assign meaning to some of these bits, with the limitation that then-older versions will always reset those bits to unset when writing nodes. (A new node is written for any mutation in its subtree, leaving the bytes of the old node unreachable until the data file is rewritten entirely.) Differential Revision: https://phab.mercurial-scm.org/D11661
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
43405
7c9d42c1042d packaging: add support for CentOS 8
Mathias De Mare <mathias.de_mare@nokia.com>
parents:
diff changeset
     1
FROM centos:centos8
7c9d42c1042d packaging: add support for CentOS 8
Mathias De Mare <mathias.de_mare@nokia.com>
parents:
diff changeset
     2
7c9d42c1042d packaging: add support for CentOS 8
Mathias De Mare <mathias.de_mare@nokia.com>
parents:
diff changeset
     3
RUN groupadd -g %GID% build && \
7c9d42c1042d packaging: add support for CentOS 8
Mathias De Mare <mathias.de_mare@nokia.com>
parents:
diff changeset
     4
    useradd -u %UID% -g %GID% -s /bin/bash -d /build -m build
7c9d42c1042d packaging: add support for CentOS 8
Mathias De Mare <mathias.de_mare@nokia.com>
parents:
diff changeset
     5
7c9d42c1042d packaging: add support for CentOS 8
Mathias De Mare <mathias.de_mare@nokia.com>
parents:
diff changeset
     6
RUN yum install -y \
7c9d42c1042d packaging: add support for CentOS 8
Mathias De Mare <mathias.de_mare@nokia.com>
parents:
diff changeset
     7
	gcc \
7c9d42c1042d packaging: add support for CentOS 8
Mathias De Mare <mathias.de_mare@nokia.com>
parents:
diff changeset
     8
	gettext \
7c9d42c1042d packaging: add support for CentOS 8
Mathias De Mare <mathias.de_mare@nokia.com>
parents:
diff changeset
     9
	make \
7c9d42c1042d packaging: add support for CentOS 8
Mathias De Mare <mathias.de_mare@nokia.com>
parents:
diff changeset
    10
	python3-devel \
7c9d42c1042d packaging: add support for CentOS 8
Mathias De Mare <mathias.de_mare@nokia.com>
parents:
diff changeset
    11
	python3-docutils \
7c9d42c1042d packaging: add support for CentOS 8
Mathias De Mare <mathias.de_mare@nokia.com>
parents:
diff changeset
    12
	rpm-build
7c9d42c1042d packaging: add support for CentOS 8
Mathias De Mare <mathias.de_mare@nokia.com>
parents:
diff changeset
    13
7c9d42c1042d packaging: add support for CentOS 8
Mathias De Mare <mathias.de_mare@nokia.com>
parents:
diff changeset
    14
# For creating repo meta data
7c9d42c1042d packaging: add support for CentOS 8
Mathias De Mare <mathias.de_mare@nokia.com>
parents:
diff changeset
    15
RUN yum install -y createrepo
47464
25d36300ba8e Backed out changeset 9b8f326731ac
Mathias De Mare <mathias.de_mare@nokia.com>
parents: 47344
diff changeset
    16
25d36300ba8e Backed out changeset 9b8f326731ac
Mathias De Mare <mathias.de_mare@nokia.com>
parents: 47344
diff changeset
    17
# For rust extensions
25d36300ba8e Backed out changeset 9b8f326731ac
Mathias De Mare <mathias.de_mare@nokia.com>
parents: 47344
diff changeset
    18
RUN yum install -y cargo