[bitnami/postgresql-repmgr] Release 13.8.0-debian-11-r16 (#6701)
Signed-off-by: Bitnami Containers <bitnami-bot@vmware.com> Signed-off-by: Bitnami Containers <bitnami-bot@vmware.com>
This commit is contained in:
parent
928abbe631
commit
58ac98f421
|
|
@ -4,7 +4,7 @@ ARG TARGETARCH
|
|||
|
||||
LABEL org.opencontainers.image.authors="https://bitnami.com/contact" \
|
||||
org.opencontainers.image.description="Application packaged by Bitnami" \
|
||||
org.opencontainers.image.ref.name="13.8.0-debian-11-r15" \
|
||||
org.opencontainers.image.ref.name="13.8.0-debian-11-r16" \
|
||||
org.opencontainers.image.source="https://github.com/bitnami/containers/tree/main/bitnami/postgresql-repmgr" \
|
||||
org.opencontainers.image.title="postgresql-repmgr" \
|
||||
org.opencontainers.image.vendor="VMware, Inc." \
|
||||
|
|
@ -20,13 +20,13 @@ SHELL ["/bin/bash", "-o", "pipefail", "-c"]
|
|||
# Install required system packages and dependencies
|
||||
RUN install_packages acl ca-certificates curl gzip 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 tar zlib1g
|
||||
RUN mkdir -p /tmp/bitnami/pkg/cache/ && cd /tmp/bitnami/pkg/cache/ && \
|
||||
if [ ! -f postgresql-repmgr-13.8.0-8-linux-${OS_ARCH}-debian-11.tar.gz ]; then \
|
||||
curl -SsLf https://downloads.bitnami.com/files/stacksmith/postgresql-repmgr-13.8.0-8-linux-${OS_ARCH}-debian-11.tar.gz -O ; \
|
||||
curl -SsLf https://downloads.bitnami.com/files/stacksmith/postgresql-repmgr-13.8.0-8-linux-${OS_ARCH}-debian-11.tar.gz.sha256 -O ; \
|
||||
if [ ! -f postgresql-repmgr-13.8.0-9-linux-${OS_ARCH}-debian-11.tar.gz ]; then \
|
||||
curl -SsLf https://downloads.bitnami.com/files/stacksmith/postgresql-repmgr-13.8.0-9-linux-${OS_ARCH}-debian-11.tar.gz -O ; \
|
||||
curl -SsLf https://downloads.bitnami.com/files/stacksmith/postgresql-repmgr-13.8.0-9-linux-${OS_ARCH}-debian-11.tar.gz.sha256 -O ; \
|
||||
fi && \
|
||||
sha256sum -c postgresql-repmgr-13.8.0-8-linux-${OS_ARCH}-debian-11.tar.gz.sha256 && \
|
||||
tar -zxf postgresql-repmgr-13.8.0-8-linux-${OS_ARCH}-debian-11.tar.gz -C /opt/bitnami --strip-components=2 --no-same-owner --wildcards '*/files' && \
|
||||
rm -rf postgresql-repmgr-13.8.0-8-linux-${OS_ARCH}-debian-11.tar.gz postgresql-repmgr-13.8.0-8-linux-${OS_ARCH}-debian-11.tar.gz.sha256
|
||||
sha256sum -c postgresql-repmgr-13.8.0-9-linux-${OS_ARCH}-debian-11.tar.gz.sha256 && \
|
||||
tar -zxf postgresql-repmgr-13.8.0-9-linux-${OS_ARCH}-debian-11.tar.gz -C /opt/bitnami --strip-components=2 --no-same-owner --wildcards '*/files' && \
|
||||
rm -rf postgresql-repmgr-13.8.0-9-linux-${OS_ARCH}-debian-11.tar.gz postgresql-repmgr-13.8.0-9-linux-${OS_ARCH}-debian-11.tar.gz.sha256
|
||||
RUN mkdir -p /tmp/bitnami/pkg/cache/ && cd /tmp/bitnami/pkg/cache/ && \
|
||||
if [ ! -f gosu-1.14.0-154-linux-${OS_ARCH}-debian-11.tar.gz ]; then \
|
||||
curl -SsLf https://downloads.bitnami.com/files/stacksmith/gosu-1.14.0-154-linux-${OS_ARCH}-debian-11.tar.gz -O ; \
|
||||
|
|
|
|||
|
|
@ -8,9 +8,9 @@
|
|||
},
|
||||
"postgresql-repmgr": {
|
||||
"arch": "amd64",
|
||||
"digest": "8794f2ff3d89f48a415ecaf7d22890f4f6149216d5c609bf30f3cde330c5539b",
|
||||
"digest": "233ab5c4f1eaf6afa85d20b3b20c93323de35f658f5691831d397c6c195b8fe4",
|
||||
"distro": "debian-11",
|
||||
"type": "NAMI",
|
||||
"version": "13.8.0-8"
|
||||
"version": "13.8.0-9"
|
||||
}
|
||||
}
|
||||
|
|
@ -3,7 +3,7 @@
|
|||
set -o errexit
|
||||
set -o nounset
|
||||
set -o pipefail
|
||||
# set -o xtrace # Uncomment this line for debugging purpose
|
||||
# set -o xtrace # Uncomment this line for debugging purposes
|
||||
|
||||
header="[REPMGR EVENT::$2]"
|
||||
export header
|
||||
|
|
|
|||
|
|
@ -3,7 +3,7 @@
|
|||
set -o errexit
|
||||
set -o nounset
|
||||
set -o pipefail
|
||||
# set -o xtrace # Uncomment this line for debugging purpose
|
||||
# set -o xtrace # Uncomment this line for debugging purposes
|
||||
|
||||
# shellcheck disable=SC2154
|
||||
echo "$header Locking primary..."
|
||||
|
|
|
|||
|
|
@ -3,7 +3,7 @@
|
|||
set -o errexit
|
||||
set -o nounset
|
||||
set -o pipefail
|
||||
# set -o xtrace # Uncomment this line for debugging purpose
|
||||
# set -o xtrace # Uncomment this line for debugging purposes
|
||||
|
||||
readonly query="SELECT upstream_node_id FROM repmgr.nodes WHERE node_id=$(repmgr_get_node_id)"
|
||||
readonly new_upstream_node_id="$(echo "$query" | BITNAMI_DEBUG=true postgresql_execute "$REPMGR_DATABASE" "$POSTGRESQL_REPLICATION_USER" "$POSTGRESQL_REPLICATION_PASSWORD" "" "" "-tA")"
|
||||
|
|
|
|||
|
|
@ -3,7 +3,7 @@
|
|||
set -o errexit
|
||||
set -o nounset
|
||||
set -o pipefail
|
||||
# set -o xtrace # Uncomment this line for debugging purpose
|
||||
# set -o xtrace # Uncomment this line for debugging purposes
|
||||
|
||||
# shellcheck disable=SC2154
|
||||
echo "$header Unlocking primary..."
|
||||
|
|
|
|||
|
|
@ -3,7 +3,7 @@
|
|||
set -o errexit
|
||||
set -o nounset
|
||||
set -o pipefail
|
||||
# set -o xtrace # Uncomment this line for debugging purpose
|
||||
# set -o xtrace # Uncomment this line for debugging purposes
|
||||
|
||||
# shellcheck disable=SC2154
|
||||
echo "$header Unlocking standby..."
|
||||
|
|
|
|||
|
|
@ -5,7 +5,7 @@
|
|||
set -o errexit
|
||||
set -o nounset
|
||||
set -o pipefail
|
||||
# set -o xtrace # Uncomment this line for debugging purpose
|
||||
# set -o xtrace # Uncomment this line for debugging purposes
|
||||
|
||||
. "$REPMGR_EVENTS_DIR/execs/includes/anotate_event_processing.sh"
|
||||
. "$REPMGR_EVENTS_DIR/execs/includes/lock_primary.sh"
|
||||
|
|
|
|||
|
|
@ -5,7 +5,7 @@
|
|||
set -o errexit
|
||||
set -o nounset
|
||||
set -o pipefail
|
||||
# set -o xtrace # Uncomment this line for debugging purpose
|
||||
# set -o xtrace # Uncomment this line for debugging purposes
|
||||
|
||||
. "$REPMGR_EVENTS_DIR/execs/includes/anotate_event_processing.sh"
|
||||
. "$REPMGR_EVENTS_DIR/execs/includes/lock_standby.sh"
|
||||
|
|
|
|||
|
|
@ -5,7 +5,7 @@
|
|||
set -o errexit
|
||||
set -o nounset
|
||||
set -o pipefail
|
||||
# set -o xtrace # Uncomment this line for debugging purpose
|
||||
# set -o xtrace # Uncomment this line for debugging purposes
|
||||
|
||||
. "$REPMGR_EVENTS_DIR/execs/includes/anotate_event_processing.sh"
|
||||
. "$REPMGR_EVENTS_DIR/execs/includes/unlock_primary.sh"
|
||||
|
|
|
|||
|
|
@ -5,7 +5,7 @@
|
|||
set -o errexit
|
||||
set -o nounset
|
||||
set -o pipefail
|
||||
# set -o xtrace # Uncomment this line for debugging purpose
|
||||
# set -o xtrace # Uncomment this line for debugging purposes
|
||||
|
||||
. "$REPMGR_EVENTS_DIR/execs/includes/anotate_event_processing.sh"
|
||||
. "$REPMGR_EVENTS_DIR/execs/includes/lock_primary.sh"
|
||||
|
|
|
|||
|
|
@ -5,7 +5,7 @@
|
|||
set -o errexit
|
||||
set -o nounset
|
||||
set -o pipefail
|
||||
# set -o xtrace # Uncomment this line for debugging purpose
|
||||
# set -o xtrace # Uncomment this line for debugging purposes
|
||||
|
||||
# Load libraries
|
||||
. /opt/bitnami/scripts/librepmgr.sh
|
||||
|
|
|
|||
|
|
@ -383,7 +383,6 @@ export REPMGR_PRIMARY_ROLE_LOCK_FILE_NAME="$REPMGR_LOCK_DIR/master.lock"
|
|||
export REPMGR_STANDBY_ROLE_LOCK_FILE_NAME="$REPMGR_LOCK_DIR/standby.lock"
|
||||
export REPMGR_BIN_DIR="$REPMGR_BASE_DIR/bin"
|
||||
export REPMGR_CONF_FILE="$REPMGR_CONF_DIR/repmgr.conf"
|
||||
export REPMGR_PID_FILE="$REPMGR_TMP_DIR/repmgr.pid"
|
||||
export REPMGR_DATA_DIR="${REPMGR_DATA_DIR:-${REPMGR_VOLUME_DIR}/repmgr/data}"
|
||||
|
||||
# Settings (Replication Manager)
|
||||
|
|
|
|||
|
|
@ -5,7 +5,7 @@
|
|||
set -o errexit
|
||||
set -o nounset
|
||||
set -o pipefail
|
||||
# set -o xtrace # Uncomment this line for debugging purpose
|
||||
# set -o xtrace # Uncomment this line for debugging purposes
|
||||
|
||||
# Load libraries
|
||||
. /opt/bitnami/scripts/liblog.sh
|
||||
|
|
@ -15,7 +15,7 @@ set -o pipefail
|
|||
# Load PostgreSQL & repmgr environment variables
|
||||
. /opt/bitnami/scripts/postgresql-env.sh
|
||||
|
||||
readonly repmgr_flags=("--pid-file=$REPMGR_PID_FILE" "-f" "$REPMGR_CONF_FILE" "--daemonize=false")
|
||||
readonly repmgr_flags=("-f" "$REPMGR_CONF_FILE" "--daemonize=false")
|
||||
readonly repmgr_cmd=$(command -v repmgrd)
|
||||
|
||||
postgresql_start_bg true
|
||||
|
|
|
|||
|
|
@ -48,10 +48,10 @@ Learn more about the Bitnami tagging policy and the difference between rolling t
|
|||
|
||||
|
||||
* [`14`, `14-debian-11`, `14.5.0`, `14.5.0-debian-11-r14`, `latest` (14/debian-11/Dockerfile)](https://github.com/bitnami/containers/tree/main/bitnami/postgresql-repmgr/14/debian-11/Dockerfile)
|
||||
* [`13`, `13-debian-11`, `13.8.0`, `13.8.0-debian-11-r15` (13/debian-11/Dockerfile)](https://github.com/bitnami/containers/tree/main/bitnami/postgresql-repmgr/13/debian-11/Dockerfile)
|
||||
* [`13`, `13-debian-11`, `13.8.0`, `13.8.0-debian-11-r16` (13/debian-11/Dockerfile)](https://github.com/bitnami/containers/tree/main/bitnami/postgresql-repmgr/13/debian-11/Dockerfile)
|
||||
* [`12`, `12-debian-11`, `12.12.0`, `12.12.0-debian-11-r16` (12/debian-11/Dockerfile)](https://github.com/bitnami/containers/tree/main/bitnami/postgresql-repmgr/12/debian-11/Dockerfile)
|
||||
* [`11`, `11-debian-11`, `11.17.0`, `11.17.0-debian-11-r16` (11/debian-11/Dockerfile)](https://github.com/bitnami/containers/tree/main/bitnami/postgresql-repmgr/11/debian-11/Dockerfile)
|
||||
* [`10`, `10-debian-11`, `10.22.0`, `10.22.0-debian-11-r15` (10/debian-11/Dockerfile)](https://github.com/bitnami/containers/tree/main/bitnami/postgresql-repmgr/10/debian-11/Dockerfile)
|
||||
* [`10`, `10-debian-11`, `10.22.0`, `10.22.0-debian-11-r16` (10/debian-11/Dockerfile)](https://github.com/bitnami/containers/tree/main/bitnami/postgresql-repmgr/10/debian-11/Dockerfile)
|
||||
|
||||
Subscribe to project updates by watching the [bitnami/containers GitHub repo](https://github.com/bitnami/containers).
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue