view contrib/packaging/docker/centos7 @ 45836:de1f4c431619

packaging: switch centos 7 packaging to python 3 Differential Revision: https://phab.mercurial-scm.org/D9293
author Mathias De Mare <mathias.de_mare@nokia.com>
date Fri, 06 Nov 2020 17:32:23 +0100
parents 4c0d4bbdc395
children eccbfa7e19c0
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