2024-12-04 00:40:09 +00:00
|
|
|
FROM fedora:41
|
|
|
|
|
2024-12-04 00:36:25 +00:00
|
|
|
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"
|
|
|
|
|
2024-12-03 18:33:26 +00:00
|
|
|
RUN dnf update -y && dnf upgrade -y; \
|
2024-12-04 00:14:23 +00:00
|
|
|
dnf install -y mock rpmdevtools; \
|
|
|
|
dnf clean all
|
2024-12-03 18:33:26 +00:00
|
|
|
|
|
|
|
COPY entrypoint.sh /
|
|
|
|
RUN chmod +x /entrypoint.sh
|
|
|
|
ENTRYPOINT ["/entrypoint.sh"]
|
|
|
|
|