Cider Isn't Darwin Emulation, Really
Something went wrong. Try again.
123456789101112131415161718192021222324252627# this Dockerfile must be built using the following command:# docker build -f ../ci/RPM.Dockerfile .# this command must be run while in the `rpm` directory in the root of the repo.ARG BASE_IMAGE=fedora:37FROM $BASE_IMAGELABEL name=darling-build-image-fedora version=0.1.0ARG CI_UID=1111ARG CI_GID=1111RUN dnf install -y rpm-build dnf-utils rpmdevtools git; \ source /etc/os-release; \ dnf install -y https://download1.rpmfusion.org/free/fedora/rpmfusion-free-release-${VERSION_ID}.noarch.rpm; \ dnf clean allRUN groupadd -g "${CI_GID}" ciRUN useradd -u "${CI_UID}" -g "${CI_GID}" -m ciCOPY SPECS/darling.spec /darling.specRUN yum-builddep -y /darling.spec; \ dnf clean allRUN rm /darling.specRUN dnf install -y sudo; \ dnf clean allRUN echo 'ci ALL=(ALL) NOPASSWD:ALL' >> /etc/sudoersRUN mkdir -p /srcRUN dnf install -y ccache; \ dnf clean allRUN mkdir -p /ccacheUSER ci