contrib/packaging/docker/centos8
author Mathias De Mare <mathias.de_mare@nokia.com>
Mon, 04 Nov 2019 07:56:53 +0100
branchstable
changeset 43405 7c9d42c1042d
child 45935 eccbfa7e19c0
permissions -rw-r--r--
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

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