FROM fedora:41

RUN dnf update -y && dnf upgrade -y; \
    dnf install -y mock rpmdevtools

COPY entrypoint.sh /
RUN chmod +x /entrypoint.sh
ENTRYPOINT ["/entrypoint.sh"]