rpm-build/Dockerfile

15 lines
438 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" \
org.opencontainers.image.source="https://code.r3pek.org/actions/rpm-build"
RUN dnf update -y && dnf upgrade -y; \
2024-12-04 00:14:23 +00:00
dnf install -y mock rpmdevtools; \
dnf clean all
COPY entrypoint.sh /
RUN chmod +x /entrypoint.sh
ENTRYPOINT ["/entrypoint.sh"]