You've already forked postgres
mirror of
https://github.com/docker-library/postgres.git
synced 2025-11-08 17:02:28 +03:00
Merge pull request #1366 from infosiftr/liburing
Add liburing support to 18+
This commit is contained in:
16
13/alpine3.21/Dockerfile
generated
16
13/alpine3.21/Dockerfile
generated
@@ -114,8 +114,8 @@ RUN set -eux; \
|
|||||||
# https://git.alpinelinux.org/aports/tree/community/postgresql15/APKBUILD?h=3.22-stable#n180 ("older clang versions don't have a 'clang' exe anymore.")
|
# https://git.alpinelinux.org/aports/tree/community/postgresql15/APKBUILD?h=3.22-stable#n180 ("older clang versions don't have a 'clang' exe anymore.")
|
||||||
export CLANG=clang-19; \
|
export CLANG=clang-19; \
|
||||||
\
|
\
|
||||||
# configure options taken from:
|
# configure options mostly copying Debian:
|
||||||
# https://anonscm.debian.org/cgit/pkg-postgresql/postgresql.git/tree/debian/rules?h=9.5
|
# https://salsa.debian.org/postgresql/postgresql-common/-/blob/6e26b5107295170cc8731a3acbf13228ea15941e/server/postgresql.mk#L32
|
||||||
./configure \
|
./configure \
|
||||||
--enable-option-checking=fatal \
|
--enable-option-checking=fatal \
|
||||||
--build="$gnuArch" \
|
--build="$gnuArch" \
|
||||||
@@ -135,16 +135,16 @@ RUN set -eux; \
|
|||||||
--with-includes=/usr/local/include \
|
--with-includes=/usr/local/include \
|
||||||
--with-libraries=/usr/local/lib \
|
--with-libraries=/usr/local/lib \
|
||||||
--with-gssapi \
|
--with-gssapi \
|
||||||
|
--with-icu \
|
||||||
--with-ldap \
|
--with-ldap \
|
||||||
--with-tcl \
|
|
||||||
--with-perl \
|
|
||||||
--with-python \
|
|
||||||
# --with-pam \
|
|
||||||
--with-openssl \
|
|
||||||
--with-libxml \
|
--with-libxml \
|
||||||
--with-libxslt \
|
--with-libxslt \
|
||||||
--with-icu \
|
|
||||||
--with-llvm \
|
--with-llvm \
|
||||||
|
--with-openssl \
|
||||||
|
# --with-pam \
|
||||||
|
--with-perl \
|
||||||
|
--with-python \
|
||||||
|
--with-tcl \
|
||||||
; \
|
; \
|
||||||
make -j "$(nproc)" world-bin; \
|
make -j "$(nproc)" world-bin; \
|
||||||
make install-world-bin; \
|
make install-world-bin; \
|
||||||
|
|||||||
16
13/alpine3.22/Dockerfile
generated
16
13/alpine3.22/Dockerfile
generated
@@ -114,8 +114,8 @@ RUN set -eux; \
|
|||||||
# https://git.alpinelinux.org/aports/tree/community/postgresql15/APKBUILD?h=3.22-stable#n180 ("older clang versions don't have a 'clang' exe anymore.")
|
# https://git.alpinelinux.org/aports/tree/community/postgresql15/APKBUILD?h=3.22-stable#n180 ("older clang versions don't have a 'clang' exe anymore.")
|
||||||
export CLANG=clang-19; \
|
export CLANG=clang-19; \
|
||||||
\
|
\
|
||||||
# configure options taken from:
|
# configure options mostly copying Debian:
|
||||||
# https://anonscm.debian.org/cgit/pkg-postgresql/postgresql.git/tree/debian/rules?h=9.5
|
# https://salsa.debian.org/postgresql/postgresql-common/-/blob/6e26b5107295170cc8731a3acbf13228ea15941e/server/postgresql.mk#L32
|
||||||
./configure \
|
./configure \
|
||||||
--enable-option-checking=fatal \
|
--enable-option-checking=fatal \
|
||||||
--build="$gnuArch" \
|
--build="$gnuArch" \
|
||||||
@@ -135,16 +135,16 @@ RUN set -eux; \
|
|||||||
--with-includes=/usr/local/include \
|
--with-includes=/usr/local/include \
|
||||||
--with-libraries=/usr/local/lib \
|
--with-libraries=/usr/local/lib \
|
||||||
--with-gssapi \
|
--with-gssapi \
|
||||||
|
--with-icu \
|
||||||
--with-ldap \
|
--with-ldap \
|
||||||
--with-tcl \
|
|
||||||
--with-perl \
|
|
||||||
--with-python \
|
|
||||||
# --with-pam \
|
|
||||||
--with-openssl \
|
|
||||||
--with-libxml \
|
--with-libxml \
|
||||||
--with-libxslt \
|
--with-libxslt \
|
||||||
--with-icu \
|
|
||||||
--with-llvm \
|
--with-llvm \
|
||||||
|
--with-openssl \
|
||||||
|
# --with-pam \
|
||||||
|
--with-perl \
|
||||||
|
--with-python \
|
||||||
|
--with-tcl \
|
||||||
; \
|
; \
|
||||||
make -j "$(nproc)" world-bin; \
|
make -j "$(nproc)" world-bin; \
|
||||||
make install-world-bin; \
|
make install-world-bin; \
|
||||||
|
|||||||
16
14/alpine3.21/Dockerfile
generated
16
14/alpine3.21/Dockerfile
generated
@@ -116,8 +116,8 @@ RUN set -eux; \
|
|||||||
# https://git.alpinelinux.org/aports/tree/community/postgresql15/APKBUILD?h=3.22-stable#n180 ("older clang versions don't have a 'clang' exe anymore.")
|
# https://git.alpinelinux.org/aports/tree/community/postgresql15/APKBUILD?h=3.22-stable#n180 ("older clang versions don't have a 'clang' exe anymore.")
|
||||||
export CLANG=clang-19; \
|
export CLANG=clang-19; \
|
||||||
\
|
\
|
||||||
# configure options taken from:
|
# configure options mostly copying Debian:
|
||||||
# https://anonscm.debian.org/cgit/pkg-postgresql/postgresql.git/tree/debian/rules?h=9.5
|
# https://salsa.debian.org/postgresql/postgresql-common/-/blob/6e26b5107295170cc8731a3acbf13228ea15941e/server/postgresql.mk#L32
|
||||||
./configure \
|
./configure \
|
||||||
--enable-option-checking=fatal \
|
--enable-option-checking=fatal \
|
||||||
--build="$gnuArch" \
|
--build="$gnuArch" \
|
||||||
@@ -137,17 +137,17 @@ RUN set -eux; \
|
|||||||
--with-includes=/usr/local/include \
|
--with-includes=/usr/local/include \
|
||||||
--with-libraries=/usr/local/lib \
|
--with-libraries=/usr/local/lib \
|
||||||
--with-gssapi \
|
--with-gssapi \
|
||||||
|
--with-icu \
|
||||||
--with-ldap \
|
--with-ldap \
|
||||||
--with-tcl \
|
|
||||||
--with-perl \
|
|
||||||
--with-python \
|
|
||||||
# --with-pam \
|
|
||||||
--with-openssl \
|
|
||||||
--with-libxml \
|
--with-libxml \
|
||||||
--with-libxslt \
|
--with-libxslt \
|
||||||
--with-icu \
|
|
||||||
--with-llvm \
|
--with-llvm \
|
||||||
--with-lz4 \
|
--with-lz4 \
|
||||||
|
--with-openssl \
|
||||||
|
# --with-pam \
|
||||||
|
--with-perl \
|
||||||
|
--with-python \
|
||||||
|
--with-tcl \
|
||||||
; \
|
; \
|
||||||
make -j "$(nproc)" world-bin; \
|
make -j "$(nproc)" world-bin; \
|
||||||
make install-world-bin; \
|
make install-world-bin; \
|
||||||
|
|||||||
16
14/alpine3.22/Dockerfile
generated
16
14/alpine3.22/Dockerfile
generated
@@ -116,8 +116,8 @@ RUN set -eux; \
|
|||||||
# https://git.alpinelinux.org/aports/tree/community/postgresql15/APKBUILD?h=3.22-stable#n180 ("older clang versions don't have a 'clang' exe anymore.")
|
# https://git.alpinelinux.org/aports/tree/community/postgresql15/APKBUILD?h=3.22-stable#n180 ("older clang versions don't have a 'clang' exe anymore.")
|
||||||
export CLANG=clang-19; \
|
export CLANG=clang-19; \
|
||||||
\
|
\
|
||||||
# configure options taken from:
|
# configure options mostly copying Debian:
|
||||||
# https://anonscm.debian.org/cgit/pkg-postgresql/postgresql.git/tree/debian/rules?h=9.5
|
# https://salsa.debian.org/postgresql/postgresql-common/-/blob/6e26b5107295170cc8731a3acbf13228ea15941e/server/postgresql.mk#L32
|
||||||
./configure \
|
./configure \
|
||||||
--enable-option-checking=fatal \
|
--enable-option-checking=fatal \
|
||||||
--build="$gnuArch" \
|
--build="$gnuArch" \
|
||||||
@@ -137,17 +137,17 @@ RUN set -eux; \
|
|||||||
--with-includes=/usr/local/include \
|
--with-includes=/usr/local/include \
|
||||||
--with-libraries=/usr/local/lib \
|
--with-libraries=/usr/local/lib \
|
||||||
--with-gssapi \
|
--with-gssapi \
|
||||||
|
--with-icu \
|
||||||
--with-ldap \
|
--with-ldap \
|
||||||
--with-tcl \
|
|
||||||
--with-perl \
|
|
||||||
--with-python \
|
|
||||||
# --with-pam \
|
|
||||||
--with-openssl \
|
|
||||||
--with-libxml \
|
--with-libxml \
|
||||||
--with-libxslt \
|
--with-libxslt \
|
||||||
--with-icu \
|
|
||||||
--with-llvm \
|
--with-llvm \
|
||||||
--with-lz4 \
|
--with-lz4 \
|
||||||
|
--with-openssl \
|
||||||
|
# --with-pam \
|
||||||
|
--with-perl \
|
||||||
|
--with-python \
|
||||||
|
--with-tcl \
|
||||||
; \
|
; \
|
||||||
make -j "$(nproc)" world-bin; \
|
make -j "$(nproc)" world-bin; \
|
||||||
make install-world-bin; \
|
make install-world-bin; \
|
||||||
|
|||||||
16
15/alpine3.21/Dockerfile
generated
16
15/alpine3.21/Dockerfile
generated
@@ -118,8 +118,8 @@ RUN set -eux; \
|
|||||||
# https://git.alpinelinux.org/aports/tree/community/postgresql15/APKBUILD?h=3.22-stable#n180 ("older clang versions don't have a 'clang' exe anymore.")
|
# https://git.alpinelinux.org/aports/tree/community/postgresql15/APKBUILD?h=3.22-stable#n180 ("older clang versions don't have a 'clang' exe anymore.")
|
||||||
export CLANG=clang-19; \
|
export CLANG=clang-19; \
|
||||||
\
|
\
|
||||||
# configure options taken from:
|
# configure options mostly copying Debian:
|
||||||
# https://anonscm.debian.org/cgit/pkg-postgresql/postgresql.git/tree/debian/rules?h=9.5
|
# https://salsa.debian.org/postgresql/postgresql-common/-/blob/6e26b5107295170cc8731a3acbf13228ea15941e/server/postgresql.mk#L32
|
||||||
./configure \
|
./configure \
|
||||||
--enable-option-checking=fatal \
|
--enable-option-checking=fatal \
|
||||||
--build="$gnuArch" \
|
--build="$gnuArch" \
|
||||||
@@ -139,17 +139,17 @@ RUN set -eux; \
|
|||||||
--with-includes=/usr/local/include \
|
--with-includes=/usr/local/include \
|
||||||
--with-libraries=/usr/local/lib \
|
--with-libraries=/usr/local/lib \
|
||||||
--with-gssapi \
|
--with-gssapi \
|
||||||
|
--with-icu \
|
||||||
--with-ldap \
|
--with-ldap \
|
||||||
--with-tcl \
|
|
||||||
--with-perl \
|
|
||||||
--with-python \
|
|
||||||
# --with-pam \
|
|
||||||
--with-openssl \
|
|
||||||
--with-libxml \
|
--with-libxml \
|
||||||
--with-libxslt \
|
--with-libxslt \
|
||||||
--with-icu \
|
|
||||||
--with-llvm \
|
--with-llvm \
|
||||||
--with-lz4 \
|
--with-lz4 \
|
||||||
|
--with-openssl \
|
||||||
|
# --with-pam \
|
||||||
|
--with-perl \
|
||||||
|
--with-python \
|
||||||
|
--with-tcl \
|
||||||
--with-zstd \
|
--with-zstd \
|
||||||
; \
|
; \
|
||||||
make -j "$(nproc)" world-bin; \
|
make -j "$(nproc)" world-bin; \
|
||||||
|
|||||||
16
15/alpine3.22/Dockerfile
generated
16
15/alpine3.22/Dockerfile
generated
@@ -118,8 +118,8 @@ RUN set -eux; \
|
|||||||
# https://git.alpinelinux.org/aports/tree/community/postgresql15/APKBUILD?h=3.22-stable#n180 ("older clang versions don't have a 'clang' exe anymore.")
|
# https://git.alpinelinux.org/aports/tree/community/postgresql15/APKBUILD?h=3.22-stable#n180 ("older clang versions don't have a 'clang' exe anymore.")
|
||||||
export CLANG=clang-19; \
|
export CLANG=clang-19; \
|
||||||
\
|
\
|
||||||
# configure options taken from:
|
# configure options mostly copying Debian:
|
||||||
# https://anonscm.debian.org/cgit/pkg-postgresql/postgresql.git/tree/debian/rules?h=9.5
|
# https://salsa.debian.org/postgresql/postgresql-common/-/blob/6e26b5107295170cc8731a3acbf13228ea15941e/server/postgresql.mk#L32
|
||||||
./configure \
|
./configure \
|
||||||
--enable-option-checking=fatal \
|
--enable-option-checking=fatal \
|
||||||
--build="$gnuArch" \
|
--build="$gnuArch" \
|
||||||
@@ -139,17 +139,17 @@ RUN set -eux; \
|
|||||||
--with-includes=/usr/local/include \
|
--with-includes=/usr/local/include \
|
||||||
--with-libraries=/usr/local/lib \
|
--with-libraries=/usr/local/lib \
|
||||||
--with-gssapi \
|
--with-gssapi \
|
||||||
|
--with-icu \
|
||||||
--with-ldap \
|
--with-ldap \
|
||||||
--with-tcl \
|
|
||||||
--with-perl \
|
|
||||||
--with-python \
|
|
||||||
# --with-pam \
|
|
||||||
--with-openssl \
|
|
||||||
--with-libxml \
|
--with-libxml \
|
||||||
--with-libxslt \
|
--with-libxslt \
|
||||||
--with-icu \
|
|
||||||
--with-llvm \
|
--with-llvm \
|
||||||
--with-lz4 \
|
--with-lz4 \
|
||||||
|
--with-openssl \
|
||||||
|
# --with-pam \
|
||||||
|
--with-perl \
|
||||||
|
--with-python \
|
||||||
|
--with-tcl \
|
||||||
--with-zstd \
|
--with-zstd \
|
||||||
; \
|
; \
|
||||||
make -j "$(nproc)" world-bin; \
|
make -j "$(nproc)" world-bin; \
|
||||||
|
|||||||
16
16/alpine3.21/Dockerfile
generated
16
16/alpine3.21/Dockerfile
generated
@@ -118,8 +118,8 @@ RUN set -eux; \
|
|||||||
# https://git.alpinelinux.org/aports/tree/community/postgresql15/APKBUILD?h=3.22-stable#n180 ("older clang versions don't have a 'clang' exe anymore.")
|
# https://git.alpinelinux.org/aports/tree/community/postgresql15/APKBUILD?h=3.22-stable#n180 ("older clang versions don't have a 'clang' exe anymore.")
|
||||||
export CLANG=clang-19; \
|
export CLANG=clang-19; \
|
||||||
\
|
\
|
||||||
# configure options taken from:
|
# configure options mostly copying Debian:
|
||||||
# https://anonscm.debian.org/cgit/pkg-postgresql/postgresql.git/tree/debian/rules?h=9.5
|
# https://salsa.debian.org/postgresql/postgresql-common/-/blob/6e26b5107295170cc8731a3acbf13228ea15941e/server/postgresql.mk#L32
|
||||||
./configure \
|
./configure \
|
||||||
--enable-option-checking=fatal \
|
--enable-option-checking=fatal \
|
||||||
--build="$gnuArch" \
|
--build="$gnuArch" \
|
||||||
@@ -138,17 +138,17 @@ RUN set -eux; \
|
|||||||
--with-includes=/usr/local/include \
|
--with-includes=/usr/local/include \
|
||||||
--with-libraries=/usr/local/lib \
|
--with-libraries=/usr/local/lib \
|
||||||
--with-gssapi \
|
--with-gssapi \
|
||||||
|
--with-icu \
|
||||||
--with-ldap \
|
--with-ldap \
|
||||||
--with-tcl \
|
|
||||||
--with-perl \
|
|
||||||
--with-python \
|
|
||||||
# --with-pam \
|
|
||||||
--with-openssl \
|
|
||||||
--with-libxml \
|
--with-libxml \
|
||||||
--with-libxslt \
|
--with-libxslt \
|
||||||
--with-icu \
|
|
||||||
--with-llvm \
|
--with-llvm \
|
||||||
--with-lz4 \
|
--with-lz4 \
|
||||||
|
--with-openssl \
|
||||||
|
# --with-pam \
|
||||||
|
--with-perl \
|
||||||
|
--with-python \
|
||||||
|
--with-tcl \
|
||||||
--with-zstd \
|
--with-zstd \
|
||||||
; \
|
; \
|
||||||
make -j "$(nproc)" world-bin; \
|
make -j "$(nproc)" world-bin; \
|
||||||
|
|||||||
16
16/alpine3.22/Dockerfile
generated
16
16/alpine3.22/Dockerfile
generated
@@ -118,8 +118,8 @@ RUN set -eux; \
|
|||||||
# https://git.alpinelinux.org/aports/tree/community/postgresql15/APKBUILD?h=3.22-stable#n180 ("older clang versions don't have a 'clang' exe anymore.")
|
# https://git.alpinelinux.org/aports/tree/community/postgresql15/APKBUILD?h=3.22-stable#n180 ("older clang versions don't have a 'clang' exe anymore.")
|
||||||
export CLANG=clang-19; \
|
export CLANG=clang-19; \
|
||||||
\
|
\
|
||||||
# configure options taken from:
|
# configure options mostly copying Debian:
|
||||||
# https://anonscm.debian.org/cgit/pkg-postgresql/postgresql.git/tree/debian/rules?h=9.5
|
# https://salsa.debian.org/postgresql/postgresql-common/-/blob/6e26b5107295170cc8731a3acbf13228ea15941e/server/postgresql.mk#L32
|
||||||
./configure \
|
./configure \
|
||||||
--enable-option-checking=fatal \
|
--enable-option-checking=fatal \
|
||||||
--build="$gnuArch" \
|
--build="$gnuArch" \
|
||||||
@@ -138,17 +138,17 @@ RUN set -eux; \
|
|||||||
--with-includes=/usr/local/include \
|
--with-includes=/usr/local/include \
|
||||||
--with-libraries=/usr/local/lib \
|
--with-libraries=/usr/local/lib \
|
||||||
--with-gssapi \
|
--with-gssapi \
|
||||||
|
--with-icu \
|
||||||
--with-ldap \
|
--with-ldap \
|
||||||
--with-tcl \
|
|
||||||
--with-perl \
|
|
||||||
--with-python \
|
|
||||||
# --with-pam \
|
|
||||||
--with-openssl \
|
|
||||||
--with-libxml \
|
--with-libxml \
|
||||||
--with-libxslt \
|
--with-libxslt \
|
||||||
--with-icu \
|
|
||||||
--with-llvm \
|
--with-llvm \
|
||||||
--with-lz4 \
|
--with-lz4 \
|
||||||
|
--with-openssl \
|
||||||
|
# --with-pam \
|
||||||
|
--with-perl \
|
||||||
|
--with-python \
|
||||||
|
--with-tcl \
|
||||||
--with-zstd \
|
--with-zstd \
|
||||||
; \
|
; \
|
||||||
make -j "$(nproc)" world-bin; \
|
make -j "$(nproc)" world-bin; \
|
||||||
|
|||||||
16
17/alpine3.21/Dockerfile
generated
16
17/alpine3.21/Dockerfile
generated
@@ -117,8 +117,8 @@ RUN set -eux; \
|
|||||||
# https://git.alpinelinux.org/aports/tree/community/postgresql15/APKBUILD?h=3.22-stable#n180 ("older clang versions don't have a 'clang' exe anymore.")
|
# https://git.alpinelinux.org/aports/tree/community/postgresql15/APKBUILD?h=3.22-stable#n180 ("older clang versions don't have a 'clang' exe anymore.")
|
||||||
export CLANG=clang-19; \
|
export CLANG=clang-19; \
|
||||||
\
|
\
|
||||||
# configure options taken from:
|
# configure options mostly copying Debian:
|
||||||
# https://anonscm.debian.org/cgit/pkg-postgresql/postgresql.git/tree/debian/rules?h=9.5
|
# https://salsa.debian.org/postgresql/postgresql-common/-/blob/6e26b5107295170cc8731a3acbf13228ea15941e/server/postgresql.mk#L32
|
||||||
./configure \
|
./configure \
|
||||||
--enable-option-checking=fatal \
|
--enable-option-checking=fatal \
|
||||||
--build="$gnuArch" \
|
--build="$gnuArch" \
|
||||||
@@ -136,17 +136,17 @@ RUN set -eux; \
|
|||||||
--with-includes=/usr/local/include \
|
--with-includes=/usr/local/include \
|
||||||
--with-libraries=/usr/local/lib \
|
--with-libraries=/usr/local/lib \
|
||||||
--with-gssapi \
|
--with-gssapi \
|
||||||
|
--with-icu \
|
||||||
--with-ldap \
|
--with-ldap \
|
||||||
--with-tcl \
|
|
||||||
--with-perl \
|
|
||||||
--with-python \
|
|
||||||
# --with-pam \
|
|
||||||
--with-openssl \
|
|
||||||
--with-libxml \
|
--with-libxml \
|
||||||
--with-libxslt \
|
--with-libxslt \
|
||||||
--with-icu \
|
|
||||||
--with-llvm \
|
--with-llvm \
|
||||||
--with-lz4 \
|
--with-lz4 \
|
||||||
|
--with-openssl \
|
||||||
|
# --with-pam \
|
||||||
|
--with-perl \
|
||||||
|
--with-python \
|
||||||
|
--with-tcl \
|
||||||
--with-zstd \
|
--with-zstd \
|
||||||
; \
|
; \
|
||||||
make -j "$(nproc)" world-bin; \
|
make -j "$(nproc)" world-bin; \
|
||||||
|
|||||||
16
17/alpine3.22/Dockerfile
generated
16
17/alpine3.22/Dockerfile
generated
@@ -117,8 +117,8 @@ RUN set -eux; \
|
|||||||
# https://git.alpinelinux.org/aports/tree/community/postgresql15/APKBUILD?h=3.22-stable#n180 ("older clang versions don't have a 'clang' exe anymore.")
|
# https://git.alpinelinux.org/aports/tree/community/postgresql15/APKBUILD?h=3.22-stable#n180 ("older clang versions don't have a 'clang' exe anymore.")
|
||||||
export CLANG=clang-19; \
|
export CLANG=clang-19; \
|
||||||
\
|
\
|
||||||
# configure options taken from:
|
# configure options mostly copying Debian:
|
||||||
# https://anonscm.debian.org/cgit/pkg-postgresql/postgresql.git/tree/debian/rules?h=9.5
|
# https://salsa.debian.org/postgresql/postgresql-common/-/blob/6e26b5107295170cc8731a3acbf13228ea15941e/server/postgresql.mk#L32
|
||||||
./configure \
|
./configure \
|
||||||
--enable-option-checking=fatal \
|
--enable-option-checking=fatal \
|
||||||
--build="$gnuArch" \
|
--build="$gnuArch" \
|
||||||
@@ -136,17 +136,17 @@ RUN set -eux; \
|
|||||||
--with-includes=/usr/local/include \
|
--with-includes=/usr/local/include \
|
||||||
--with-libraries=/usr/local/lib \
|
--with-libraries=/usr/local/lib \
|
||||||
--with-gssapi \
|
--with-gssapi \
|
||||||
|
--with-icu \
|
||||||
--with-ldap \
|
--with-ldap \
|
||||||
--with-tcl \
|
|
||||||
--with-perl \
|
|
||||||
--with-python \
|
|
||||||
# --with-pam \
|
|
||||||
--with-openssl \
|
|
||||||
--with-libxml \
|
--with-libxml \
|
||||||
--with-libxslt \
|
--with-libxslt \
|
||||||
--with-icu \
|
|
||||||
--with-llvm \
|
--with-llvm \
|
||||||
--with-lz4 \
|
--with-lz4 \
|
||||||
|
--with-openssl \
|
||||||
|
# --with-pam \
|
||||||
|
--with-perl \
|
||||||
|
--with-python \
|
||||||
|
--with-tcl \
|
||||||
--with-zstd \
|
--with-zstd \
|
||||||
; \
|
; \
|
||||||
make -j "$(nproc)" world-bin; \
|
make -j "$(nproc)" world-bin; \
|
||||||
|
|||||||
20
18/alpine3.21/Dockerfile
generated
20
18/alpine3.21/Dockerfile
generated
@@ -102,6 +102,9 @@ RUN set -eux; \
|
|||||||
lz4-dev \
|
lz4-dev \
|
||||||
# https://www.postgresql.org/docs/15/release-15.html "--with-zstd to enable Zstandard builds"
|
# https://www.postgresql.org/docs/15/release-15.html "--with-zstd to enable Zstandard builds"
|
||||||
zstd-dev \
|
zstd-dev \
|
||||||
|
# https://salsa.debian.org/postgresql/postgresql-common/-/commit/89c384273f4c4092483598c292b1b1b188816cce
|
||||||
|
# https://www.postgresql.org/docs/18/install-make.html#CONFIGURE-OPTION-WITH-LIBURING
|
||||||
|
liburing-dev \
|
||||||
; \
|
; \
|
||||||
\
|
\
|
||||||
cd /usr/src/postgresql; \
|
cd /usr/src/postgresql; \
|
||||||
@@ -117,8 +120,8 @@ RUN set -eux; \
|
|||||||
# https://git.alpinelinux.org/aports/tree/community/postgresql15/APKBUILD?h=3.22-stable#n180 ("older clang versions don't have a 'clang' exe anymore.")
|
# https://git.alpinelinux.org/aports/tree/community/postgresql15/APKBUILD?h=3.22-stable#n180 ("older clang versions don't have a 'clang' exe anymore.")
|
||||||
export CLANG=clang-19; \
|
export CLANG=clang-19; \
|
||||||
\
|
\
|
||||||
# configure options taken from:
|
# configure options mostly copying Debian:
|
||||||
# https://anonscm.debian.org/cgit/pkg-postgresql/postgresql.git/tree/debian/rules?h=9.5
|
# https://salsa.debian.org/postgresql/postgresql-common/-/blob/6e26b5107295170cc8731a3acbf13228ea15941e/server/postgresql.mk#L32
|
||||||
./configure \
|
./configure \
|
||||||
--enable-option-checking=fatal \
|
--enable-option-checking=fatal \
|
||||||
--build="$gnuArch" \
|
--build="$gnuArch" \
|
||||||
@@ -136,17 +139,18 @@ RUN set -eux; \
|
|||||||
--with-includes=/usr/local/include \
|
--with-includes=/usr/local/include \
|
||||||
--with-libraries=/usr/local/lib \
|
--with-libraries=/usr/local/lib \
|
||||||
--with-gssapi \
|
--with-gssapi \
|
||||||
|
--with-icu \
|
||||||
--with-ldap \
|
--with-ldap \
|
||||||
--with-tcl \
|
--with-liburing \
|
||||||
--with-perl \
|
|
||||||
--with-python \
|
|
||||||
# --with-pam \
|
|
||||||
--with-openssl \
|
|
||||||
--with-libxml \
|
--with-libxml \
|
||||||
--with-libxslt \
|
--with-libxslt \
|
||||||
--with-icu \
|
|
||||||
--with-llvm \
|
--with-llvm \
|
||||||
--with-lz4 \
|
--with-lz4 \
|
||||||
|
--with-openssl \
|
||||||
|
# --with-pam \
|
||||||
|
--with-perl \
|
||||||
|
--with-python \
|
||||||
|
--with-tcl \
|
||||||
--with-zstd \
|
--with-zstd \
|
||||||
; \
|
; \
|
||||||
make -j "$(nproc)" world-bin; \
|
make -j "$(nproc)" world-bin; \
|
||||||
|
|||||||
20
18/alpine3.22/Dockerfile
generated
20
18/alpine3.22/Dockerfile
generated
@@ -102,6 +102,9 @@ RUN set -eux; \
|
|||||||
lz4-dev \
|
lz4-dev \
|
||||||
# https://www.postgresql.org/docs/15/release-15.html "--with-zstd to enable Zstandard builds"
|
# https://www.postgresql.org/docs/15/release-15.html "--with-zstd to enable Zstandard builds"
|
||||||
zstd-dev \
|
zstd-dev \
|
||||||
|
# https://salsa.debian.org/postgresql/postgresql-common/-/commit/89c384273f4c4092483598c292b1b1b188816cce
|
||||||
|
# https://www.postgresql.org/docs/18/install-make.html#CONFIGURE-OPTION-WITH-LIBURING
|
||||||
|
liburing-dev \
|
||||||
; \
|
; \
|
||||||
\
|
\
|
||||||
cd /usr/src/postgresql; \
|
cd /usr/src/postgresql; \
|
||||||
@@ -117,8 +120,8 @@ RUN set -eux; \
|
|||||||
# https://git.alpinelinux.org/aports/tree/community/postgresql15/APKBUILD?h=3.22-stable#n180 ("older clang versions don't have a 'clang' exe anymore.")
|
# https://git.alpinelinux.org/aports/tree/community/postgresql15/APKBUILD?h=3.22-stable#n180 ("older clang versions don't have a 'clang' exe anymore.")
|
||||||
export CLANG=clang-19; \
|
export CLANG=clang-19; \
|
||||||
\
|
\
|
||||||
# configure options taken from:
|
# configure options mostly copying Debian:
|
||||||
# https://anonscm.debian.org/cgit/pkg-postgresql/postgresql.git/tree/debian/rules?h=9.5
|
# https://salsa.debian.org/postgresql/postgresql-common/-/blob/6e26b5107295170cc8731a3acbf13228ea15941e/server/postgresql.mk#L32
|
||||||
./configure \
|
./configure \
|
||||||
--enable-option-checking=fatal \
|
--enable-option-checking=fatal \
|
||||||
--build="$gnuArch" \
|
--build="$gnuArch" \
|
||||||
@@ -136,17 +139,18 @@ RUN set -eux; \
|
|||||||
--with-includes=/usr/local/include \
|
--with-includes=/usr/local/include \
|
||||||
--with-libraries=/usr/local/lib \
|
--with-libraries=/usr/local/lib \
|
||||||
--with-gssapi \
|
--with-gssapi \
|
||||||
|
--with-icu \
|
||||||
--with-ldap \
|
--with-ldap \
|
||||||
--with-tcl \
|
--with-liburing \
|
||||||
--with-perl \
|
|
||||||
--with-python \
|
|
||||||
# --with-pam \
|
|
||||||
--with-openssl \
|
|
||||||
--with-libxml \
|
--with-libxml \
|
||||||
--with-libxslt \
|
--with-libxslt \
|
||||||
--with-icu \
|
|
||||||
--with-llvm \
|
--with-llvm \
|
||||||
--with-lz4 \
|
--with-lz4 \
|
||||||
|
--with-openssl \
|
||||||
|
# --with-pam \
|
||||||
|
--with-perl \
|
||||||
|
--with-python \
|
||||||
|
--with-tcl \
|
||||||
--with-zstd \
|
--with-zstd \
|
||||||
; \
|
; \
|
||||||
make -j "$(nproc)" world-bin; \
|
make -j "$(nproc)" world-bin; \
|
||||||
|
|||||||
@@ -110,6 +110,11 @@ RUN set -eux; \
|
|||||||
{{ if .major >= 15 then ( -}}
|
{{ if .major >= 15 then ( -}}
|
||||||
# https://www.postgresql.org/docs/15/release-15.html "--with-zstd to enable Zstandard builds"
|
# https://www.postgresql.org/docs/15/release-15.html "--with-zstd to enable Zstandard builds"
|
||||||
zstd-dev \
|
zstd-dev \
|
||||||
|
{{ ) else "" end -}}
|
||||||
|
{{ if .major >= 18 then ( -}}
|
||||||
|
# https://salsa.debian.org/postgresql/postgresql-common/-/commit/89c384273f4c4092483598c292b1b1b188816cce
|
||||||
|
# https://www.postgresql.org/docs/18/install-make.html#CONFIGURE-OPTION-WITH-LIBURING
|
||||||
|
liburing-dev \
|
||||||
{{ ) else "" end -}}
|
{{ ) else "" end -}}
|
||||||
; \
|
; \
|
||||||
\
|
\
|
||||||
@@ -126,8 +131,8 @@ RUN set -eux; \
|
|||||||
# https://git.alpinelinux.org/aports/tree/community/postgresql15/APKBUILD?h=3.22-stable#n180 ("older clang versions don't have a 'clang' exe anymore.")
|
# https://git.alpinelinux.org/aports/tree/community/postgresql15/APKBUILD?h=3.22-stable#n180 ("older clang versions don't have a 'clang' exe anymore.")
|
||||||
export CLANG=clang-{{ llvmver }}; \
|
export CLANG=clang-{{ llvmver }}; \
|
||||||
\
|
\
|
||||||
# configure options taken from:
|
# configure options mostly copying Debian:
|
||||||
# https://anonscm.debian.org/cgit/pkg-postgresql/postgresql.git/tree/debian/rules?h=9.5
|
# https://salsa.debian.org/postgresql/postgresql-common/-/blob/6e26b5107295170cc8731a3acbf13228ea15941e/server/postgresql.mk#L32
|
||||||
./configure \
|
./configure \
|
||||||
--enable-option-checking=fatal \
|
--enable-option-checking=fatal \
|
||||||
--build="$gnuArch" \
|
--build="$gnuArch" \
|
||||||
@@ -154,19 +159,22 @@ RUN set -eux; \
|
|||||||
--with-includes=/usr/local/include \
|
--with-includes=/usr/local/include \
|
||||||
--with-libraries=/usr/local/lib \
|
--with-libraries=/usr/local/lib \
|
||||||
--with-gssapi \
|
--with-gssapi \
|
||||||
|
--with-icu \
|
||||||
--with-ldap \
|
--with-ldap \
|
||||||
--with-tcl \
|
{{ if .major >= 18 then ( -}}
|
||||||
--with-perl \
|
--with-liburing \
|
||||||
--with-python \
|
{{ ) else "" end -}}
|
||||||
# --with-pam \
|
|
||||||
--with-openssl \
|
|
||||||
--with-libxml \
|
--with-libxml \
|
||||||
--with-libxslt \
|
--with-libxslt \
|
||||||
--with-icu \
|
|
||||||
--with-llvm \
|
--with-llvm \
|
||||||
{{ if .major >= 14 then ( -}}
|
{{ if .major >= 14 then ( -}}
|
||||||
--with-lz4 \
|
--with-lz4 \
|
||||||
{{ ) else "" end -}}
|
{{ ) else "" end -}}
|
||||||
|
--with-openssl \
|
||||||
|
# --with-pam \
|
||||||
|
--with-perl \
|
||||||
|
--with-python \
|
||||||
|
--with-tcl \
|
||||||
{{ if .major >= 15 then ( -}}
|
{{ if .major >= 15 then ( -}}
|
||||||
--with-zstd \
|
--with-zstd \
|
||||||
{{ ) else "" end -}}
|
{{ ) else "" end -}}
|
||||||
|
|||||||
Reference in New Issue
Block a user