Class: Bauble::Resources::PostgresLayer
- Defined in:
- lib/bauble/resources/postgres_layer.rb
Overview
Postgres layer
Instance Attribute Summary
Attributes inherited from Resource
Instance Method Summary collapse
Methods inherited from Resource
Constructor Details
This class inherits a constructor from Bauble::Resources::Resource
Instance Method Details
#bundle ⇒ Object
11 12 13 14 15 16 17 18 19 20 21 22 23 |
# File 'lib/bauble/resources/postgres_layer.rb', line 11 def bundle IO.popen("docker build -t bauble_postgres_layer #{__dir__}/../cli/Dockerfile.postgres } 2>&1") do |io| io.each do |line| Bauble::Cli::Logger.docker(line) end end IO.popen("#{docker_command} 2>&1") do |io| io.each do |line| Bauble::Cli::Logger.docker(line) end end end |
#synthesize ⇒ Object
25 26 27 |
# File 'lib/bauble/resources/postgres_layer.rb', line 25 def synthesize {} end |