Skip to content

Commit 132004c

Browse files
imordarora
authored andcommitted
fix: adjust pg_jsonschema.deb paths so that the extension loads
1 parent 1f3756d commit 132004c

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

docker/orioledb/Dockerfile

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -667,13 +667,13 @@ RUN cp archive/*.control ${package_dir}/var/lib/postgresql/extension
667667
RUN cp archive/*.sql ${package_dir}/var/lib/postgresql/extension
668668

669669
# symlinks to Copy files into directory structure
670-
RUN mkdir -p ${package_dir}/usr/lib/postgresql/${postgresql_major}/lib
671-
WORKDIR ${package_dir}/usr/lib/postgresql/${postgresql_major}/lib
672-
RUN cp -s ../../lib/*.so .
673-
WORKDIR ../../../../../..
670+
RUN mkdir -p ${package_dir}/usr/local/lib/postgresql
671+
WORKDIR ${package_dir}/usr/local/lib/postgresql
672+
RUN cp -s ../../../lib/postgresql/lib/*.so .
673+
WORKDIR ../../../../..
674674

675-
RUN mkdir -p ${package_dir}/usr/share/postgresql/${postgresql_major}/extension
676-
WORKDIR ${package_dir}/usr/share/postgresql/${postgresql_major}/extension
675+
RUN mkdir -p ${package_dir}/usr/local/share/postgresql/extension
676+
WORKDIR ${package_dir}/usr/local/share/postgresql/extension
677677

678678
RUN cp -s ../../../../../var/lib/postgresql/extension/pg_jsonschema.control .
679679
RUN cp -s ../../../../../var/lib/postgresql/extension/pg_jsonschema*.sql .

0 commit comments

Comments
 (0)