view contrib/packaging/docker/centos7 @ 47254:eac3591abbf4

revlog: add a `_get_decompressor` method This logic is non-trivial and we will need to reuse it. Differential Revision: https://phab.mercurial-scm.org/D10651
author Pierre-Yves David <pierre-yves.david@octobus.net>
date Mon, 03 May 2021 21:04:55 +0200
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