class Deck::Container::From
Public Instance Methods
build_command(deps)
click to toggle source
# File lib/deck/container/from.rb, line 16 def build_command(deps) repository = attributes[:repository] repository = deps[:repository].get if repository.nil? "FROM #{repository}/#{export}" end
define(name, of: nil)
click to toggle source
# File lib/deck/container/from.rb, line 7 def define(name, of: nil) attributes[:name] = name attributes[:repository] = of end
export()
click to toggle source
# File lib/deck/container/from.rb, line 12 def export attributes[:name] end