Class: Bricky::Bricks::Dotenv
- Inherits:
-
Base
- Object
- Base
- Bricky::Bricks::Dotenv
show all
- Defined in:
- lib/bricky/bricks/dotenv.rb
Instance Attribute Summary
Attributes inherited from Base
#config
Instance Method Summary
collapse
Methods inherited from Base
#bootstrap, #initialize
Instance Method Details
#arguments ⇒ Object
8
9
10
|
# File 'lib/bricky/bricks/dotenv.rb', line 8
def arguments
["-v #{bricks_path}/dotenv:/bricks/dotenv"]
end
|
#entrypoint ⇒ Object
4
5
6
|
# File 'lib/bricky/bricks/dotenv.rb', line 4
def entrypoint
"/bricks/dotenv/builder"
end
|
#environments ⇒ Object
12
13
14
|
# File 'lib/bricky/bricks/dotenv.rb', line 12
def environments
["-e BRICKS_DOTENV_SOURCE_FILES='#{config.fetch('source', []).join(',')}'"]
end
|