Build and clean images