Class: Kamal::Commands::Builder::Pack

Inherits:
Base show all
Defined in:
lib/kamal/commands/builder/pack.rb

Constant Summary

Constants inherited from Base

Base::ENDPOINT_DOCKER_HOST_INSPECT

Constants inherited from Kamal::Commands::Base

Kamal::Commands::Base::DOCKER_HEALTH_STATUS_FORMAT

Instance Attribute Summary

Attributes inherited from Kamal::Commands::Base

#config

Instance Method Summary collapse

Methods inherited from Base

#build_context, #build_options, #clean, #first_mirror, #pull, #validate_image

Methods inherited from Kamal::Commands::Base

#container_id_for, #ensure_docker_installed, #initialize, #make_directory, #make_directory_for, #remove_directory, #remove_file, #run_over_ssh

Constructor Details

This class inherits a constructor from Kamal::Commands::Base

Instance Method Details

#infoObject Also known as: inspect_builder



10
11
12
# File 'lib/kamal/commands/builder/pack.rb', line 10

def info
  pack :builder, :inspect, pack_builder
end

#push(export_action = "registry") ⇒ Object



2
3
4
5
6
# File 'lib/kamal/commands/builder/pack.rb', line 2

def push(export_action = "registry")
  combine \
    build,
    export(export_action)
end

#removeObject



8
# File 'lib/kamal/commands/builder/pack.rb', line 8

def remove;end