'Build the Spinnaker packages as container images.'

def build_container_images(self):

    subsystems = [comp for comp in SUBSYSTEM_LIST if (comp != 'spinnaker')]
    subsystems.append('spinnaker-monitoring')
    if self.__options.container_builder:
        weighted_processes = (self.__options.cpu_ratio * multiprocessing.cpu_count())
        pool = multiprocessing.pool.ThreadPool(processes=int(max(1, weighted_processes)))
        pool.map(self.__do_container_build, subsystems)
    self.__check_build_failures(subsystems)
