Merge pull request #976 from ImreSamu/alpine-with-zstd
pg >=15 alpine: Enable Zstandard builds "--with-zstd"
This commit is contained in:
commit
8e31140eb3
|
|
@ -66,6 +66,8 @@ RUN set -eux; \
|
|||
icu-dev \
|
||||
# https://www.postgresql.org/docs/14/release-14.html#id-1.11.6.5.5.3.7
|
||||
lz4-dev \
|
||||
# https://www.postgresql.org/docs/15/release-15.html "--with-zstd to enable Zstandard builds"
|
||||
zstd-dev \
|
||||
; \
|
||||
\
|
||||
cd /usr/src/postgresql; \
|
||||
|
|
@ -110,6 +112,7 @@ RUN set -eux; \
|
|||
--with-icu \
|
||||
--with-llvm \
|
||||
--with-lz4 \
|
||||
--with-zstd \
|
||||
; \
|
||||
make -j "$(nproc)" world; \
|
||||
make install-world; \
|
||||
|
|
|
|||
|
|
@ -63,6 +63,10 @@ RUN set -eux; \
|
|||
{{ if .major >= 14 then ( -}}
|
||||
# https://www.postgresql.org/docs/14/release-14.html#id-1.11.6.5.5.3.7
|
||||
lz4-dev \
|
||||
{{ ) else "" end -}}
|
||||
{{ if .major >= 15 then ( -}}
|
||||
# https://www.postgresql.org/docs/15/release-15.html "--with-zstd to enable Zstandard builds"
|
||||
zstd-dev \
|
||||
{{ ) else "" end -}}
|
||||
; \
|
||||
\
|
||||
|
|
@ -111,6 +115,9 @@ RUN set -eux; \
|
|||
{{ ) else "" end -}}
|
||||
{{ if .major >= 14 then ( -}}
|
||||
--with-lz4 \
|
||||
{{ ) else "" end -}}
|
||||
{{ if .major >= 15 then ( -}}
|
||||
--with-zstd \
|
||||
{{ ) else "" end -}}
|
||||
; \
|
||||
make -j "$(nproc)" world; \
|
||||
|
|
|
|||
Loading…
Reference in New Issue