Carlos Mogas da Silva
7f6c070dfd
All checks were successful
Build docker image / build-and-publish (push) Successful in 12m41s
18 lines
572 B
Docker
18 lines
572 B
Docker
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" \
|
|
maintainer="Carlos Mogas da Silva <r3pek@r3pek.org>"
|
|
|
|
RUN dnf update -y && dnf upgrade -y; \
|
|
dnf install -y mock rpmdevtools jq nosync; \
|
|
dnf clean all && rm -rf /var/cache/dnf/*
|
|
|
|
COPY entrypoint.sh /
|
|
RUN chmod +x /entrypoint.sh
|
|
|
|
COPY site-defaults.cfg /etc/mock/
|
|
|
|
ENTRYPOINT ["/entrypoint.sh"]
|
|
|