validate that a build configures a container image

[#72316220]