diff --git a/Containerfile b/Containerfile index 00234ef..b2e6cd4 100644 --- a/Containerfile +++ b/Containerfile @@ -21,7 +21,7 @@ VOLUME /build-container-installer/build VOLUME /build-container-installer/repos VOLUME /cache -RUN dnf install -y make && make install-deps +RUN if [[ "$(grep '^ID=' /etc/os-release)" == 'ID="rhel"' ]]; then dnf install -y coreutils --allowerasing; fi; dnf install -y make && make install-deps RUN ln -s /run/secrets/etc-pki-entitlement /etc/pki/entitlement-host && ln -s /run/secrets/rhsm /etc/rhsm-host ENTRYPOINT ["/bin/bash", "/build-container-installer/entrypoint.sh"]