Samagra-Development / WarpSQL

WarpSQL
https://samagra-development.github.io/WarpSQL/
Apache License 2.0
16 stars 28 forks source link

Update Makefile #1

Closed singhalkarun closed 1 year ago

singhalkarun commented 1 year ago

Dockerfile for the project contains below lines:

COPY --from=oldversions /usr/local/lib/postgresql/timescaledb-.so /usr/local/lib/postgresql/ COPY --from=oldversions /usr/local/share/postgresql/extension/timescaledb--.sql /usr/local/share/postgresql/extension/

The above lines expects the specified files required to be copied to exist. But the base postgres image don't have any such files due to which it fails.

So, in case we don't have the image at samagragovernance, we should use timescale's image as the base image instead of using postgres image as the base image.