Avoid generating intermediate images during build