You've already forked postgres
mirror of
https://github.com/docker-library/postgres.git
synced 2025-11-17 13:02:40 +03:00
PG15 alpine: enable Zstandard builds
This commit is contained in:
3
15/alpine/Dockerfile
generated
3
15/alpine/Dockerfile
generated
@@ -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; \
|
||||
|
||||
Reference in New Issue
Block a user