contrib/packaging/docker/rhel7
author Raphaël Gomès <rgomes@octobus.net>
Wed, 08 Jun 2022 15:12:34 +0200
changeset 49345 137d6bb71937
parent 48773 6cfa30681a1d
permissions -rw-r--r--
rust: use owned types in `Matcher` This simplifies the code a lot, allows for some refactoring to come. The original code tried to prevent allocations that were already happening anyway beforehand.

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