Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added PG 17 docker file with an updated wal2json version #66

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
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