Class: Mrsk::Commands::Builder::Native
- Inherits:
-
Base
- Object
- Mrsk::Commands::Base
- Base
- Mrsk::Commands::Builder::Native
- Defined in:
- lib/mrsk/commands/builder/native.rb
Defined Under Namespace
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 Base
#build_context, #build_options, #clean, #pull
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
#create ⇒ Object
2 3 4 |
# File 'lib/mrsk/commands/builder/native.rb', line 2 def create # No-op on native without cache end |
#info ⇒ Object
17 18 19 |
# File 'lib/mrsk/commands/builder/native.rb', line 17 def info # No-op on native end |
#push ⇒ Object
10 11 12 13 14 15 |
# File 'lib/mrsk/commands/builder/native.rb', line 10 def push combine \ docker(:build, *, build_context), docker(:push, config.absolute_image), docker(:push, config.latest_image) end |
#remove ⇒ Object
6 7 8 |
# File 'lib/mrsk/commands/builder/native.rb', line 6 def remove # No-op on native without cache end |