File tree Expand file tree Collapse file tree 4 files changed +10
-0
lines changed Expand file tree Collapse file tree 4 files changed +10
-0
lines changed Original file line number Diff line number Diff line change @@ -66,6 +66,7 @@ RUN set -ex \
66
66
# tcl-dev \
67
67
util-linux-dev \
68
68
zlib-dev \
69
+ icu-dev \
69
70
\
70
71
&& cd /usr/src/postgresql \
71
72
# update "DEFAULT_PGSOCKET_DIR" to "/var/run/postgresql" (matching Debian)
@@ -108,6 +109,7 @@ RUN set -ex \
108
109
--with-openssl \
109
110
--with-libxml \
110
111
--with-libxslt \
112
+ --with-icu \
111
113
&& make -j "$(nproc)" world \
112
114
&& make install-world \
113
115
&& make -C contrib install \
Original file line number Diff line number Diff line change @@ -66,6 +66,7 @@ RUN set -ex \
66
66
# tcl-dev \
67
67
util-linux-dev \
68
68
zlib-dev \
69
+ icu-dev \
69
70
\
70
71
&& cd /usr/src/postgresql \
71
72
# update "DEFAULT_PGSOCKET_DIR" to "/var/run/postgresql" (matching Debian)
@@ -108,6 +109,7 @@ RUN set -ex \
108
109
--with-openssl \
109
110
--with-libxml \
110
111
--with-libxslt \
112
+ --with-icu \
111
113
&& make -j "$(nproc)" world \
112
114
&& make install-world \
113
115
&& make -C contrib install \
Original file line number Diff line number Diff line change @@ -67,6 +67,7 @@ RUN set -ex \
67
67
# tcl-dev \
68
68
util-linux-dev \
69
69
zlib-dev \
70
+ icu-dev \
70
71
\
71
72
%%INSTALL_OSSP_UUID%%
72
73
&& cd /usr/src/postgresql \
@@ -110,6 +111,7 @@ RUN set -ex \
110
111
--with-openssl \
111
112
--with-libxml \
112
113
--with-libxslt \
114
+ --with-icu \
113
115
&& make -j "$(nproc)" world \
114
116
&& make install-world \
115
117
&& make -C contrib install \
Original file line number Diff line number Diff line change @@ -53,6 +53,8 @@ for version in "${versions[@]}"; do
53
53
sed -i -e ' s/WALDIR/XLOGDIR/g' \
54
54
-e ' s/waldir/xlogdir/g' \
55
55
" $version /docker-entrypoint.sh"
56
+ # ICU support was introduced in PostgreSQL 10 (https://www.postgresql.org/docs/10/static/release-10.html#id-1.11.6.9.5.13)
57
+ sed -i -e ' /icu/d' " $version /Dockerfile"
56
58
else
57
59
# postgresql-contrib-10 package does not exist, but is provided by postgresql-10
58
60
# Packages.gz:
@@ -85,6 +87,8 @@ for version in "${versions[@]}"; do
85
87
sed -i -e ' s/WALDIR/XLOGDIR/g' \
86
88
-e ' s/waldir/xlogdir/g' \
87
89
" $version /$variant /docker-entrypoint.sh"
90
+ # ICU support was introduced in PostgreSQL 10 (https://www.postgresql.org/docs/10/static/release-10.html#id-1.11.6.9.5.13)
91
+ sed -i -e ' /icu/d' " $version /$variant /Dockerfile"
88
92
fi
89
93
90
94
# TODO remove all this when 9.3 is EOL (2018-10-01 -- from http://www.postgresql.org/support/versioning/)
You can’t perform that action at this time.
0 commit comments