Build with the ICU collation provider
This builds PostgreSQL with the ICU collation provider: https://www.postgresql.org/docs/10/static/collation.html
This commit is contained in:
parent
5d0b6adfd8
commit
6b2d9f0d5d
|
|
@ -66,6 +66,7 @@ RUN set -ex \
|
||||||
# tcl-dev \
|
# tcl-dev \
|
||||||
util-linux-dev \
|
util-linux-dev \
|
||||||
zlib-dev \
|
zlib-dev \
|
||||||
|
icu-dev \
|
||||||
\
|
\
|
||||||
&& cd /usr/src/postgresql \
|
&& cd /usr/src/postgresql \
|
||||||
# update "DEFAULT_PGSOCKET_DIR" to "/var/run/postgresql" (matching Debian)
|
# update "DEFAULT_PGSOCKET_DIR" to "/var/run/postgresql" (matching Debian)
|
||||||
|
|
@ -108,6 +109,7 @@ RUN set -ex \
|
||||||
--with-openssl \
|
--with-openssl \
|
||||||
--with-libxml \
|
--with-libxml \
|
||||||
--with-libxslt \
|
--with-libxslt \
|
||||||
|
--with-icu \
|
||||||
&& make -j "$(nproc)" world \
|
&& make -j "$(nproc)" world \
|
||||||
&& make install-world \
|
&& make install-world \
|
||||||
&& make -C contrib install \
|
&& make -C contrib install \
|
||||||
|
|
|
||||||
|
|
@ -66,6 +66,7 @@ RUN set -ex \
|
||||||
# tcl-dev \
|
# tcl-dev \
|
||||||
util-linux-dev \
|
util-linux-dev \
|
||||||
zlib-dev \
|
zlib-dev \
|
||||||
|
icu-dev \
|
||||||
\
|
\
|
||||||
&& cd /usr/src/postgresql \
|
&& cd /usr/src/postgresql \
|
||||||
# update "DEFAULT_PGSOCKET_DIR" to "/var/run/postgresql" (matching Debian)
|
# update "DEFAULT_PGSOCKET_DIR" to "/var/run/postgresql" (matching Debian)
|
||||||
|
|
@ -108,6 +109,7 @@ RUN set -ex \
|
||||||
--with-openssl \
|
--with-openssl \
|
||||||
--with-libxml \
|
--with-libxml \
|
||||||
--with-libxslt \
|
--with-libxslt \
|
||||||
|
--with-icu \
|
||||||
&& make -j "$(nproc)" world \
|
&& make -j "$(nproc)" world \
|
||||||
&& make install-world \
|
&& make install-world \
|
||||||
&& make -C contrib install \
|
&& make -C contrib install \
|
||||||
|
|
|
||||||
|
|
@ -67,6 +67,7 @@ RUN set -ex \
|
||||||
# tcl-dev \
|
# tcl-dev \
|
||||||
util-linux-dev \
|
util-linux-dev \
|
||||||
zlib-dev \
|
zlib-dev \
|
||||||
|
icu-dev \
|
||||||
\
|
\
|
||||||
%%INSTALL_OSSP_UUID%%
|
%%INSTALL_OSSP_UUID%%
|
||||||
&& cd /usr/src/postgresql \
|
&& cd /usr/src/postgresql \
|
||||||
|
|
@ -110,6 +111,7 @@ RUN set -ex \
|
||||||
--with-openssl \
|
--with-openssl \
|
||||||
--with-libxml \
|
--with-libxml \
|
||||||
--with-libxslt \
|
--with-libxslt \
|
||||||
|
--with-icu \
|
||||||
&& make -j "$(nproc)" world \
|
&& make -j "$(nproc)" world \
|
||||||
&& make install-world \
|
&& make install-world \
|
||||||
&& make -C contrib install \
|
&& make -C contrib install \
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue