Class: Dapp::Build::Stage::DockerInstructions
- Defined in:
- lib/dapp/build/stage/docker_instructions.rb
Overview
DockerInstructions
Instance Attribute Summary
Attributes inherited from Base
#application, #next_stage, #prev_stage
Instance Method Summary collapse
- #dependencies ⇒ Object
- #image ⇒ Object
-
#initialize(application) ⇒ DockerInstructions
constructor
A new instance of DockerInstructions.
Methods inherited from Base
#build!, #dependencies_empty?, #empty?, #save_in_cache!, #signature
Methods included from Mod::Logging
#ignore_log_commands?, #image_info, #log_build, #log_image_commands, #log_image_info, #should_be_introspected?, #should_be_not_detailed?, #should_be_not_present?, #should_be_skipped?, #size_difference?
Methods included from Helper::Trivia
class_to_lowercase, #class_to_lowercase, #delete_file, #kwargs
Methods included from Helper::Sha256
#hashsum, #paths_content_hashsum, #sha256
Constructor Details
#initialize(application) ⇒ DockerInstructions
Returns a new instance of DockerInstructions.
6 7 8 9 |
# File 'lib/dapp/build/stage/docker_instructions.rb', line 6 def initialize(application) @prev_stage = Source5.new(application, self) @application = application end |
Instance Method Details
#dependencies ⇒ Object
11 12 13 |
# File 'lib/dapp/build/stage/docker_instructions.rb', line 11 def dependencies [] end |
#image ⇒ Object
15 16 17 18 19 20 21 |
# File 'lib/dapp/build/stage/docker_instructions.rb', line 15 def image super do |image| .each do |k, v| image.public_send("add_change_#{k}", v) end end end |