Comment 3 for bug 1912682

Revision history for this message
Davlet Panech (dpanech) wrote :

This sometimes causes build errors that are difficult to fix. Retrying the build doesn't help, because the failed "yum install" gets cached by docker.

The real workaround is to re-run "docker build" with "--no-cache" option, but tb.sh doesn't support this.

Other caveats: this command:

   yum install ... http://host/path/to/file.rpm ...

Fails if /etc/yum.conf has "skip_missing_names_on_install=0" --AND-- the reason for the error is HTTP 404. But "host" doesn't respond at all, it's not considered an error.

So a RUN step from dockerfile may get cached and subsequent build attempts will keep failing.

Suggest to increase Importance of this bug.