rails / devcontainer

MIT License
63 stars 19 forks source link

Create a feature for installing postgres client dependencies #18

Closed andrewn617 closed 7 months ago

andrewn617 commented 7 months ago

This feature installs the client-side dependencies needed for a Rails app running postgres.

In the rails app defualt devcontainer, postgres will be running in its own service (using the official postgres docker image). The rails app container will need these libraries installed to connect to the server (via the pg gem).

Packaging this as a feature makes it easy to compose the appropriate libraries needed when generating / configuring a rails app - instead of modifying app's dockerfile.