view contrib/packaging/docker/centos7 @ 43696:794426e96970

py3: pass bytes to `configint` and `configbool` Both functions require bytes, even in Python 3. Differential Revision: https://phab.mercurial-scm.org/D7453
author Raphaël Gomès <rgomes@octobus.net>
date Mon, 18 Nov 2019 17:34:44 +0100
parents 4c0d4bbdc395
children de1f4c431619
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 \
	gcc \
	gettext \
	make \
	python-devel \
	python-docutils \
	rpm-build \
	tar

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