diff --git a/infra/build/postgres/Dockerfile b/infra/build/postgres/Dockerfile index e574f2d5fb..3b4470c896 100644 --- a/infra/build/postgres/Dockerfile +++ b/infra/build/postgres/Dockerfile @@ -28,6 +28,8 @@ RUN apt update && apt install -y curl # Install precompiled pg_graphql extensions RUN curl -L "https://github.com/supabase/pg_graphql/releases/download/v${PG_GRAPHQL_VERSION}/pg_graphql-v${PG_GRAPHQL_VERSION}-pg${PG_MAIN_VERSION}-${TARGETARCH}-linux-gnu.deb" -o pg_graphql.deb RUN dpkg --install pg_graphql.deb +RUN cp /usr/share/postgresql/15/extension/pg_graphql* /opt/bitnami/postgresql/share/extension/ +RUN cp /usr/lib/postgresql/15/lib/pg_graphql* /opt/bitnami/postgresql/lib/ COPY ./infra/build/postgres/init.sql /docker-entrypoint-initdb.d/