Skip to content

Commit d946554

Browse files
committed
chore: clone to subdirectory
1 parent c47ed8a commit d946554

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

Dockerfile

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -9,13 +9,13 @@ RUN apk add --no-cache \
99
postgresql-dev
1010

1111
# Clone the wal2json repository
12-
RUN git clone https://github.com/eulerto/wal2json.git /usr/src/wal2json
12+
RUN git clone https://github.com/eulerto/wal2json.git ./wal2json
1313

1414
# Build and install wal2json
15-
RUN cd /usr/src/wal2json && \
16-
make && \
17-
make install
15+
RUN cd /wal2json && \
16+
USE_PGXS=1 make && \
17+
USE_PGXS=1 make install
1818

1919
# Clean up build dependencies
2020
RUN apk del build-base git postgresql-dev && \
21-
rm -rf /usr/src/wal2json
21+
rm -rf ./wal2json

0 commit comments

Comments
 (0)