mirror of
https://github.com/bitnami/containers.git
synced 2026-03-15 14:58:17 +08:00
[bitnami/postgresql-repmgr] Release 14.5.0-debian-11-r26 (#10507)
Signed-off-by: Bitnami Containers <bitnami-bot@vmware.com> Signed-off-by: Bitnami Containers <bitnami-bot@vmware.com>
This commit is contained in:
@@ -4,7 +4,7 @@ ARG TARGETARCH
|
|||||||
|
|
||||||
LABEL org.opencontainers.image.authors="https://bitnami.com/contact" \
|
LABEL org.opencontainers.image.authors="https://bitnami.com/contact" \
|
||||||
org.opencontainers.image.description="Application packaged by Bitnami" \
|
org.opencontainers.image.description="Application packaged by Bitnami" \
|
||||||
org.opencontainers.image.ref.name="14.5.0-debian-11-r25" \
|
org.opencontainers.image.ref.name="14.5.0-debian-11-r26" \
|
||||||
org.opencontainers.image.source="https://github.com/bitnami/containers/tree/main/bitnami/postgresql-repmgr" \
|
org.opencontainers.image.source="https://github.com/bitnami/containers/tree/main/bitnami/postgresql-repmgr" \
|
||||||
org.opencontainers.image.title="postgresql-repmgr" \
|
org.opencontainers.image.title="postgresql-repmgr" \
|
||||||
org.opencontainers.image.vendor="VMware, Inc." \
|
org.opencontainers.image.vendor="VMware, Inc." \
|
||||||
@@ -18,10 +18,10 @@ ENV HOME="/" \
|
|||||||
COPY prebuildfs /
|
COPY prebuildfs /
|
||||||
SHELL ["/bin/bash", "-o", "pipefail", "-c"]
|
SHELL ["/bin/bash", "-o", "pipefail", "-c"]
|
||||||
# Install required system packages and dependencies
|
# Install required system packages and dependencies
|
||||||
RUN install_packages ca-certificates curl libbsd0 libedit2 libffi7 libgcc-s1 libgmp10 libgnutls30 libhogweed6 libicu67 libidn2-0 libldap-2.4-2 liblzma5 libmd0 libnettle8 libp11-kit0 libpcre3 libreadline8 libsasl2-2 libsqlite3-0 libssl1.1 libstdc++6 libtasn1-6 libtinfo6 libunistring2 libuuid1 libxml2 libxslt1.1 locales procps zlib1g
|
RUN install_packages ca-certificates curl libbsd0 libedit2 libffi7 libgcc-s1 libgmp10 libgnutls30 libhogweed6 libicu67 libidn2-0 libldap-2.4-2 liblz4-1 liblzma5 libmd0 libnettle8 libp11-kit0 libpcre3 libreadline8 libsasl2-2 libsqlite3-0 libssl1.1 libstdc++6 libtasn1-6 libtinfo6 libunistring2 libuuid1 libxml2 libxslt1.1 locales procps zlib1g
|
||||||
RUN mkdir -p /tmp/bitnami/pkg/cache/ && cd /tmp/bitnami/pkg/cache/ && \
|
RUN mkdir -p /tmp/bitnami/pkg/cache/ && cd /tmp/bitnami/pkg/cache/ && \
|
||||||
COMPONENTS=( \
|
COMPONENTS=( \
|
||||||
"postgresql-repmgr-14.5.0-11-linux-${OS_ARCH}-debian-11" \
|
"postgresql-repmgr-14.5.0-12-linux-${OS_ARCH}-debian-11" \
|
||||||
"gosu-1.14.0-155-linux-${OS_ARCH}-debian-11" \
|
"gosu-1.14.0-155-linux-${OS_ARCH}-debian-11" \
|
||||||
) && \
|
) && \
|
||||||
for COMPONENT in "${COMPONENTS[@]}"; do \
|
for COMPONENT in "${COMPONENTS[@]}"; do \
|
||||||
|
|||||||
@@ -8,9 +8,9 @@
|
|||||||
},
|
},
|
||||||
"postgresql-repmgr": {
|
"postgresql-repmgr": {
|
||||||
"arch": "amd64",
|
"arch": "amd64",
|
||||||
"digest": "893cd7298f3d1e9624f498371fb97429dfe10974e29fe01ef4825715d9c5918c",
|
"digest": "dee023ac858c491ba59470406d6a390f01a2c7997b7dee9393514365a636ae9a",
|
||||||
"distro": "debian-11",
|
"distro": "debian-11",
|
||||||
"type": "NAMI",
|
"type": "NAMI",
|
||||||
"version": "14.5.0-11"
|
"version": "14.5.0-12"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -603,7 +603,7 @@ postgresql_initialize() {
|
|||||||
is_boolean_yes "$POSTGRESQL_ALLOW_REMOTE_CONNECTIONS" && is_boolean_yes "$create_pghba_file" && postgresql_create_pghba && postgresql_allow_local_connection
|
is_boolean_yes "$POSTGRESQL_ALLOW_REMOTE_CONNECTIONS" && is_boolean_yes "$create_pghba_file" && postgresql_create_pghba && postgresql_allow_local_connection
|
||||||
# Configure port
|
# Configure port
|
||||||
postgresql_set_property "port" "$POSTGRESQL_PORT_NUMBER"
|
postgresql_set_property "port" "$POSTGRESQL_PORT_NUMBER"
|
||||||
|
is_empty_value "$POSTGRESQL_DEFAULT_TOAST_COMPRESSION" || postgresql_set_property "default_toast_compression" "$POSTGRESQL_DEFAULT_TOAST_COMPRESSION"
|
||||||
if ! is_dir_empty "$POSTGRESQL_DATA_DIR"; then
|
if ! is_dir_empty "$POSTGRESQL_DATA_DIR"; then
|
||||||
info "Deploying PostgreSQL with persisted data..."
|
info "Deploying PostgreSQL with persisted data..."
|
||||||
export POSTGRESQL_FIRST_BOOT="no"
|
export POSTGRESQL_FIRST_BOOT="no"
|
||||||
|
|||||||
@@ -87,6 +87,7 @@ postgresql_env_vars=(
|
|||||||
POSTGRESQL_USERNAME_CONNECTION_LIMIT
|
POSTGRESQL_USERNAME_CONNECTION_LIMIT
|
||||||
POSTGRESQL_POSTGRES_CONNECTION_LIMIT
|
POSTGRESQL_POSTGRES_CONNECTION_LIMIT
|
||||||
POSTGRESQL_WAL_LEVEL
|
POSTGRESQL_WAL_LEVEL
|
||||||
|
POSTGRESQL_DEFAULT_TOAST_COMPRESSION
|
||||||
POSTGRESQL_AUTOCTL_CONF_DIR
|
POSTGRESQL_AUTOCTL_CONF_DIR
|
||||||
POSTGRESQL_AUTOCTL_MODE
|
POSTGRESQL_AUTOCTL_MODE
|
||||||
POSTGRESQL_AUTOCTL_MONITOR_HOST
|
POSTGRESQL_AUTOCTL_MONITOR_HOST
|
||||||
@@ -352,6 +353,7 @@ export POSTGRESQL_USERNAME_CONNECTION_LIMIT="${POSTGRESQL_USERNAME_CONNECTION_LI
|
|||||||
POSTGRESQL_POSTGRES_CONNECTION_LIMIT="${POSTGRESQL_POSTGRES_CONNECTION_LIMIT:-"${POSTGRES_POSTGRES_CONNECTION_LIMIT:-}"}"
|
POSTGRESQL_POSTGRES_CONNECTION_LIMIT="${POSTGRESQL_POSTGRES_CONNECTION_LIMIT:-"${POSTGRES_POSTGRES_CONNECTION_LIMIT:-}"}"
|
||||||
export POSTGRESQL_POSTGRES_CONNECTION_LIMIT="${POSTGRESQL_POSTGRES_CONNECTION_LIMIT:-}"
|
export POSTGRESQL_POSTGRES_CONNECTION_LIMIT="${POSTGRESQL_POSTGRES_CONNECTION_LIMIT:-}"
|
||||||
export POSTGRESQL_WAL_LEVEL="${POSTGRESQL_WAL_LEVEL:-replica}"
|
export POSTGRESQL_WAL_LEVEL="${POSTGRESQL_WAL_LEVEL:-replica}"
|
||||||
|
export POSTGRESQL_DEFAULT_TOAST_COMPRESSION="${POSTGRESQL_DEFAULT_TOAST_COMPRESSION:-}"
|
||||||
|
|
||||||
# pgAutoFailover settings
|
# pgAutoFailover settings
|
||||||
export POSTGRESQL_AUTOCTL_VOLUME_DIR="${POSTGRESQL_VOLUME_DIR}/pgautoctl"
|
export POSTGRESQL_AUTOCTL_VOLUME_DIR="${POSTGRESQL_VOLUME_DIR}/pgautoctl"
|
||||||
|
|||||||
Reference in New Issue
Block a user