Skip to content

Commit a032c62

Browse files
Anmol1696Copilot
andauthored
Update docker/pgvector/Dockerfile
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
1 parent 89aa230 commit a032c62

1 file changed

Lines changed: 4 additions & 6 deletions

File tree

docker/pgvector/Dockerfile

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,7 @@ RUN apk add --no-cache --virtual .build-deps \
1010
build-base \
1111
postgresql-dev \
1212
bash \
13-
make
14-
15-
RUN git clone --branch v0.5.1 https://github.com/pgvector/pgvector.git
16-
RUN cd pgvector && make && make install && cd .. && rm -rf pgvector
17-
18-
RUN apk del .build-deps
13+
make && \
14+
git clone --branch v0.5.1 https://github.com/pgvector/pgvector.git && \
15+
cd pgvector && make && make install && cd .. && rm -rf pgvector && \
16+
apk del .build-deps

0 commit comments

Comments
 (0)