class Dapp::Dimg::Build::Stage::DockerInstructions
Public Class Methods
new(dimg)
click to toggle source
# File lib/dapp/dimg/build/stage/docker_instructions.rb, line 6 def initialize(dimg) @prev_stage = GALatestPatch.new(dimg, self) @dimg = dimg end
Public Instance Methods
dependencies()
click to toggle source
# File lib/dapp/dimg/build/stage/docker_instructions.rb, line 11 def dependencies @dependencies ||= [change_options] end
prepare_image()
click to toggle source
Calls superclass method
Dapp::Dimg::Build::Stage::Base#prepare_image
# File lib/dapp/dimg/build/stage/docker_instructions.rb, line 15 def prepare_image super do change_options.each do |k, v| image.public_send("add_change_#{k}", v) end end end