Skip to content

Commit 03748a1

Browse files
committed
Add uuid-ossp to the supported extensions (#181)
* Add uuid-ossp to the supported extensions Also update compile flags to `-O2` to trade compile time for PostgreSQL performance, and removes --enable-cassert.
1 parent 353a499 commit 03748a1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ FROM neondatabase/compute-tools:$COMPUTE_TOOLS_TAG AS compute-deps
1414
FROM debian:buster-slim AS build-deps
1515

1616
RUN apt-get update && apt-get -yq install automake libtool build-essential bison flex libreadline-dev zlib1g-dev libxml2-dev \
17-
libcurl4-openssl-dev
17+
libcurl4-openssl-dev libossp-uuid-dev
1818

1919
#
2020
# Image with built Postgres
@@ -30,7 +30,7 @@ COPY . /pg/
3030

3131
# Build and install Postgres locally
3232
RUN mkdir /pg/compute_build && cd /pg/compute_build && \
33-
../configure CFLAGS='-O0 -g3' --prefix=$(pwd)/postgres_bin --enable-debug --enable-cassert --enable-depend && \
33+
../configure CFLAGS='-O2 -g3' --prefix=$(pwd)/postgres_bin --enable-debug --enable-uuid=ossp && \
3434
# Install main binaries and contribs
3535
make MAKELEVEL=0 -j $(getconf _NPROCESSORS_ONLN) -s install && \
3636
make MAKELEVEL=0 -j $(getconf _NPROCESSORS_ONLN) -s -C contrib/ install && \

0 commit comments

Comments
 (0)