view contrib/packaging/docker/centos7 @ 46192:25d11b24dedf

upgrade: move printing of unused optimizations to UpgradeOperation class Differential Revision: https://phab.mercurial-scm.org/D9578
author Pulkit Goyal <7895pulkit@gmail.com>
date Mon, 14 Dec 2020 13:48:25 +0530
parents eccbfa7e19c0
children 9b8f326731ac
line wrap: on
line source

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