Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ services:
database:
build:
context: postgres-cdc/src/test/resources/postgres
dockerfile: Dockerfile-16.0
dockerfile: Dockerfile-17.0
environment:
POSTGRES_USER: test
POSTGRES_PASSWORD: test
Expand Down
12 changes: 12 additions & 0 deletions postgres-cdc/src/test/resources/postgres/Dockerfile-17.0
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
FROM postgres:17-alpine

ENV WAL2JSON_TAG=wal2json_2_6

# Compile and install the wal2json plugin
RUN apk add --no-cache --virtual .build-deps clang15 llvm15 git make musl-dev \
&& git clone --depth 1 --branch $WAL2JSON_TAG https://github.com/eulerto/wal2json \
&& (cd /wal2json && make && make install) \
&& rm -rf wal2json \
&& apk del .build-deps

COPY postgresql.conf.sample /usr/local/share/postgresql/postgresql.conf.sample