Sha256: 8ac4db83c823f88590fed08652f31db45c2d7388c2cee263b888bf93ae2ece35
Contents?: true
Size: 631 Bytes
Versions: 53
Compression:
Stored size: 631 Bytes
Contents
module Kubes::Docker::Strategy::Build class Base extend Memoist include Kubes::Docker::Strategy::Utils def initialize(options, name) @options, @name = options, name end def run reserve_image_name check_dockerfile! perform store_image_name end def check_dockerfile! # Dockerfile is also used in args/default.rb, will have to combine if Dockerfile is made configurable return if File.exist?("Dockerfile") logger.error "ERROR: The Dockerfile does not exist. Cannot build the docker image without a Dockerfile".color(:red) exit 1 end end end
Version data entries
53 entries across 53 versions & 1 rubygems