19 lines
328 B
Ruby
19 lines
328 B
Ruby
require "mrsk/commands/base"
|
|
|
|
class Mrsk::Commands::Builder::Base < Mrsk::Commands::Base
|
|
delegate :argumentize, to: Mrsk::Configuration
|
|
|
|
def pull
|
|
docker :pull, config.absolute_image
|
|
end
|
|
|
|
def build_args
|
|
argumentize "--build-args", args
|
|
end
|
|
|
|
private
|
|
def args
|
|
config.builder["args"] || {}
|
|
end
|
|
end
|