contrib/packaging/docker/centos7
author Boris Feld <boris.feld@octobus.net>
Fri, 23 Nov 2018 06:07:33 +0100
changeset 40819 875d2af8cb4e
parent 38461 11eda1f1b6e7
child 41234 4c0d4bbdc395
permissions -rw-r--r--
mmapindex: move the 'mmapindexthreshold' option out of experimental The option is useful and should be advertised more. We move it out of experimental as a first step. The `storage` section is selected as this is related to how the storage is accessed. A new 'performance' section might be more appropriate. We move from 'mmapindexthreshold` to `mmap-threshold` as non-index item are also suitable for mmap (eg: the rev-branch-cache). If relevant, we can introduce sub-option `mmap-threshold.revlog-index` later.

FROM centos:centos7

RUN groupadd -g 1000 build && \
    useradd -u 1000 -g 1000 -s /bin/bash -d /build -m build

RUN yum install -y \
	gcc \
	gettext \
	make \
	python-devel \
	python-docutils \
	rpm-build \
	tar

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