annotate contrib/packaging/docker/centos8 @ 43405:7c9d42c1042d stable

packaging: add support for CentOS 8 The resulting executable has not been tested in detail yet. I ran 'hg version' and 'hg clone', which worked fine (except for extensions acting up due to Python 3). Differential Revision: https://phab.mercurial-scm.org/D7216
author Mathias De Mare <mathias.de_mare@nokia.com>
date Mon, 04 Nov 2019 07:56:53 +0100
parents
children eccbfa7e19c0
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