11ARG PG_MAJOR=17
2- FROM postgis/postgis:$PG_MAJOR-3.4
2+ FROM postgis/postgis:$PG_MAJOR-3.5
33ARG PG_MAJOR
44
55LABEL 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
1414RUN 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