mirror of
https://github.com/bitnami/containers.git
synced 2026-03-14 06:48:11 +08:00
4.2.6-debian-10-r14 release
This commit is contained in:
@@ -18,7 +18,7 @@ RUN chmod g+rwX /opt/bitnami
|
||||
COPY rootfs /
|
||||
RUN /opt/bitnami/scripts/pgpool/postunpack.sh
|
||||
ENV BITNAMI_APP_NAME="pgpool" \
|
||||
BITNAMI_IMAGE_VERSION="4.2.6-debian-10-r13" \
|
||||
BITNAMI_IMAGE_VERSION="4.2.6-debian-10-r14" \
|
||||
PATH="/opt/bitnami/postgresql/bin:/opt/bitnami/common/bin:/opt/bitnami/pgpool/bin:$PATH"
|
||||
|
||||
EXPOSE 5432
|
||||
|
||||
@@ -636,18 +636,6 @@ pgpool_initialize() {
|
||||
am_i_root && configure_permissions_ownership "$PGPOOL_TMP_DIR $PGPOOL_LOG_DIR" -u "$PGPOOL_DAEMON_USER" -g "$PGPOOL_DAEMON_GROUP"
|
||||
am_i_root && configure_permissions_ownership "$PGPOOL_DATA_DIR" -u "$PGPOOL_DAEMON_USER" -g "$PGPOOL_DAEMON_GROUP" -d "755" -f "644"
|
||||
|
||||
# Wait for postgresql to be running
|
||||
read -r -a nodes <<<"$(tr ',;' ' ' <<<"${PGPOOL_BACKEND_NODES}")"
|
||||
for node in "${nodes[@]}"; do
|
||||
read -r -a fields <<<"$(tr ':' ' ' <<<"${node}")"
|
||||
local host="${fields[1]}"
|
||||
local port="${fields[2]}"
|
||||
if ! retry_while "debug_execute wait-for-port --timeout 5 --host ${host} ${port}"; then
|
||||
error "Could not connect to PostgreSQL at ${host}:${port}"
|
||||
return 1
|
||||
fi
|
||||
done
|
||||
|
||||
pgpool_create_pghba
|
||||
pgpool_create_config
|
||||
pgpool_generate_password_file
|
||||
|
||||
@@ -45,7 +45,7 @@ Non-root container images add an extra layer of security and are generally recom
|
||||
Learn more about the Bitnami tagging policy and the difference between rolling tags and immutable tags [in our documentation page](https://docs.bitnami.com/tutorials/understand-rolling-tags-containers/).
|
||||
|
||||
|
||||
* [`4`, `4-debian-10`, `4.2.6`, `4.2.6-debian-10-r13`, `latest` (4/debian-10/Dockerfile)](https://github.com/bitnami/bitnami-docker-pgpool/blob/4.2.6-debian-10-r13/4/debian-10/Dockerfile)
|
||||
* [`4`, `4-debian-10`, `4.2.6`, `4.2.6-debian-10-r14`, `latest` (4/debian-10/Dockerfile)](https://github.com/bitnami/bitnami-docker-pgpool/blob/4.2.6-debian-10-r14/4/debian-10/Dockerfile)
|
||||
|
||||
Subscribe to project updates by watching the [bitnami/pgpool GitHub repo](https://github.com/bitnami/bitnami-docker-pgpool).
|
||||
|
||||
|
||||
Reference in New Issue
Block a user