class RubyYacht::Runner::Build

This class provides a command for building the system.

It will build the images, run the containers, and update the hosts file.

Public Class Methods

command() click to toggle source

The identifier for the command.

# File lib/ruby_yacht/runner/build.rb, line 7
def self.command; 'build'; end
description() click to toggle source

The description for the command.

# File lib/ruby_yacht/runner/build.rb, line 10
def self.description
  "Build images and run containers"
end

Public Instance Methods

run() click to toggle source

This method runs the logic for this command.

# File lib/ruby_yacht/runner/build.rb, line 15
def run
  return BuildImages.new.run &&
  RunContainers.new.run &&
  UpdateHosts.new.run
end