Add Alpine 3.22 (remove Alpine 3.20)
This commit is contained in:
parent
833dab59cc
commit
172d9e7dbc
|
|
@ -7,7 +7,7 @@
|
|||
FROM alpine:3.21
|
||||
|
||||
# 70 is the standard uid/gid for "postgres" in Alpine
|
||||
# https://git.alpinelinux.org/aports/tree/main/postgresql-common/postgresql-common.pre-install?h=3.21-stable
|
||||
# https://git.alpinelinux.org/aports/tree/main/postgresql-common/postgresql-common.pre-install?h=3.22-stable
|
||||
RUN set -eux; \
|
||||
addgroup -g 70 -S postgres; \
|
||||
adduser -u 70 -S -D -G postgres -H -h /var/lib/postgresql -s /bin/sh postgres; \
|
||||
|
|
@ -109,9 +109,9 @@ RUN set -eux; \
|
|||
mv src/include/pg_config_manual.h.new src/include/pg_config_manual.h; \
|
||||
gnuArch="$(dpkg-architecture --query DEB_BUILD_GNU_TYPE)"; \
|
||||
\
|
||||
# https://git.alpinelinux.org/aports/tree/community/postgresql15/APKBUILD?h=3.21-stable&id=40544ade947bec1798edb0f749f4e967e842624b#n172
|
||||
# https://git.alpinelinux.org/aports/tree/community/postgresql15/APKBUILD?h=3.22-stable#n176 ("export LLVM_CONFIG")
|
||||
export LLVM_CONFIG="/usr/lib/llvm19/bin/llvm-config"; \
|
||||
# https://git.alpinelinux.org/aports/tree/community/postgresql15/APKBUILD?h=3.21-stable&id=40544ade947bec1798edb0f749f4e967e842624b#n177
|
||||
# https://git.alpinelinux.org/aports/tree/community/postgresql15/APKBUILD?h=3.22-stable#n180 ("older clang versions don't have a 'clang' exe anymore.")
|
||||
export CLANG=clang-19; \
|
||||
\
|
||||
# configure options taken from:
|
||||
|
|
@ -166,8 +166,7 @@ RUN set -eux; \
|
|||
zstd \
|
||||
# https://wiki.alpinelinux.org/wiki/Release_Notes_for_Alpine_3.16.0#ICU_data_split
|
||||
icu-data-full \
|
||||
# nss_wrapper is not availble on ppc64le: "test case segfaults in ppc64le"
|
||||
# https://git.alpinelinux.org/aports/commit/testing/nss_wrapper/APKBUILD?h=3.17-stable&id=94d81ceeb58cff448d489bbcbe9a6d40c9991663
|
||||
# https://git.alpinelinux.org/aports/tree/community/nss_wrapper/APKBUILD?h=3.22-stable#n7 ("ppc64le: test case segfaults")
|
||||
$([ "$(apk --print-arch)" != 'ppc64le' ] && echo 'nss_wrapper') \
|
||||
; \
|
||||
apk del --no-network .build-deps; \
|
||||
|
|
|
|||
|
|
@ -4,10 +4,10 @@
|
|||
# PLEASE DO NOT EDIT IT DIRECTLY.
|
||||
#
|
||||
|
||||
FROM alpine:3.20
|
||||
FROM alpine:3.22
|
||||
|
||||
# 70 is the standard uid/gid for "postgres" in Alpine
|
||||
# https://git.alpinelinux.org/aports/tree/main/postgresql-common/postgresql-common.pre-install?h=3.21-stable
|
||||
# https://git.alpinelinux.org/aports/tree/main/postgresql-common/postgresql-common.pre-install?h=3.22-stable
|
||||
RUN set -eux; \
|
||||
addgroup -g 70 -S postgres; \
|
||||
adduser -u 70 -S -D -G postgres -H -h /var/lib/postgresql -s /bin/sh postgres; \
|
||||
|
|
@ -57,8 +57,8 @@ ENV PG_VERSION 13.21
|
|||
ENV PG_SHA256 dcda1294df45f033b0656cf7a8e4afbbc624c25e1b144aec79530f74d7ef4ab4
|
||||
|
||||
ENV DOCKER_PG_LLVM_DEPS \
|
||||
llvm15-dev \
|
||||
clang15
|
||||
llvm19-dev \
|
||||
clang19
|
||||
|
||||
RUN set -eux; \
|
||||
\
|
||||
|
|
@ -109,10 +109,10 @@ RUN set -eux; \
|
|||
mv src/include/pg_config_manual.h.new src/include/pg_config_manual.h; \
|
||||
gnuArch="$(dpkg-architecture --query DEB_BUILD_GNU_TYPE)"; \
|
||||
\
|
||||
# https://git.alpinelinux.org/aports/tree/community/postgresql15/APKBUILD?h=3.21-stable&id=40544ade947bec1798edb0f749f4e967e842624b#n172
|
||||
export LLVM_CONFIG="/usr/lib/llvm15/bin/llvm-config"; \
|
||||
# https://git.alpinelinux.org/aports/tree/community/postgresql15/APKBUILD?h=3.21-stable&id=40544ade947bec1798edb0f749f4e967e842624b#n177
|
||||
export CLANG=clang-15; \
|
||||
# https://git.alpinelinux.org/aports/tree/community/postgresql15/APKBUILD?h=3.22-stable#n176 ("export LLVM_CONFIG")
|
||||
export LLVM_CONFIG="/usr/lib/llvm19/bin/llvm-config"; \
|
||||
# https://git.alpinelinux.org/aports/tree/community/postgresql15/APKBUILD?h=3.22-stable#n180 ("older clang versions don't have a 'clang' exe anymore.")
|
||||
export CLANG=clang-19; \
|
||||
\
|
||||
# configure options taken from:
|
||||
# https://anonscm.debian.org/cgit/pkg-postgresql/postgresql.git/tree/debian/rules?h=9.5
|
||||
|
|
@ -166,8 +166,7 @@ RUN set -eux; \
|
|||
zstd \
|
||||
# https://wiki.alpinelinux.org/wiki/Release_Notes_for_Alpine_3.16.0#ICU_data_split
|
||||
icu-data-full \
|
||||
# nss_wrapper is not availble on ppc64le: "test case segfaults in ppc64le"
|
||||
# https://git.alpinelinux.org/aports/commit/testing/nss_wrapper/APKBUILD?h=3.17-stable&id=94d81ceeb58cff448d489bbcbe9a6d40c9991663
|
||||
# https://git.alpinelinux.org/aports/tree/community/nss_wrapper/APKBUILD?h=3.22-stable#n7 ("ppc64le: test case segfaults")
|
||||
$([ "$(apk --print-arch)" != 'ppc64le' ] && echo 'nss_wrapper') \
|
||||
; \
|
||||
apk del --no-network .build-deps; \
|
||||
|
|
@ -7,7 +7,7 @@
|
|||
FROM alpine:3.21
|
||||
|
||||
# 70 is the standard uid/gid for "postgres" in Alpine
|
||||
# https://git.alpinelinux.org/aports/tree/main/postgresql-common/postgresql-common.pre-install?h=3.21-stable
|
||||
# https://git.alpinelinux.org/aports/tree/main/postgresql-common/postgresql-common.pre-install?h=3.22-stable
|
||||
RUN set -eux; \
|
||||
addgroup -g 70 -S postgres; \
|
||||
adduser -u 70 -S -D -G postgres -H -h /var/lib/postgresql -s /bin/sh postgres; \
|
||||
|
|
@ -111,9 +111,9 @@ RUN set -eux; \
|
|||
mv src/include/pg_config_manual.h.new src/include/pg_config_manual.h; \
|
||||
gnuArch="$(dpkg-architecture --query DEB_BUILD_GNU_TYPE)"; \
|
||||
\
|
||||
# https://git.alpinelinux.org/aports/tree/community/postgresql15/APKBUILD?h=3.21-stable&id=40544ade947bec1798edb0f749f4e967e842624b#n172
|
||||
# https://git.alpinelinux.org/aports/tree/community/postgresql15/APKBUILD?h=3.22-stable#n176 ("export LLVM_CONFIG")
|
||||
export LLVM_CONFIG="/usr/lib/llvm19/bin/llvm-config"; \
|
||||
# https://git.alpinelinux.org/aports/tree/community/postgresql15/APKBUILD?h=3.21-stable&id=40544ade947bec1798edb0f749f4e967e842624b#n177
|
||||
# https://git.alpinelinux.org/aports/tree/community/postgresql15/APKBUILD?h=3.22-stable#n180 ("older clang versions don't have a 'clang' exe anymore.")
|
||||
export CLANG=clang-19; \
|
||||
\
|
||||
# configure options taken from:
|
||||
|
|
@ -169,8 +169,7 @@ RUN set -eux; \
|
|||
zstd \
|
||||
# https://wiki.alpinelinux.org/wiki/Release_Notes_for_Alpine_3.16.0#ICU_data_split
|
||||
icu-data-full \
|
||||
# nss_wrapper is not availble on ppc64le: "test case segfaults in ppc64le"
|
||||
# https://git.alpinelinux.org/aports/commit/testing/nss_wrapper/APKBUILD?h=3.17-stable&id=94d81ceeb58cff448d489bbcbe9a6d40c9991663
|
||||
# https://git.alpinelinux.org/aports/tree/community/nss_wrapper/APKBUILD?h=3.22-stable#n7 ("ppc64le: test case segfaults")
|
||||
$([ "$(apk --print-arch)" != 'ppc64le' ] && echo 'nss_wrapper') \
|
||||
; \
|
||||
apk del --no-network .build-deps; \
|
||||
|
|
|
|||
|
|
@ -4,10 +4,10 @@
|
|||
# PLEASE DO NOT EDIT IT DIRECTLY.
|
||||
#
|
||||
|
||||
FROM alpine:3.20
|
||||
FROM alpine:3.22
|
||||
|
||||
# 70 is the standard uid/gid for "postgres" in Alpine
|
||||
# https://git.alpinelinux.org/aports/tree/main/postgresql-common/postgresql-common.pre-install?h=3.21-stable
|
||||
# https://git.alpinelinux.org/aports/tree/main/postgresql-common/postgresql-common.pre-install?h=3.22-stable
|
||||
RUN set -eux; \
|
||||
addgroup -g 70 -S postgres; \
|
||||
adduser -u 70 -S -D -G postgres -H -h /var/lib/postgresql -s /bin/sh postgres; \
|
||||
|
|
@ -57,8 +57,8 @@ ENV PG_VERSION 14.18
|
|||
ENV PG_SHA256 83ab29d6bfc3dc58b2ed3c664114fdfbeb6a0450c4b8d7fa69aee91e3ca14f8e
|
||||
|
||||
ENV DOCKER_PG_LLVM_DEPS \
|
||||
llvm15-dev \
|
||||
clang15
|
||||
llvm19-dev \
|
||||
clang19
|
||||
|
||||
RUN set -eux; \
|
||||
\
|
||||
|
|
@ -111,10 +111,10 @@ RUN set -eux; \
|
|||
mv src/include/pg_config_manual.h.new src/include/pg_config_manual.h; \
|
||||
gnuArch="$(dpkg-architecture --query DEB_BUILD_GNU_TYPE)"; \
|
||||
\
|
||||
# https://git.alpinelinux.org/aports/tree/community/postgresql15/APKBUILD?h=3.21-stable&id=40544ade947bec1798edb0f749f4e967e842624b#n172
|
||||
export LLVM_CONFIG="/usr/lib/llvm15/bin/llvm-config"; \
|
||||
# https://git.alpinelinux.org/aports/tree/community/postgresql15/APKBUILD?h=3.21-stable&id=40544ade947bec1798edb0f749f4e967e842624b#n177
|
||||
export CLANG=clang-15; \
|
||||
# https://git.alpinelinux.org/aports/tree/community/postgresql15/APKBUILD?h=3.22-stable#n176 ("export LLVM_CONFIG")
|
||||
export LLVM_CONFIG="/usr/lib/llvm19/bin/llvm-config"; \
|
||||
# https://git.alpinelinux.org/aports/tree/community/postgresql15/APKBUILD?h=3.22-stable#n180 ("older clang versions don't have a 'clang' exe anymore.")
|
||||
export CLANG=clang-19; \
|
||||
\
|
||||
# configure options taken from:
|
||||
# https://anonscm.debian.org/cgit/pkg-postgresql/postgresql.git/tree/debian/rules?h=9.5
|
||||
|
|
@ -169,8 +169,7 @@ RUN set -eux; \
|
|||
zstd \
|
||||
# https://wiki.alpinelinux.org/wiki/Release_Notes_for_Alpine_3.16.0#ICU_data_split
|
||||
icu-data-full \
|
||||
# nss_wrapper is not availble on ppc64le: "test case segfaults in ppc64le"
|
||||
# https://git.alpinelinux.org/aports/commit/testing/nss_wrapper/APKBUILD?h=3.17-stable&id=94d81ceeb58cff448d489bbcbe9a6d40c9991663
|
||||
# https://git.alpinelinux.org/aports/tree/community/nss_wrapper/APKBUILD?h=3.22-stable#n7 ("ppc64le: test case segfaults")
|
||||
$([ "$(apk --print-arch)" != 'ppc64le' ] && echo 'nss_wrapper') \
|
||||
; \
|
||||
apk del --no-network .build-deps; \
|
||||
|
|
@ -7,7 +7,7 @@
|
|||
FROM alpine:3.21
|
||||
|
||||
# 70 is the standard uid/gid for "postgres" in Alpine
|
||||
# https://git.alpinelinux.org/aports/tree/main/postgresql-common/postgresql-common.pre-install?h=3.21-stable
|
||||
# https://git.alpinelinux.org/aports/tree/main/postgresql-common/postgresql-common.pre-install?h=3.22-stable
|
||||
RUN set -eux; \
|
||||
addgroup -g 70 -S postgres; \
|
||||
adduser -u 70 -S -D -G postgres -H -h /var/lib/postgresql -s /bin/sh postgres; \
|
||||
|
|
@ -113,9 +113,9 @@ RUN set -eux; \
|
|||
mv src/include/pg_config_manual.h.new src/include/pg_config_manual.h; \
|
||||
gnuArch="$(dpkg-architecture --query DEB_BUILD_GNU_TYPE)"; \
|
||||
\
|
||||
# https://git.alpinelinux.org/aports/tree/community/postgresql15/APKBUILD?h=3.21-stable&id=40544ade947bec1798edb0f749f4e967e842624b#n172
|
||||
# https://git.alpinelinux.org/aports/tree/community/postgresql15/APKBUILD?h=3.22-stable#n176 ("export LLVM_CONFIG")
|
||||
export LLVM_CONFIG="/usr/lib/llvm19/bin/llvm-config"; \
|
||||
# https://git.alpinelinux.org/aports/tree/community/postgresql15/APKBUILD?h=3.21-stable&id=40544ade947bec1798edb0f749f4e967e842624b#n177
|
||||
# https://git.alpinelinux.org/aports/tree/community/postgresql15/APKBUILD?h=3.22-stable#n180 ("older clang versions don't have a 'clang' exe anymore.")
|
||||
export CLANG=clang-19; \
|
||||
\
|
||||
# configure options taken from:
|
||||
|
|
@ -172,8 +172,7 @@ RUN set -eux; \
|
|||
zstd \
|
||||
# https://wiki.alpinelinux.org/wiki/Release_Notes_for_Alpine_3.16.0#ICU_data_split
|
||||
icu-data-full \
|
||||
# nss_wrapper is not availble on ppc64le: "test case segfaults in ppc64le"
|
||||
# https://git.alpinelinux.org/aports/commit/testing/nss_wrapper/APKBUILD?h=3.17-stable&id=94d81ceeb58cff448d489bbcbe9a6d40c9991663
|
||||
# https://git.alpinelinux.org/aports/tree/community/nss_wrapper/APKBUILD?h=3.22-stable#n7 ("ppc64le: test case segfaults")
|
||||
$([ "$(apk --print-arch)" != 'ppc64le' ] && echo 'nss_wrapper') \
|
||||
; \
|
||||
apk del --no-network .build-deps; \
|
||||
|
|
|
|||
|
|
@ -4,10 +4,10 @@
|
|||
# PLEASE DO NOT EDIT IT DIRECTLY.
|
||||
#
|
||||
|
||||
FROM alpine:3.20
|
||||
FROM alpine:3.22
|
||||
|
||||
# 70 is the standard uid/gid for "postgres" in Alpine
|
||||
# https://git.alpinelinux.org/aports/tree/main/postgresql-common/postgresql-common.pre-install?h=3.21-stable
|
||||
# https://git.alpinelinux.org/aports/tree/main/postgresql-common/postgresql-common.pre-install?h=3.22-stable
|
||||
RUN set -eux; \
|
||||
addgroup -g 70 -S postgres; \
|
||||
adduser -u 70 -S -D -G postgres -H -h /var/lib/postgresql -s /bin/sh postgres; \
|
||||
|
|
@ -57,8 +57,8 @@ ENV PG_VERSION 15.13
|
|||
ENV PG_SHA256 4f62e133d22ea08a0401b0840920e26698644d01a80c34341fb732dd0a90ca5d
|
||||
|
||||
ENV DOCKER_PG_LLVM_DEPS \
|
||||
llvm15-dev \
|
||||
clang15
|
||||
llvm19-dev \
|
||||
clang19
|
||||
|
||||
RUN set -eux; \
|
||||
\
|
||||
|
|
@ -113,10 +113,10 @@ RUN set -eux; \
|
|||
mv src/include/pg_config_manual.h.new src/include/pg_config_manual.h; \
|
||||
gnuArch="$(dpkg-architecture --query DEB_BUILD_GNU_TYPE)"; \
|
||||
\
|
||||
# https://git.alpinelinux.org/aports/tree/community/postgresql15/APKBUILD?h=3.21-stable&id=40544ade947bec1798edb0f749f4e967e842624b#n172
|
||||
export LLVM_CONFIG="/usr/lib/llvm15/bin/llvm-config"; \
|
||||
# https://git.alpinelinux.org/aports/tree/community/postgresql15/APKBUILD?h=3.21-stable&id=40544ade947bec1798edb0f749f4e967e842624b#n177
|
||||
export CLANG=clang-15; \
|
||||
# https://git.alpinelinux.org/aports/tree/community/postgresql15/APKBUILD?h=3.22-stable#n176 ("export LLVM_CONFIG")
|
||||
export LLVM_CONFIG="/usr/lib/llvm19/bin/llvm-config"; \
|
||||
# https://git.alpinelinux.org/aports/tree/community/postgresql15/APKBUILD?h=3.22-stable#n180 ("older clang versions don't have a 'clang' exe anymore.")
|
||||
export CLANG=clang-19; \
|
||||
\
|
||||
# configure options taken from:
|
||||
# https://anonscm.debian.org/cgit/pkg-postgresql/postgresql.git/tree/debian/rules?h=9.5
|
||||
|
|
@ -172,8 +172,7 @@ RUN set -eux; \
|
|||
zstd \
|
||||
# https://wiki.alpinelinux.org/wiki/Release_Notes_for_Alpine_3.16.0#ICU_data_split
|
||||
icu-data-full \
|
||||
# nss_wrapper is not availble on ppc64le: "test case segfaults in ppc64le"
|
||||
# https://git.alpinelinux.org/aports/commit/testing/nss_wrapper/APKBUILD?h=3.17-stable&id=94d81ceeb58cff448d489bbcbe9a6d40c9991663
|
||||
# https://git.alpinelinux.org/aports/tree/community/nss_wrapper/APKBUILD?h=3.22-stable#n7 ("ppc64le: test case segfaults")
|
||||
$([ "$(apk --print-arch)" != 'ppc64le' ] && echo 'nss_wrapper') \
|
||||
; \
|
||||
apk del --no-network .build-deps; \
|
||||
|
|
@ -7,7 +7,7 @@
|
|||
FROM alpine:3.21
|
||||
|
||||
# 70 is the standard uid/gid for "postgres" in Alpine
|
||||
# https://git.alpinelinux.org/aports/tree/main/postgresql-common/postgresql-common.pre-install?h=3.21-stable
|
||||
# https://git.alpinelinux.org/aports/tree/main/postgresql-common/postgresql-common.pre-install?h=3.22-stable
|
||||
RUN set -eux; \
|
||||
addgroup -g 70 -S postgres; \
|
||||
adduser -u 70 -S -D -G postgres -H -h /var/lib/postgresql -s /bin/sh postgres; \
|
||||
|
|
@ -113,9 +113,9 @@ RUN set -eux; \
|
|||
mv src/include/pg_config_manual.h.new src/include/pg_config_manual.h; \
|
||||
gnuArch="$(dpkg-architecture --query DEB_BUILD_GNU_TYPE)"; \
|
||||
\
|
||||
# https://git.alpinelinux.org/aports/tree/community/postgresql15/APKBUILD?h=3.21-stable&id=40544ade947bec1798edb0f749f4e967e842624b#n172
|
||||
# https://git.alpinelinux.org/aports/tree/community/postgresql15/APKBUILD?h=3.22-stable#n176 ("export LLVM_CONFIG")
|
||||
export LLVM_CONFIG="/usr/lib/llvm19/bin/llvm-config"; \
|
||||
# https://git.alpinelinux.org/aports/tree/community/postgresql15/APKBUILD?h=3.21-stable&id=40544ade947bec1798edb0f749f4e967e842624b#n177
|
||||
# https://git.alpinelinux.org/aports/tree/community/postgresql15/APKBUILD?h=3.22-stable#n180 ("older clang versions don't have a 'clang' exe anymore.")
|
||||
export CLANG=clang-19; \
|
||||
\
|
||||
# configure options taken from:
|
||||
|
|
@ -171,8 +171,7 @@ RUN set -eux; \
|
|||
zstd \
|
||||
# https://wiki.alpinelinux.org/wiki/Release_Notes_for_Alpine_3.16.0#ICU_data_split
|
||||
icu-data-full \
|
||||
# nss_wrapper is not availble on ppc64le: "test case segfaults in ppc64le"
|
||||
# https://git.alpinelinux.org/aports/commit/testing/nss_wrapper/APKBUILD?h=3.17-stable&id=94d81ceeb58cff448d489bbcbe9a6d40c9991663
|
||||
# https://git.alpinelinux.org/aports/tree/community/nss_wrapper/APKBUILD?h=3.22-stable#n7 ("ppc64le: test case segfaults")
|
||||
$([ "$(apk --print-arch)" != 'ppc64le' ] && echo 'nss_wrapper') \
|
||||
; \
|
||||
apk del --no-network .build-deps; \
|
||||
|
|
|
|||
|
|
@ -4,10 +4,10 @@
|
|||
# PLEASE DO NOT EDIT IT DIRECTLY.
|
||||
#
|
||||
|
||||
FROM alpine:3.20
|
||||
FROM alpine:3.22
|
||||
|
||||
# 70 is the standard uid/gid for "postgres" in Alpine
|
||||
# https://git.alpinelinux.org/aports/tree/main/postgresql-common/postgresql-common.pre-install?h=3.21-stable
|
||||
# https://git.alpinelinux.org/aports/tree/main/postgresql-common/postgresql-common.pre-install?h=3.22-stable
|
||||
RUN set -eux; \
|
||||
addgroup -g 70 -S postgres; \
|
||||
adduser -u 70 -S -D -G postgres -H -h /var/lib/postgresql -s /bin/sh postgres; \
|
||||
|
|
@ -57,8 +57,8 @@ ENV PG_VERSION 16.9
|
|||
ENV PG_SHA256 07c00fb824df0a0c295f249f44691b86e3266753b380c96f633c3311e10bd005
|
||||
|
||||
ENV DOCKER_PG_LLVM_DEPS \
|
||||
llvm15-dev \
|
||||
clang15
|
||||
llvm19-dev \
|
||||
clang19
|
||||
|
||||
RUN set -eux; \
|
||||
\
|
||||
|
|
@ -113,10 +113,10 @@ RUN set -eux; \
|
|||
mv src/include/pg_config_manual.h.new src/include/pg_config_manual.h; \
|
||||
gnuArch="$(dpkg-architecture --query DEB_BUILD_GNU_TYPE)"; \
|
||||
\
|
||||
# https://git.alpinelinux.org/aports/tree/community/postgresql15/APKBUILD?h=3.21-stable&id=40544ade947bec1798edb0f749f4e967e842624b#n172
|
||||
export LLVM_CONFIG="/usr/lib/llvm15/bin/llvm-config"; \
|
||||
# https://git.alpinelinux.org/aports/tree/community/postgresql15/APKBUILD?h=3.21-stable&id=40544ade947bec1798edb0f749f4e967e842624b#n177
|
||||
export CLANG=clang-15; \
|
||||
# https://git.alpinelinux.org/aports/tree/community/postgresql15/APKBUILD?h=3.22-stable#n176 ("export LLVM_CONFIG")
|
||||
export LLVM_CONFIG="/usr/lib/llvm19/bin/llvm-config"; \
|
||||
# https://git.alpinelinux.org/aports/tree/community/postgresql15/APKBUILD?h=3.22-stable#n180 ("older clang versions don't have a 'clang' exe anymore.")
|
||||
export CLANG=clang-19; \
|
||||
\
|
||||
# configure options taken from:
|
||||
# https://anonscm.debian.org/cgit/pkg-postgresql/postgresql.git/tree/debian/rules?h=9.5
|
||||
|
|
@ -171,8 +171,7 @@ RUN set -eux; \
|
|||
zstd \
|
||||
# https://wiki.alpinelinux.org/wiki/Release_Notes_for_Alpine_3.16.0#ICU_data_split
|
||||
icu-data-full \
|
||||
# nss_wrapper is not availble on ppc64le: "test case segfaults in ppc64le"
|
||||
# https://git.alpinelinux.org/aports/commit/testing/nss_wrapper/APKBUILD?h=3.17-stable&id=94d81ceeb58cff448d489bbcbe9a6d40c9991663
|
||||
# https://git.alpinelinux.org/aports/tree/community/nss_wrapper/APKBUILD?h=3.22-stable#n7 ("ppc64le: test case segfaults")
|
||||
$([ "$(apk --print-arch)" != 'ppc64le' ] && echo 'nss_wrapper') \
|
||||
; \
|
||||
apk del --no-network .build-deps; \
|
||||
|
|
@ -7,7 +7,7 @@
|
|||
FROM alpine:3.21
|
||||
|
||||
# 70 is the standard uid/gid for "postgres" in Alpine
|
||||
# https://git.alpinelinux.org/aports/tree/main/postgresql-common/postgresql-common.pre-install?h=3.21-stable
|
||||
# https://git.alpinelinux.org/aports/tree/main/postgresql-common/postgresql-common.pre-install?h=3.22-stable
|
||||
RUN set -eux; \
|
||||
addgroup -g 70 -S postgres; \
|
||||
adduser -u 70 -S -D -G postgres -H -h /var/lib/postgresql -s /bin/sh postgres; \
|
||||
|
|
@ -112,9 +112,9 @@ RUN set -eux; \
|
|||
mv src/include/pg_config_manual.h.new src/include/pg_config_manual.h; \
|
||||
gnuArch="$(dpkg-architecture --query DEB_BUILD_GNU_TYPE)"; \
|
||||
\
|
||||
# https://git.alpinelinux.org/aports/tree/community/postgresql15/APKBUILD?h=3.21-stable&id=40544ade947bec1798edb0f749f4e967e842624b#n172
|
||||
# https://git.alpinelinux.org/aports/tree/community/postgresql15/APKBUILD?h=3.22-stable#n176 ("export LLVM_CONFIG")
|
||||
export LLVM_CONFIG="/usr/lib/llvm19/bin/llvm-config"; \
|
||||
# https://git.alpinelinux.org/aports/tree/community/postgresql15/APKBUILD?h=3.21-stable&id=40544ade947bec1798edb0f749f4e967e842624b#n177
|
||||
# https://git.alpinelinux.org/aports/tree/community/postgresql15/APKBUILD?h=3.22-stable#n180 ("older clang versions don't have a 'clang' exe anymore.")
|
||||
export CLANG=clang-19; \
|
||||
\
|
||||
# configure options taken from:
|
||||
|
|
@ -169,8 +169,7 @@ RUN set -eux; \
|
|||
zstd \
|
||||
# https://wiki.alpinelinux.org/wiki/Release_Notes_for_Alpine_3.16.0#ICU_data_split
|
||||
icu-data-full \
|
||||
# nss_wrapper is not availble on ppc64le: "test case segfaults in ppc64le"
|
||||
# https://git.alpinelinux.org/aports/commit/testing/nss_wrapper/APKBUILD?h=3.17-stable&id=94d81ceeb58cff448d489bbcbe9a6d40c9991663
|
||||
# https://git.alpinelinux.org/aports/tree/community/nss_wrapper/APKBUILD?h=3.22-stable#n7 ("ppc64le: test case segfaults")
|
||||
$([ "$(apk --print-arch)" != 'ppc64le' ] && echo 'nss_wrapper') \
|
||||
; \
|
||||
apk del --no-network .build-deps; \
|
||||
|
|
|
|||
|
|
@ -4,10 +4,10 @@
|
|||
# PLEASE DO NOT EDIT IT DIRECTLY.
|
||||
#
|
||||
|
||||
FROM alpine:3.20
|
||||
FROM alpine:3.22
|
||||
|
||||
# 70 is the standard uid/gid for "postgres" in Alpine
|
||||
# https://git.alpinelinux.org/aports/tree/main/postgresql-common/postgresql-common.pre-install?h=3.21-stable
|
||||
# https://git.alpinelinux.org/aports/tree/main/postgresql-common/postgresql-common.pre-install?h=3.22-stable
|
||||
RUN set -eux; \
|
||||
addgroup -g 70 -S postgres; \
|
||||
adduser -u 70 -S -D -G postgres -H -h /var/lib/postgresql -s /bin/sh postgres; \
|
||||
|
|
@ -56,8 +56,8 @@ ENV PG_VERSION 17.5
|
|||
ENV PG_SHA256 fcb7ab38e23b264d1902cb25e6adafb4525a6ebcbd015434aeef9eda80f528d8
|
||||
|
||||
ENV DOCKER_PG_LLVM_DEPS \
|
||||
llvm15-dev \
|
||||
clang15
|
||||
llvm19-dev \
|
||||
clang19
|
||||
|
||||
RUN set -eux; \
|
||||
\
|
||||
|
|
@ -112,10 +112,10 @@ RUN set -eux; \
|
|||
mv src/include/pg_config_manual.h.new src/include/pg_config_manual.h; \
|
||||
gnuArch="$(dpkg-architecture --query DEB_BUILD_GNU_TYPE)"; \
|
||||
\
|
||||
# https://git.alpinelinux.org/aports/tree/community/postgresql15/APKBUILD?h=3.21-stable&id=40544ade947bec1798edb0f749f4e967e842624b#n172
|
||||
export LLVM_CONFIG="/usr/lib/llvm15/bin/llvm-config"; \
|
||||
# https://git.alpinelinux.org/aports/tree/community/postgresql15/APKBUILD?h=3.21-stable&id=40544ade947bec1798edb0f749f4e967e842624b#n177
|
||||
export CLANG=clang-15; \
|
||||
# https://git.alpinelinux.org/aports/tree/community/postgresql15/APKBUILD?h=3.22-stable#n176 ("export LLVM_CONFIG")
|
||||
export LLVM_CONFIG="/usr/lib/llvm19/bin/llvm-config"; \
|
||||
# https://git.alpinelinux.org/aports/tree/community/postgresql15/APKBUILD?h=3.22-stable#n180 ("older clang versions don't have a 'clang' exe anymore.")
|
||||
export CLANG=clang-19; \
|
||||
\
|
||||
# configure options taken from:
|
||||
# https://anonscm.debian.org/cgit/pkg-postgresql/postgresql.git/tree/debian/rules?h=9.5
|
||||
|
|
@ -169,8 +169,7 @@ RUN set -eux; \
|
|||
zstd \
|
||||
# https://wiki.alpinelinux.org/wiki/Release_Notes_for_Alpine_3.16.0#ICU_data_split
|
||||
icu-data-full \
|
||||
# nss_wrapper is not availble on ppc64le: "test case segfaults in ppc64le"
|
||||
# https://git.alpinelinux.org/aports/commit/testing/nss_wrapper/APKBUILD?h=3.17-stable&id=94d81ceeb58cff448d489bbcbe9a6d40c9991663
|
||||
# https://git.alpinelinux.org/aports/tree/community/nss_wrapper/APKBUILD?h=3.22-stable#n7 ("ppc64le: test case segfaults")
|
||||
$([ "$(apk --print-arch)" != 'ppc64le' ] && echo 'nss_wrapper') \
|
||||
; \
|
||||
apk del --no-network .build-deps; \
|
||||
|
|
@ -5,7 +5,7 @@
|
|||
FROM alpine:{{ alpine_version }}
|
||||
|
||||
# 70 is the standard uid/gid for "postgres" in Alpine
|
||||
# https://git.alpinelinux.org/aports/tree/main/postgresql-common/postgresql-common.pre-install?h=3.21-stable
|
||||
# https://git.alpinelinux.org/aports/tree/main/postgresql-common/postgresql-common.pre-install?h=3.22-stable
|
||||
RUN set -eux; \
|
||||
addgroup -g 70 -S postgres; \
|
||||
adduser -u 70 -S -D -G postgres -H -h /var/lib/postgresql -s /bin/sh postgres; \
|
||||
|
|
@ -58,11 +58,7 @@ ENV PG_SHA256 {{ .sha256 }}
|
|||
|
||||
{{
|
||||
def llvmver:
|
||||
if alpine_version | split(".") | map(tonumber) < [3, 21] then
|
||||
"15"
|
||||
else
|
||||
"19"
|
||||
end
|
||||
"19"
|
||||
-}}
|
||||
ENV DOCKER_PG_LLVM_DEPS \
|
||||
llvm{{ llvmver }}-dev \
|
||||
|
|
@ -125,9 +121,9 @@ RUN set -eux; \
|
|||
mv src/include/pg_config_manual.h.new src/include/pg_config_manual.h; \
|
||||
gnuArch="$(dpkg-architecture --query DEB_BUILD_GNU_TYPE)"; \
|
||||
\
|
||||
# https://git.alpinelinux.org/aports/tree/community/postgresql15/APKBUILD?h=3.21-stable&id=40544ade947bec1798edb0f749f4e967e842624b#n172
|
||||
# https://git.alpinelinux.org/aports/tree/community/postgresql15/APKBUILD?h=3.22-stable#n176 ("export LLVM_CONFIG")
|
||||
export LLVM_CONFIG="/usr/lib/llvm{{ llvmver }}/bin/llvm-config"; \
|
||||
# https://git.alpinelinux.org/aports/tree/community/postgresql15/APKBUILD?h=3.21-stable&id=40544ade947bec1798edb0f749f4e967e842624b#n177
|
||||
# https://git.alpinelinux.org/aports/tree/community/postgresql15/APKBUILD?h=3.22-stable#n180 ("older clang versions don't have a 'clang' exe anymore.")
|
||||
export CLANG=clang-{{ llvmver }}; \
|
||||
\
|
||||
# configure options taken from:
|
||||
|
|
@ -195,8 +191,7 @@ RUN set -eux; \
|
|||
zstd \
|
||||
# https://wiki.alpinelinux.org/wiki/Release_Notes_for_Alpine_3.16.0#ICU_data_split
|
||||
icu-data-full \
|
||||
# nss_wrapper is not availble on ppc64le: "test case segfaults in ppc64le"
|
||||
# https://git.alpinelinux.org/aports/commit/testing/nss_wrapper/APKBUILD?h=3.17-stable&id=94d81ceeb58cff448d489bbcbe9a6d40c9991663
|
||||
# https://git.alpinelinux.org/aports/tree/community/nss_wrapper/APKBUILD?h=3.22-stable#n7 ("ppc64le: test case segfaults")
|
||||
$([ "$(apk --print-arch)" != 'ppc64le' ] && echo 'nss_wrapper') \
|
||||
; \
|
||||
apk del --no-network .build-deps; \
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"13": {
|
||||
"alpine": "3.21",
|
||||
"alpine": "3.22",
|
||||
"bookworm": {
|
||||
"arches": [
|
||||
"amd64",
|
||||
|
|
@ -23,13 +23,13 @@
|
|||
"variants": [
|
||||
"bookworm",
|
||||
"bullseye",
|
||||
"alpine3.21",
|
||||
"alpine3.20"
|
||||
"alpine3.22",
|
||||
"alpine3.21"
|
||||
],
|
||||
"version": "13.21"
|
||||
},
|
||||
"14": {
|
||||
"alpine": "3.21",
|
||||
"alpine": "3.22",
|
||||
"bookworm": {
|
||||
"arches": [
|
||||
"amd64",
|
||||
|
|
@ -52,13 +52,13 @@
|
|||
"variants": [
|
||||
"bookworm",
|
||||
"bullseye",
|
||||
"alpine3.21",
|
||||
"alpine3.20"
|
||||
"alpine3.22",
|
||||
"alpine3.21"
|
||||
],
|
||||
"version": "14.18"
|
||||
},
|
||||
"15": {
|
||||
"alpine": "3.21",
|
||||
"alpine": "3.22",
|
||||
"bookworm": {
|
||||
"arches": [
|
||||
"amd64",
|
||||
|
|
@ -81,13 +81,13 @@
|
|||
"variants": [
|
||||
"bookworm",
|
||||
"bullseye",
|
||||
"alpine3.21",
|
||||
"alpine3.20"
|
||||
"alpine3.22",
|
||||
"alpine3.21"
|
||||
],
|
||||
"version": "15.13"
|
||||
},
|
||||
"16": {
|
||||
"alpine": "3.21",
|
||||
"alpine": "3.22",
|
||||
"bookworm": {
|
||||
"arches": [
|
||||
"amd64",
|
||||
|
|
@ -110,13 +110,13 @@
|
|||
"variants": [
|
||||
"bookworm",
|
||||
"bullseye",
|
||||
"alpine3.21",
|
||||
"alpine3.20"
|
||||
"alpine3.22",
|
||||
"alpine3.21"
|
||||
],
|
||||
"version": "16.9"
|
||||
},
|
||||
"17": {
|
||||
"alpine": "3.21",
|
||||
"alpine": "3.22",
|
||||
"bookworm": {
|
||||
"arches": [
|
||||
"amd64",
|
||||
|
|
@ -139,8 +139,8 @@
|
|||
"variants": [
|
||||
"bookworm",
|
||||
"bullseye",
|
||||
"alpine3.21",
|
||||
"alpine3.20"
|
||||
"alpine3.22",
|
||||
"alpine3.21"
|
||||
],
|
||||
"version": "17.5"
|
||||
}
|
||||
|
|
|
|||
|
|
@ -7,8 +7,8 @@ supportedDebianSuites=(
|
|||
bullseye
|
||||
)
|
||||
supportedAlpineVersions=(
|
||||
3.22
|
||||
3.21
|
||||
3.20
|
||||
)
|
||||
defaultDebianSuite="${supportedDebianSuites[0]}"
|
||||
declare -A debianSuites=(
|
||||
|
|
|
|||
Loading…
Reference in New Issue