diff --git a/images/manageiq-base/Dockerfile b/images/manageiq-base/Dockerfile index 99ee3ee2f..ac0919e93 100644 --- a/images/manageiq-base/Dockerfile +++ b/images/manageiq-base/Dockerfile @@ -33,7 +33,7 @@ RUN chmod -R g+w /etc/pki/ca-trust && \ # Install dumb-init to be used as the entrypoint RUN ARCH=$(uname -m) && \ - curl -L -o /usr/bin/dumb-init https://github.com/Yelp/dumb-init/releases/download/v1.2.5/dumb-init_1.2.5_${ARCH} && \ + curl -L -o /usr/bin/dumb-init $(curl -s https://api.github.com/repos/Yelp/dumb-init/releases/latest | grep "browser_download_url.*_${ARCH}" | grep -o 'https://[^"]*') && \ chmod +x /usr/bin/dumb-init COPY container-assets/prepare_local_yum_repo.sh /usr/local/bin