Include neon extensions in the main neon images (#2341)

Oversight in #2325 - apparently this area wasn't well-covered by tests in the neon repo.

Fixes #2340
This commit is contained in:
MMeent
2022-08-26 19:58:08 +02:00
committed by GitHub
parent 6d30e21a32
commit c0a867d86f
2 changed files with 5 additions and 4 deletions

View File

@@ -10,12 +10,13 @@ ARG TAG=pinned
FROM $REPOSITORY/$IMAGE:$TAG AS pg-build
WORKDIR /home/nonroot
COPY vendor/postgres vendor/postgres
COPY Makefile Makefile
COPY --chown=nonroot vendor/postgres vendor/postgres
COPY --chown=nonroot pgxn pgxn
COPY --chown=nonroot Makefile Makefile
ENV BUILD_TYPE release
RUN set -e \
&& mold -run make -j $(nproc) -s postgres \
&& mold -run make -j $(nproc) -s neon-pg-ext \
&& rm -rf tmp_install/build \
&& tar -C tmp_install -czf /home/nonroot/postgres_install.tar.gz .