contrib/packaging/docker/rhel8
author Pierre-Yves David <pierre-yves.david@octobus.net>
Tue, 19 Sep 2023 03:00:44 +0200
changeset 51075 2d30d1ba0371
parent 49278 234aaf0184f3
permissions -rw-r--r--
debugdeltachain: add a parameter to display all info This will be useful with the next changeset that change the defaul output to display the minimum amount of information.

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