this repo has no description
at fixPythonPipStalling 26 lines 918 B view raw
1# this Dockerfile must be built using the following command: 2# docker build -f ../ci/RPM.Dockerfile . 3# this command must be run while in the `rpm` directory in the root of the repo. 4ARG BASE_IMAGE=fedora:37 5FROM $BASE_IMAGE 6LABEL name=darling-build-image-fedora version=0.1.0 7ARG CI_UID=1111 8ARG CI_GID=1111 9RUN dnf install -y rpm-build dnf-utils rpmdevtools git; \ 10 source /etc/os-release; \ 11 dnf install -y https://download1.rpmfusion.org/free/fedora/rpmfusion-free-release-${VERSION_ID}.noarch.rpm; \ 12 dnf clean all 13RUN groupadd -g "${CI_GID}" ci 14RUN useradd -u "${CI_UID}" -g "${CI_GID}" -m ci 15COPY SPECS/darling.spec /darling.spec 16RUN yum-builddep -y /darling.spec; \ 17 dnf clean all 18RUN rm /darling.spec 19RUN dnf install -y sudo; \ 20 dnf clean all 21RUN echo 'ci ALL=(ALL) NOPASSWD:ALL' >> /etc/sudoers 22RUN mkdir -p /src 23RUN dnf install -y ccache; \ 24 dnf clean all 25RUN mkdir -p /ccache 26USER ci