view contrib/packaging/docker/rhel8 @ 49737:4cedae992ed1

path: pass `path` to `peer` in `hg perf::discovery` We directly use the `path` object to build the `peer` object.
author Pierre-Yves David <pierre-yves.david@octobus.net>
date Fri, 02 Dec 2022 06:52:27 +0100
parents 234aaf0184f3
children
line wrap: on
line source

FROM rockylinux/rockylinux:8

RUN groupadd -g %GID% build && \
    useradd -u %UID% -g %GID% -s /bin/bash -d /build -m build

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

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

# For rust extensions
RUN yum install -y cargo

# avoid incorrect docker image permissions on /tmp preventing writes by non-root users
RUN chmod 1777 /tmp