contrib/packaging/docker/rhel7
author Mathias De Mare <mathias.de_mare@nokia.com>
Tue, 15 Feb 2022 15:33:33 +0100
branchstable
changeset 48740 6387562e68b3
parent 47464 contrib/packaging/docker/centos7@25d36300ba8e
child 48773 6cfa30681a1d
permissions -rw-r--r--
contrib: refer to RHEL and derivatives instead of CentOS specifically Differential Revision: https://phab.mercurial-scm.org/D12182

FROM centos:centos7

RUN groupadd -g %GID% build && \
    useradd -u %UID% -g %GID% -s /bin/bash -d /build -m build

RUN yum install -y epel-release
RUN yum install -y \
	gcc \
	gettext \
	make \
	python3-devel \
	python36-docutils \
	rpm-build \
	tar

# For creating repo meta data
RUN yum install -y createrepo

# For rust extensions
RUN yum install -y cargo