diff 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
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/contrib/packaging/docker/centos8	Mon Nov 04 07:56:53 2019 +0100
@@ -0,0 +1,15 @@
+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