Class: DockerRailsProxy::Build
- Defined in:
- lib/docker_rails_proxy/commands/build.rb
Constant Summary
Constants included from Callbacks
Callbacks::INHERITABLE_CALLBACKS, Callbacks::UNINHERITABLE_CALLBACKS
Instance Attribute Summary collapse
-
#options ⇒ Object
Returns the value of attribute options.
Attributes inherited from Docker
#app_container_id, #docker_options
Attributes inherited from Base
#additional_arguments, #additional_arguments_options, #arguments
Instance Method Summary collapse
Methods inherited from Base
build_path, call, command, execute, #initialize
Methods included from Logger
Methods included from Rsync
Methods included from Callbacks
Methods included from InheritableAttributes
Constructor Details
This class inherits a constructor from DockerRailsProxy::Base
Instance Attribute Details
#options ⇒ Object
Returns the value of attribute options.
3 4 5 |
# File 'lib/docker_rails_proxy/commands/build.rb', line 3 def @options end |
Instance Method Details
#process ⇒ Object
38 39 40 41 42 43 44 45 46 |
# File 'lib/docker_rails_proxy/commands/build.rb', line 38 def process system <<-EOS docker build \ -f '#{[:dockerfile]}' \ -t '#{[:tag]}' \ #{build_args} \ '#{[:context]}' EOS end |