contrib/packaging/docker/rhel8
author Gregory Szorc <gregory.szorc@gmail.com>
Mon, 21 Feb 2022 10:32:45 -0700
changeset 48986 62baa61efe8f
parent 48776 6cfa30681a1d
child 48889 234aaf0184f3
permissions -rw-r--r--
keepalive: remove Python 2 support code Differential Revision: https://phab.mercurial-scm.org/D12298

FROM rockylinux/rockylinux:8

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

# For rust extensions
RUN yum install -y cargo