Class: Mrsk::Commands::Builder::Base
Instance Attribute Summary
#config
Instance Method Summary
collapse
#container_id_for, #initialize, #run_over_ssh
Instance Method Details
#build_context ⇒ Object
17
18
19
|
# File 'lib/mrsk/commands/builder/base.rb', line 17
def build_context
context
end
|
#build_options ⇒ Object
13
14
15
|
# File 'lib/mrsk/commands/builder/base.rb', line 13
def build_options
[ *build_tags, *build_labels, *build_args, *build_secrets, *build_dockerfile ]
end
|
#clean ⇒ Object
4
5
6
|
# File 'lib/mrsk/commands/builder/base.rb', line 4
def clean
docker :image, :rm, "--force", config.absolute_image
end
|
#pull ⇒ Object
8
9
10
11
|
# File 'lib/mrsk/commands/builder/base.rb', line 8
def pull
docker :pull, config.absolute_image
docker :pull, config.latest_image
end
|