diff --git a/18/alpine3.22/Dockerfile b/18/alpine3.22/Dockerfile index b39345cb25..c118598402 100644 --- a/18/alpine3.22/Dockerfile +++ b/18/alpine3.22/Dockerfile @@ -102,6 +102,9 @@ RUN set -eux; \ lz4-dev \ # https://www.postgresql.org/docs/15/release-15.html "--with-zstd to enable Zstandard builds" zstd-dev \ +# https://salsa.debian.org/postgresql/postgresql-common/-/commit/a31ce5b893c11e0f17a016e38c1882fbe1820081 +# https://www.postgresql.org/docs/18/install-make.html#CONFIGURE-OPTION-WITH-LIBCURL + curl-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 \ @@ -141,6 +144,7 @@ RUN set -eux; \ --with-gssapi \ --with-icu \ --with-ldap \ + --with-libcurl \ --with-liburing \ --with-libxml \ --with-libxslt \ diff --git a/18/alpine3.23/Dockerfile b/18/alpine3.23/Dockerfile index faff97e3e5..bac0162d36 100644 --- a/18/alpine3.23/Dockerfile +++ b/18/alpine3.23/Dockerfile @@ -102,6 +102,9 @@ RUN set -eux; \ lz4-dev \ # https://www.postgresql.org/docs/15/release-15.html "--with-zstd to enable Zstandard builds" zstd-dev \ +# https://salsa.debian.org/postgresql/postgresql-common/-/commit/a31ce5b893c11e0f17a016e38c1882fbe1820081 +# https://www.postgresql.org/docs/18/install-make.html#CONFIGURE-OPTION-WITH-LIBCURL + curl-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 \ @@ -141,6 +144,7 @@ RUN set -eux; \ --with-gssapi \ --with-icu \ --with-ldap \ + --with-libcurl \ --with-liburing \ --with-libxml \ --with-libxslt \ diff --git a/Dockerfile-alpine.template b/Dockerfile-alpine.template index 1f9ffd7592..6f23fa6c0f 100644 --- a/Dockerfile-alpine.template +++ b/Dockerfile-alpine.template @@ -110,6 +110,9 @@ RUN set -eux; \ zstd-dev \ {{ ) else "" end -}} {{ if .major >= 18 then ( -}} +# https://salsa.debian.org/postgresql/postgresql-common/-/commit/a31ce5b893c11e0f17a016e38c1882fbe1820081 +# https://www.postgresql.org/docs/18/install-make.html#CONFIGURE-OPTION-WITH-LIBCURL + curl-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 \ @@ -160,6 +163,7 @@ RUN set -eux; \ --with-icu \ --with-ldap \ {{ if .major >= 18 then ( -}} + --with-libcurl \ --with-liburing \ {{ ) else "" end -}} --with-libxml \