Class: Rubysmith::Builders::Docker::File
- Defined in:
- lib/rubysmith/builders/docker/file.rb
Overview
Builds Dockerfile configuration.
Instance Method Summary collapse
Methods inherited from Abstract
Constructor Details
This class inherits a constructor from Rubysmith::Builders::Abstract
Instance Method Details
#call ⇒ Object
12 13 14 15 16 17 |
# File 'lib/rubysmith/builders/docker/file.rb', line 12 def call return false unless settings.build_docker builder.call(settings.merge(template_path: "%project_name%/Dockerfile.erb")).render true end |