Class: Kubes::Docker::Strategy::Build::Docker
- Defined in:
- lib/kubes/docker/strategy/build/docker.rb
Instance Method Summary collapse
Methods inherited from Base
#check_dockerfile!, #initialize, #run
Methods included from Hooks::Concern
Methods included from ImageName
#args, #custom, #default, #generate_name, #git_sha, #image_name, #image_state_path, #repo, #reserve_image_name, #store_image_name
Methods included from Util::Time
Methods included from Util::Sh
Methods included from Logging
Constructor Details
This class inherits a constructor from Kubes::Docker::Strategy::Build::Base
Instance Method Details
#perform ⇒ Object
3 4 5 6 7 8 9 |
# File 'lib/kubes/docker/strategy/build/docker.rb', line 3 def perform params = args.flatten.join(' ') command = "docker build #{params}" run_hooks("docker.rb", name: "build") do sh(command) end end |