Sha256: dd07b58b81d52061af59fe4e2edcd2e1a30ab819e69058bf35eb2ea6782d315a
Contents?: true
Size: 705 Bytes
Versions: 13
Compression:
Stored size: 705 Bytes
Contents
class KuberKit::ImageCompiler::Compiler include KuberKit::Import[ "image_compiler.image_build_dir_creator", "image_compiler.image_builder", "core.context_helper_factory", ] Contract KuberKit::Shell::AbstractShell, KuberKit::Core::Image, String => Any def compile(shell, image, builds_dir) image_build_dir = File.join(builds_dir, image.name.to_s) context_helper = context_helper_factory.build_image_context(shell, image) image_build_dir_creator.create(shell, image, image_build_dir, context_helper: context_helper) image_builder.build(shell, image, image_build_dir, context_helper: context_helper) image_build_dir_creator.cleanup(shell, image_build_dir) end end
Version data entries
13 entries across 13 versions & 1 rubygems