annotate contrib/packaging/docker/centos8 @ 47344:9b8f326731ac stable

packaging: disable rust extensions again on CentOS Backed out changeset eccbfa7e19c0 We're seeing (very rarely) crashes of 'hg purge' on some of our machines (see https://bz.mercurial-scm.org/show_bug.cgi?id=6509 ). Unfortunately, I haven't been able to find out much more about what is going wrong. To avoid further impact on our users and CI, I would prefer to disable the rust extensions for now. Differential Revision: https://phab.mercurial-scm.org/D10877
author Mathias De Mare <mathias.de_mare@nokia.com>
date Tue, 15 Jun 2021 09:06:12 +0200
parents eccbfa7e19c0
children 25d36300ba8e
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
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