Andrew0Hill / NURS6293_environment

Docker-based environment to provide desktop interface and database access for NURS 6293.
0 stars 0 forks source link

BIRT: Cannot load PG drivers #4

Closed mgkahn closed 2 months ago

mgkahn commented 2 months ago

Probably my lack of understanding how to install these. They need to be included in image. The "OK" button never becomes active to select.


image
Andrew0Hill commented 2 months ago

Seems like that previous comment is from a bot or something...

I can definitely fix this one, DBeaver will automatically download Postgres drivers from Maven, so we just need to point BIRT to those drivers.

I don't know if there is a way to configure that through CLI (so I'm not sure if we can do it in the Dockerfile) but I can configure manually and then commit the container to a new image.

mgkahn commented 2 months ago

@Andrew0Hill I've done the same cheap trick -- load it into a container and then save the container as an image. It breaks auto-builds so it is less desirable. But it is a cheap shortcut.......

Andrew0Hill commented 2 months ago

Dockerfile copies Postgres driver into image, so BIRT can see it.