I suppose if you want to be able to copy the rules directly without having to install as an RPM, the
I suppose if you want to be able to copy the rules directly without having to install as an RPM, then we could make further changes:
RUN mkdir /tmp/ublue-os/udev-rules
RUN rpm2cpio /tmp/ublue-os/rpmbuild/RPMS/noarch/ublue-os-udev-rules-*.noarch.rpm | cpio -idmv --directory /tmp/ublue-os/udev-rules
FROM scratch
COPY --from=builder /tmp/ublue-os/udev-rules/* /
COPY --from=builder /tmp/ublue-os/rpmbuild/RPMS/noarch/ublue-os-udev-rules-*.noarch.rpm /ublue-os-udev-rules.noarch.rpm--from /ublue-os-udev-rules right?COPY --from=ghcr.io/ublue-os/udev-rules /ublue-os-udev-rules/* /etc/udev/rules.d/ublue-os-udev-rules/usr/lib/udev/rules.d/*rpm -ivh -like powersCOPY COPY --from=ghcr.io/ublue-os/udev-rules /ublue-os-udev-rules.noarch.rpm /ublue-os-udev-rules.noarch.rpm
RUN rpm-ostree install /ublue-os-udev-rules.noarch.rpm && ostree container commit && rm -rf /ublue-os-udev-rules.noarch.rpm--from /ublue-os-udev-rulesCOPY --from=ghcr.io/ublue-os/udev-rules /ublue-os-udev-rules/* /etc/udev/rules.d/ublue-os-udev-rules/usr/lib/udev/rules.d/*rpm -ivhFROM registry.fedoraproject.org/fedora:latest
COPY --from=udev-rules:latest /ublue-os-udev-rules /