Class: Bricky::Bricks::Helper
Direct Known Subclasses
Instance Attribute Summary
Attributes inherited from Base
Instance Method Summary collapse
Methods inherited from Base
#bootstrap, #entrypoint, #initialize
Constructor Details
This class inherits a constructor from Bricky::Bricks::Base
Instance Method Details
#arguments ⇒ Object
4 5 6 7 8 |
# File 'lib/bricky/bricks/helper.rb', line 4 def arguments ["-v #{bricks_path}/helper:/bricks/helper"].tap do |args| args.push("-v #{ssh_auth_socket}:/tmp/ssh-auth.socket") unless ssh_auth_socket.nil? end end |
#environments ⇒ Object
10 11 12 13 14 |
# File 'lib/bricky/bricks/helper.rb', line 10 def environments ["-e BRICKS_LINUX=#{linux}", '-e BRICKS_HOME=/bricks/helper'].tap do |envs| envs.push('-e SSH_AUTH_SOCK=/tmp/ssh-auth.socket') unless ssh_auth_socket.nil? end end |