Module: Dapp::Dimg::Dapp::Command::Run

Included in:
Dapp
Defined in:
lib/dapp/dimg/dapp/command/run.rb

Instance Method Summary collapse

Instance Method Details

#run(stage_name, docker_options, command) ⇒ Object



6
7
8
9
10
# File 'lib/dapp/dimg/dapp/command/run.rb', line 6

def run(stage_name, docker_options, command)
  one_dimg!
  dimg(config: build_configs.first, should_be_built: stage_name.nil?, ignore_signature_auto_calculation: true)
    .run_stage(stage_name, docker_options, command)
end