File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -55,6 +55,7 @@ RUN if [ "$BASE_IMAGE_OS" = "almalinux" ]; then \
5555 jq \
5656 diffutils \
5757 libcurl-devel \
58+ pam-devel \
5859 patch \
5960 which \
6061 gcc-c++ \
@@ -97,6 +98,7 @@ RUN if [ "$BASE_IMAGE_OS" = "debian" ]; then \
9798 perl \
9899 libtool \
99100 libjansson-dev \
101+ libpam0g-dev \
100102 libcurl4-openssl-dev \
101103 curl \
102104 patch \
@@ -171,10 +173,10 @@ RUN wget https://ftp.postgresql.org/pub/source/v$PG16_VERSION/postgresql-$PG16_V
171173 tar -xzf $PGAUDIT18_VERSION.tar.gz && rm $PGAUDIT18_VERSION.tar.gz && \
172174 tar -xzf postgis-$POSTGIS_VERSION.tar.gz && rm postgis-$POSTGIS_VERSION.tar.gz
173175
174- ARG PG_COMPILE_FLAGS_16="--enable-debug --enable-cassert --enable-depend --with-openssl --with-libxml --with-libxslt --with-icu --with-uuid=ossp --with-lz4"
176+ ARG PG_COMPILE_FLAGS_16="--enable-debug --enable-cassert --enable-depend --with-openssl --with-libxml --with-libxslt --with-icu --with-uuid=ossp --with-lz4 --with-pam "
175177# PG17 has asserts disabled
176- ARG PG_COMPILE_FLAGS_17="--enable-debug --enable-depend --with-openssl --with-libxml --with-libxslt --with-icu --with-uuid=ossp --with-lz4 --enable-injection-points"
177- ARG PG_COMPILE_FLAGS_18="--enable-debug --enable-cassert --enable-depend --with-openssl --with-libxml --with-libxslt --with-icu --with-uuid=ossp --with-lz4 --enable-injection-points"
178+ ARG PG_COMPILE_FLAGS_17="--enable-debug --enable-depend --with-openssl --with-libxml --with-libxslt --with-icu --with-uuid=ossp --with-lz4 --enable-injection-points --with-pam "
179+ ARG PG_COMPILE_FLAGS_18="--enable-debug --enable-cassert --enable-depend --with-openssl --with-libxml --with-libxslt --with-icu --with-uuid=ossp --with-lz4 --enable-injection-points --with-pam "
178180ENV PGBASEDIR=/home/postgres
179181
180182# Compile and install PostgreSQL 16 with pgindent
@@ -331,6 +333,7 @@ RUN if [ "$BASE_IMAGE_OS" = "almalinux" ]; then \
331333 xz \
332334 snappy \
333335 perl \
336+ pam \
334337 jansson \
335338 libcurl && \
336339 dnf clean all; \
@@ -356,6 +359,7 @@ RUN if [ "$BASE_IMAGE_OS" = "debian" ]; then \
356359 liblzma5 \
357360 libsnappy1v5 \
358361 perl \
362+ libpam0g \
359363 libjansson4 \
360364 libcurl4 \
361365 curl \
You can’t perform that action at this time.
0 commit comments