-
Notifications
You must be signed in to change notification settings - Fork 32
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #54 from replicase/feat/support-pg15-and-pg16
feat: support pg15 and pg16
- Loading branch information
Showing
11 changed files
with
4,254 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
FROM postgres:15-alpine | ||
|
||
RUN wget https://github.com/2ndQuadrant/pglogical/archive/REL2_4_2.tar.gz && \ | ||
tar -zxvf REL2_4_2.tar.gz && \ | ||
apk -U add --no-cache build-base libxslt-dev libxml2-dev openssl-dev libedit-dev zlib-dev lz4-dev patch $DOCKER_PG_LLVM_DEPS krb5-pkinit krb5-dev krb5 | ||
|
||
COPY 15/pglogical/pglogical.patch ./pglogical-REL2_4_2 | ||
|
||
RUN cd pglogical-REL2_4_2 && \ | ||
patch -p1 < pglogical.patch && \ | ||
make USE_PGXS=1 CPPFLAGS="-DPGL_NO_STDIN_ASSIGN" clean all && \ | ||
make install && \ | ||
cd / && \ | ||
rm -rf /REL2_4_2.tar.gz.tar.gz /pglogical-REL2_4_2.tar.gz | ||
|
||
RUN chown -R postgres:postgres /usr/local/share/postgresql/extension | ||
RUN chown -R postgres:postgres /usr/local/lib/postgresql | ||
|
||
COPY ./extension /extension | ||
RUN cd /extension && ./make.sh |
Oops, something went wrong.