Skip to content

Commit f9c0ce0

Browse files
committed
fix Dockerfile
1 parent b120a9b commit f9c0ce0

File tree

1 file changed

+10
-7
lines changed

1 file changed

+10
-7
lines changed

Dockerfile

Lines changed: 10 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,27 +1,30 @@
11
ARG PG_MAJOR=17
2-
FROM postgis/postgis:$PG_MAJOR-3.4
2+
FROM postgis/postgis:$PG_MAJOR-3.5
33
ARG PG_MAJOR
44

55
LABEL org.opencontainers.image.title="postgis-vector" \
66
org.opencontainers.image.description="postgresql+postgis container with pgvector added" \
77
org.opencontainers.image.vendor="@gvkhna" \
88
org.opencontainers.image.authors="Payload <[email protected]>" \
9-
org.opencontainers.image.version="17-3.4" \
9+
org.opencontainers.image.version="17-3.5" \
1010
org.opencontainers.image.licenses="MIT" \
1111
org.opencontainers.image.url="https://github.com/payloadcms/postgis-vector" \
1212
org.opencontainers.image.source="https://github.com/payloadcms/postgis-vector"
1313

1414
RUN apt-get update \
1515
&& apt-mark hold locales \
16-
&& apt-get install -qq -y --no-install-recommends \
16+
&& apt-get install -qq -y --no-install-recommends \
1717
build-essential \
18+
clang-13 \
19+
llvm-13 \
20+
llvm-13-dev \
1821
pgxnclient \
1922
postgresql-server-dev-$PG_MAJOR \
2023
&& pgxn install 'vector=0.8.0' \
21-
&& apt-get remove -y build-essential postgresql-server-dev-$PG_MAJOR \
22-
&& apt-get autoremove -y \
24+
&& apt-get remove -y build-essential clang-13 llvm-13 llvm-13-dev postgresql-server-dev-$PG_MAJOR \
25+
&& apt-get autoremove -y \
2326
&& apt-get clean \
2427
&& apt-mark unhold locales \
25-
&& rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*
28+
&& rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*
2629

27-
COPY ./initdb-extensions.sh /docker-entrypoint-initdb.d/20_extensions.sh
30+
COPY ./initdb-extensions.sh /docker-entrypoint-initdb.d/20_extensions.sh

0 commit comments

Comments
 (0)