Use version from vendor

This commit is contained in:
Rory de Zoete
2022-08-24 11:10:50 +02:00
parent df9ff9a34e
commit 7c6670c477
2 changed files with 3 additions and 4 deletions

View File

@@ -7,9 +7,8 @@ RUN apt update && \
# Build Postgres from the neon postgres repository.
FROM build-deps AS pg-build
RUN git clone -b main https://github.com/neondatabase/postgres.git postgres && \
cd postgres && \
./configure CFLAGS='-O2 -g3' --enable-debug --with-uuid=ossp && \
COPY vendor/postgres postgres
RUN cd postgres && \
make MAKELEVEL=0 -j $(getconf _NPROCESSORS_ONLN) -s install && \
make MAKELEVEL=0 -j $(getconf _NPROCESSORS_ONLN) -s -C contrib/ install && \
# Install headers