Sha256: 28bb5fcbd7887ffce1cb54aa7c3d89abb24f58282874590fc97778d2b68d5d23
Contents?: true
Size: 758 Bytes
Versions: 3
Compression:
Stored size: 758 Bytes
Contents
class KuberKit::ImageCompiler::Compiler include KuberKit::Import[ "image_compiler.image_build_dir_creator", "image_compiler.image_builder", "core.context_helper_factory", "core.image_store" ] Contract KuberKit::Shell::AbstractShell, Symbol, String => Any def compile(shell, image_name, builds_dir) image = image_store.get_image(image_name) image_build_dir = File.join(builds_dir, image.name.to_s) context_helper = context_helper_factory.build_image_context(shell) 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
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
kuber_kit-0.1.5 | lib/kuber_kit/image_compiler/compiler.rb |
kuber_kit-0.1.4 | lib/kuber_kit/image_compiler/compiler.rb |
kuber_kit-0.1.3 | lib/kuber_kit/image_compiler/compiler.rb |