rpm-build/Dockerfile

19 lines
572 B
Text
Raw Normal View History

2024-12-04 00:40:09 +00:00
FROM fedora:41
LABEL org.opencontainers.image.authors="Carlos Mogas da Silva <r3pek@r3pek.org>" \
org.opencontainers.image.url="https://code.r3pek.org/actions/rpm-build" \
2024-12-04 10:21:47 +00:00
org.opencontainers.image.source="https://code.r3pek.org/actions/rpm-build" \
maintainer="Carlos Mogas da Silva <r3pek@r3pek.org>"
RUN dnf update -y && dnf upgrade -y; \
2024-12-07 22:50:35 +00:00
dnf install -y mock rpmdevtools jq nosync; \
2024-12-04 16:27:38 +00:00
dnf clean all && rm -rf /var/cache/dnf/*
COPY entrypoint.sh /
RUN chmod +x /entrypoint.sh
2024-12-07 22:50:35 +00:00
COPY site-defaults.cfg /etc/mock/
ENTRYPOINT ["/entrypoint.sh"]