Class: Hanamismith::Builders::Docker::File

Inherits:
Rubysmith::Builders::Abstract
  • Object
show all
Defined in:
lib/hanamismith/builders/docker/file.rb

Overview

Builds Dockerfile configuration.

Instance Method Summary collapse

Instance Method Details

#callObject



12
13
14
15
16
17
# File 'lib/hanamismith/builders/docker/file.rb', line 12

def call
  return false unless settings.build_docker

  builder.call(settings.with(template_path: "%project_name%/Dockerfile.erb")).render
  true
end