FROM registry.access.redhat.com/ubi9/ubi:9.4 AS builder RUN dnf install \ --installroot /mnt \ --releasever 9 \ --setopt install_weak_deps=false \ --nodocs -y \ httpd RUN dnf clean all \ --installroot /mnt FROM registry.access.redhat.com/ubi9/ubi-micro:9.4 COPY --from=builder /mnt / ENTRYPOINT ["httpd"] CMD ["-X"]