FROM registry.fedoraproject.org/fedora-minimal:39
RUN --mount=type=cache,target=/var/cache \
microdnf install -y \
--setopt install_weak_deps=0 \
nut \
&& :
COPY start.sh /
COPY nut-notify.sh /usr/local/libexec/nut-notify
CMD ["/start.sh"]