11.10.0-debian-10-r14 release
This commit is contained in:
parent
a8fde1930a
commit
54dbacc93a
|
|
@ -24,7 +24,7 @@ COPY rootfs /
|
||||||
RUN /opt/bitnami/scripts/postgresql-repmgr/postunpack.sh
|
RUN /opt/bitnami/scripts/postgresql-repmgr/postunpack.sh
|
||||||
RUN /opt/bitnami/scripts/locales/add-extra-locales.sh
|
RUN /opt/bitnami/scripts/locales/add-extra-locales.sh
|
||||||
ENV BITNAMI_APP_NAME="postgresql-repmgr" \
|
ENV BITNAMI_APP_NAME="postgresql-repmgr" \
|
||||||
BITNAMI_IMAGE_VERSION="11.10.0-debian-10-r13" \
|
BITNAMI_IMAGE_VERSION="11.10.0-debian-10-r14" \
|
||||||
LANG="en_US.UTF-8" \
|
LANG="en_US.UTF-8" \
|
||||||
LANGUAGE="en_US:en" \
|
LANGUAGE="en_US:en" \
|
||||||
NSS_WRAPPER_LIB="/opt/bitnami/common/lib/libnss_wrapper.so" \
|
NSS_WRAPPER_LIB="/opt/bitnami/common/lib/libnss_wrapper.so" \
|
||||||
|
|
|
||||||
|
|
@ -370,7 +370,6 @@ postgresql_get_major_version() {
|
||||||
psql --version | grep -oE "[0-9]+\.[0-9]+" | grep -oE "^[0-9]+"
|
psql --version | grep -oE "[0-9]+\.[0-9]+" | grep -oE "^[0-9]+"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
########################
|
########################
|
||||||
# Change postgresql.conf by setting replication parameters
|
# Change postgresql.conf by setting replication parameters
|
||||||
# Globals:
|
# Globals:
|
||||||
|
|
@ -394,7 +393,6 @@ postgresql_configure_replication_parameters() {
|
||||||
postgresql_set_property "hot_standby" "on"
|
postgresql_set_property "hot_standby" "on"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
########################
|
########################
|
||||||
# Change postgresql.conf by setting parameters for synchronous replication
|
# Change postgresql.conf by setting parameters for synchronous replication
|
||||||
# Globals:
|
# Globals:
|
||||||
|
|
@ -411,7 +409,6 @@ postgresql_configure_synchronous_replication() {
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
########################
|
########################
|
||||||
# Change postgresql.conf by setting TLS properies
|
# Change postgresql.conf by setting TLS properies
|
||||||
# Globals:
|
# Globals:
|
||||||
|
|
@ -637,7 +634,7 @@ postgresql_initialize() {
|
||||||
postgresql_configure_recovery
|
postgresql_configure_recovery
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
# TLS Modifications on pghba need to be performed after properly configuring postgresql.conf file
|
# TLS Modifications on pghba need to be performed after properly configuring postgresql.conf file
|
||||||
is_boolean_yes "$create_pghba_file" && is_boolean_yes "$POSTGRESQL_ENABLE_TLS" && [[ -n $POSTGRESQL_TLS_CA_FILE ]] && postgresql_tls_auth_configuration
|
is_boolean_yes "$create_pghba_file" && is_boolean_yes "$POSTGRESQL_ENABLE_TLS" && [[ -n $POSTGRESQL_TLS_CA_FILE ]] && postgresql_tls_auth_configuration
|
||||||
|
|
||||||
is_boolean_yes "$create_conf_file" && [[ -n "$POSTGRESQL_SHARED_PRELOAD_LIBRARIES" ]] && postgresql_set_property "shared_preload_libraries" "$POSTGRESQL_SHARED_PRELOAD_LIBRARIES"
|
is_boolean_yes "$create_conf_file" && [[ -n "$POSTGRESQL_SHARED_PRELOAD_LIBRARIES" ]] && postgresql_set_property "shared_preload_libraries" "$POSTGRESQL_SHARED_PRELOAD_LIBRARIES"
|
||||||
|
|
@ -728,9 +725,9 @@ postgresql_stop() {
|
||||||
if [[ -f "$POSTGRESQL_PID_FILE" ]]; then
|
if [[ -f "$POSTGRESQL_PID_FILE" ]]; then
|
||||||
info "Stopping PostgreSQL..."
|
info "Stopping PostgreSQL..."
|
||||||
if am_i_root; then
|
if am_i_root; then
|
||||||
gosu "$POSTGRESQL_DAEMON_USER" "${cmd[@]}"
|
gosu "$POSTGRESQL_DAEMON_USER" "${cmd[@]}"
|
||||||
else
|
else
|
||||||
"${cmd[@]}"
|
"${cmd[@]}"
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
@ -796,7 +793,10 @@ postgresql_start_bg() {
|
||||||
else
|
else
|
||||||
"${pg_ctl_cmd[@]}" "start" "${pg_ctl_flags[@]}" >/dev/null 2>&1
|
"${pg_ctl_cmd[@]}" "start" "${pg_ctl_flags[@]}" >/dev/null 2>&1
|
||||||
fi
|
fi
|
||||||
local -r pg_isready_args=("-U" "postgres")
|
local pg_isready_args=("-U" "postgres")
|
||||||
|
if [[ "$POSTGRESQL_PORT_NUMBER" != "5432" ]]; then
|
||||||
|
pg_isready_args+=("-p" "$POSTGRESQL_PORT_NUMBER")
|
||||||
|
fi
|
||||||
local counter=$POSTGRESQL_INIT_MAX_TIMEOUT
|
local counter=$POSTGRESQL_INIT_MAX_TIMEOUT
|
||||||
while ! "$POSTGRESQL_BIN_DIR"/pg_isready "${pg_isready_args[@]}" >/dev/null 2>&1; do
|
while ! "$POSTGRESQL_BIN_DIR"/pg_isready "${pg_isready_args[@]}" >/dev/null 2>&1; do
|
||||||
sleep 1
|
sleep 1
|
||||||
|
|
@ -928,7 +928,6 @@ postgresql_slave_init_db() {
|
||||||
done
|
done
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
########################
|
########################
|
||||||
# Create recovery.conf in slave node
|
# Create recovery.conf in slave node
|
||||||
# Globals:
|
# Globals:
|
||||||
|
|
|
||||||
|
|
@ -45,7 +45,7 @@ Learn more about the Bitnami tagging policy and the difference between rolling t
|
||||||
|
|
||||||
* [`13`, `13-debian-10`, `13.1.0`, `13.1.0-debian-10-r14` (13/debian-10/Dockerfile)](https://github.com/bitnami/bitnami-docker-postgresql-repmgr/blob/13.1.0-debian-10-r14/13/debian-10/Dockerfile)
|
* [`13`, `13-debian-10`, `13.1.0`, `13.1.0-debian-10-r14` (13/debian-10/Dockerfile)](https://github.com/bitnami/bitnami-docker-postgresql-repmgr/blob/13.1.0-debian-10-r14/13/debian-10/Dockerfile)
|
||||||
* [`12`, `12-debian-10`, `12.5.0`, `12.5.0-debian-10-r14` (12/debian-10/Dockerfile)](https://github.com/bitnami/bitnami-docker-postgresql-repmgr/blob/12.5.0-debian-10-r14/12/debian-10/Dockerfile)
|
* [`12`, `12-debian-10`, `12.5.0`, `12.5.0-debian-10-r14` (12/debian-10/Dockerfile)](https://github.com/bitnami/bitnami-docker-postgresql-repmgr/blob/12.5.0-debian-10-r14/12/debian-10/Dockerfile)
|
||||||
* [`11`, `11-debian-10`, `11.10.0`, `11.10.0-debian-10-r13`, `latest` (11/debian-10/Dockerfile)](https://github.com/bitnami/bitnami-docker-postgresql-repmgr/blob/11.10.0-debian-10-r13/11/debian-10/Dockerfile)
|
* [`11`, `11-debian-10`, `11.10.0`, `11.10.0-debian-10-r14`, `latest` (11/debian-10/Dockerfile)](https://github.com/bitnami/bitnami-docker-postgresql-repmgr/blob/11.10.0-debian-10-r14/11/debian-10/Dockerfile)
|
||||||
* [`10`, `10-debian-10`, `10.15.0`, `10.15.0-debian-10-r13` (10/debian-10/Dockerfile)](https://github.com/bitnami/bitnami-docker-postgresql-repmgr/blob/10.15.0-debian-10-r13/10/debian-10/Dockerfile)
|
* [`10`, `10-debian-10`, `10.15.0`, `10.15.0-debian-10-r13` (10/debian-10/Dockerfile)](https://github.com/bitnami/bitnami-docker-postgresql-repmgr/blob/10.15.0-debian-10-r13/10/debian-10/Dockerfile)
|
||||||
* [`9.6`, `9.6-debian-10`, `9.6.20`, `9.6.20-debian-10-r14` (9.6/debian-10/Dockerfile)](https://github.com/bitnami/bitnami-docker-postgresql-repmgr/blob/9.6.20-debian-10-r14/9.6/debian-10/Dockerfile)
|
* [`9.6`, `9.6-debian-10`, `9.6.20`, `9.6.20-debian-10-r14` (9.6/debian-10/Dockerfile)](https://github.com/bitnami/bitnami-docker-postgresql-repmgr/blob/9.6.20-debian-10-r14/9.6/debian-10/Dockerfile)
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue