Backport of #48849. Update `.editorconfig` to make the Java settings the default for all files, and then apply a 2-space indent to all `*.gradle` files. Then reformat all the files.
This commit adds Docker images based on the UBI base image.
This commit adds some tasks to generate dedicated Docker build context artifacts.