Class: Mrsk::Commands::Builder::Base
- Inherits:
-
Mrsk::Commands::Base
- Object
- Mrsk::Commands::Base
- Mrsk::Commands::Builder::Base
- Defined in:
- lib/mrsk/commands/builder/base.rb
Defined Under Namespace
Classes: BuilderError
Constant Summary
Constants inherited from Mrsk::Commands::Base
Mrsk::Commands::Base::DOCKER_HEALTH_LOG_FORMAT, Mrsk::Commands::Base::DOCKER_HEALTH_STATUS_FORMAT
Instance Attribute Summary
Attributes inherited from Mrsk::Commands::Base
Instance Method Summary collapse
Methods inherited from Mrsk::Commands::Base
#container_id_for, #initialize, #run_over_ssh
Constructor Details
This class inherits a constructor from Mrsk::Commands::Base
Instance Method Details
#build_context ⇒ Object
20 21 22 |
# File 'lib/mrsk/commands/builder/base.rb', line 20 def build_context config.builder.context end |
#build_options ⇒ Object
16 17 18 |
# File 'lib/mrsk/commands/builder/base.rb', line 16 def [ *, *build_cache, *build_labels, *build_args, *build_secrets, *build_dockerfile ] end |
#clean ⇒ Object
8 9 10 |
# File 'lib/mrsk/commands/builder/base.rb', line 8 def clean docker :image, :rm, "--force", config.absolute_image end |
#pull ⇒ Object
12 13 14 |
# File 'lib/mrsk/commands/builder/base.rb', line 12 def pull docker :pull, config.absolute_image end |