age icon indicating copy to clipboard operation
age copied to clipboard

Dockerfile as a development environment

Open panosfol opened this issue 1 year ago • 1 comments

Is your feature request related to a problem? Please describe.

Contributors should also have an option to develop using docker containers. As of today, this is partially possible, except in some cases.

Using docker containers as my development environment, solves two problems for me:

  • Having different Postgres & Age(e.g. PG11 & PG12) tags
  • Leave host Postgres installation intact, such that it won't disturb other databases running, which may or may not be irrelevant to AGE

The current Dockerfile instructions cannot do that. I have locally developed an additional Dockerfile that I'm using as a developer.

Describe the solution you'd like

An additional Dockerfile called Dockerfile.dev that also provide the necessary infrastructure, such that regression tests can run during the building phase of the container, allowing us to catch regression failed tests early.

Describe alternatives you've considered

Manually attaching to the container and do what's necessary for tests to run. This is a very time consuming alternative.

panosfol avatar May 19 '23 20:05 panosfol

Hey I made a pr #422 for adding the instruction. It took me lots of time to manually find how to go through docker cli as there is username and password dependency to access it

Munmud avatar May 26 '23 05:05 Munmud