Skip to content

Commit

Permalink
Fix postgres docker build fail (#1228)
Browse files Browse the repository at this point in the history
Co-authored-by: khanhtranduy <130121475+khanhtranduy@users.noreply.github.com>
  • Loading branch information
khanhtrand and khanhtranduy authored Oct 24, 2024
1 parent 12ccc8f commit b71e60a
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions docker/postgres/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
FROM debezium/postgres:15-alpine
ENV WAL2JSON_TAG=wal2json_2_5
ENV PGVECTOR_TAG=v0.7.4
RUN apk add --no-cache --virtual .debezium-build-deps gcc clang15 llvm15 git make musl-dev pkgconf \
&& git clone https://github.com/eulerto/wal2json -b master --single-branch \
&& (cd /wal2json && git checkout tags/$WAL2JSON_TAG -b $WAL2JSON_TAG && make && make install) \
&& rm -rf wal2json \
&& git clone https://github.com/pgvector/pgvector.git \
&& cd pgvector \
&& make && make install \
&& rm -rf pgvector \
&& (rm -rf wal2json && [ ! -d "wal2json" ] && echo "wal2json removed successfully") \
&& git clone https://github.com/pgvector/pgvector.git -b master --single-branch \
&& (cd /pgvector && git checkout tags/$PGVECTOR_TAG -b $PGVECTOR_TAG && make && make install) \
&& (rm -rf pgvector && [ ! -d "pgvector" ] && echo "pgvector removed successfully") \
&& apk del .debezium-build-deps

0 comments on commit b71e60a

Please sign in to comment.