| 123456789101112131415161718192021222324252627282930 | FROM registry.redhat.io/ubi9/ubi-minimal:latestUSER 0COPY entrypoint-psacct.sh /usr/local/bin/entrypoint.sh# This still applies: delete host RHSM data in OpenShift# Twist: if there is no host entitlement, remove host RHSM data.RUN [ -d /etc/pki/entitlement-host ] || rm -f /etc/rhsm-host ; \    microdnf -y install psacct && \    rm -rf /var/lib/dnf /var/cache/dnf /var/cache/yum /var/cache/cups /var/cache/PackageKit && \    chmod 755 /usr/local/bin/entrypoint.shVOLUME /var/accountARG STARTUP_SCRATCHARG CUMULATIVELABEL description="Minimal psacct collector sidecar image" \	io.k8s.description="Minimal psacct collector sidecar image" \	io.k8s.display-name="psacct collector" \	io.openshift.expose-services="" \	maintainer="Grega Bremec <gregab@p0f.net>" \	vendor="P0F" \	version="v1.0" \	release="1.0" \	License=BSDENTRYPOINT [ "/usr/local/bin/entrypoint.sh" ]
 |