@@ -261,7 +261,7 @@ RUN ./configure --with-sfcgal
261
261
RUN --mount=type=cache,target=/ccache,from=public.ecr.aws/supabase/postgres:ccache \
262
262
make -j$(nproc)
263
263
# Create debian package
264
- RUN checkinstall -D --install=no --fstrans=no --backup=no --pakdir=/tmp --requires=libgeos-c1v5,libproj15 ,libjson-c4 ,libprotobuf-c1,libgdal26 --nodoc
264
+ RUN checkinstall -D --install=no --fstrans=no --backup=no --pakdir=/tmp --requires=libgeos-c1v5,libproj12 ,libjson-c3 ,libprotobuf-c1,libgdal20 --nodoc
265
265
266
266
FROM ppa as postgis
267
267
# Latest available is 3.3.2
@@ -516,6 +516,7 @@ RUN apt-get update && apt-get install -y --no-install-recommends \
516
516
ca-certificates \
517
517
pkg-config \
518
518
ninja-build \
519
+ python3 \
519
520
git \
520
521
libtinfo5 \
521
522
&& rm -rf /var/lib/apt/lists/*
@@ -530,8 +531,6 @@ RUN checkinstall -D --install=no --fstrans=no --backup=no --pakdir=/tmp --nodoc
530
531
FROM scratch as plv8-deb
531
532
COPY --from=plv8-source /tmp/*.deb /tmp/
532
533
533
- FROM ghcr.io/supabase/plv8:${plv8_release}-pg${postgresql_major} as plv8
534
-
535
534
####################
536
535
# 14-pg_plan_filter.yml
537
536
####################
@@ -860,7 +859,7 @@ COPY --from=plpgsql_check-source /tmp/*.deb /tmp/
860
859
COPY --from=pg-safeupdate-source /tmp/*.deb /tmp/
861
860
COPY --from=wal2json-source /tmp/*.deb /tmp/
862
861
# COPY --from=pljava /tmp/*.deb /tmp/
863
- COPY --from=plv8 /tmp/*.deb /tmp/
862
+ COPY --from=plv8-deb /tmp/*.deb /tmp/
864
863
COPY --from=pg_plan_filter-source /tmp/*.deb /tmp/
865
864
COPY --from=pg_net-source /tmp/*.deb /tmp/
866
865
COPY --from=rum-source /tmp/*.deb /tmp/
@@ -975,7 +974,7 @@ RUN --mount=type=cache,target=/ccache,from=public.ecr.aws/supabase/postgres:ccac
975
974
FROM scratch as buildcache
976
975
COPY --from=stats /tmp /
977
976
978
- FROM ubuntu:bionic as pg_binary_collection_base
977
+ FROM ppa as pg_binary_collection_base
979
978
ARG postgresql_major
980
979
ARG postgresql_release
981
980
ENV DEBIAN_FRONTEND=noninteractive
@@ -989,9 +988,17 @@ RUN apt-get update && \
989
988
apt-get install -y ca-certificates \
990
989
libcurl3-gnutls libmecab2 libnghttp2-14 \
991
990
libpsl5 librtmp1 libsodium23 mecab-naist-jdic \
992
- mecab-naist-jdic-eucjp mecab-utils publicsuffix
993
- RUN rm -f /tmp/build/extensions/postgis* && \
994
- dpkg -i /tmp/build/extensions/*
991
+ mecab-naist-jdic-eucjp mecab-utils publicsuffix \
992
+ libcgal-dev libmpfr-dev libgmp-dev \
993
+ protobuf-c-compiler \
994
+ libgeos-dev \
995
+ libproj-dev \
996
+ libgdal-dev \
997
+ libjson-c-dev \
998
+ libxml2-dev \
999
+ libprotobuf-c-dev
1000
+
1001
+ RUN dpkg -i /tmp/build/extensions/*
995
1002
996
1003
FROM ubuntu:bionic as pg_binary_collection
997
1004
ARG postgresql_major
0 commit comments