11.8.0-debian-10-r7 release
This commit is contained in:
parent
b9c5461416
commit
463f6a54a0
|
|
@ -1,19 +1,19 @@
|
|||
FROM docker.io/bitnami/minideb:buster
|
||||
LABEL maintainer "Bitnami <containers@bitnami.com>"
|
||||
|
||||
ENV BITNAMI_PKG_CHMOD="-R g+rwX" \
|
||||
HOME="/" \
|
||||
ENV HOME="/" \
|
||||
OS_ARCH="amd64" \
|
||||
OS_FLAVOUR="debian-10" \
|
||||
OS_NAME="linux"
|
||||
|
||||
COPY prebuildfs /
|
||||
# Install required system packages and dependencies
|
||||
RUN install_packages ca-certificates curl libbsd0 libc6 libedit2 libffi6 libgcc1 libgmp10 libgnutls30 libhogweed4 libicu63 libidn2-0 libldap-2.4-2 liblzma5 libnettle6 libp11-kit0 libsasl2-2 libsqlite3-0 libssl1.1 libstdc++6 libtasn1-6 libtinfo6 libunistring2 libuuid1 libxml2 libxslt1.1 locales procps sudo unzip zlib1g
|
||||
RUN . /opt/bitnami/scripts/libcomponent.sh && component_unpack "postgresql-repmgr" "11.8.0-1" --checksum d92cc3041ebc0433bc5a302d94a3e435ac7fa2ee4e82d7482acba67babe4a10a
|
||||
RUN install_packages ca-certificates curl gzip libbsd0 libc6 libedit2 libffi6 libgcc1 libgmp10 libgnutls30 libhogweed4 libicu63 libidn2-0 libldap-2.4-2 liblzma5 libnettle6 libp11-kit0 libsasl2-2 libsqlite3-0 libssl1.1 libstdc++6 libtasn1-6 libtinfo6 libunistring2 libuuid1 libxml2 libxslt1.1 locales procps tar zlib1g
|
||||
RUN . /opt/bitnami/scripts/libcomponent.sh && component_unpack "postgresql-repmgr" "11.8.0-2" --checksum 5e4d4ab1b6d73daa82c699f37eed6a20f73b8190a30093cc07bea96fe92550a8
|
||||
RUN . /opt/bitnami/scripts/libcomponent.sh && component_unpack "gosu" "1.12.0-0" --checksum 582d501eeb6b338a24f417fededbf14295903d6be55c52d66c52e616c81bcd8c
|
||||
RUN apt-get update && apt-get upgrade -y && \
|
||||
rm -r /var/lib/apt/lists /var/cache/apt/archives
|
||||
RUN localedef -c -f UTF-8 -i en_US en_US.UTF-8
|
||||
RUN update-locale LANG=C.UTF-8 LC_MESSAGES=POSIX && \
|
||||
DEBIAN_FRONTEND=noninteractive dpkg-reconfigure locales
|
||||
RUN echo 'en_GB.UTF-8 UTF-8' >> /etc/locale.gen && locale-gen
|
||||
|
|
@ -22,12 +22,11 @@ RUN echo 'en_US.UTF-8 UTF-8' >> /etc/locale.gen && locale-gen
|
|||
COPY rootfs /
|
||||
RUN /opt/bitnami/scripts/postgresql-repmgr/postunpack.sh
|
||||
ENV BITNAMI_APP_NAME="postgresql-repmgr" \
|
||||
BITNAMI_IMAGE_VERSION="11.8.0-debian-10-r6" \
|
||||
BITNAMI_IMAGE_VERSION="11.8.0-debian-10-r7" \
|
||||
LANG="en_US.UTF-8" \
|
||||
LANGUAGE="en_US:en" \
|
||||
NAMI_PREFIX="/.nami" \
|
||||
NSS_WRAPPER_LIB="/opt/bitnami/common/lib/libnss_wrapper.so" \
|
||||
PATH="/opt/bitnami/postgresql-repmgr/bin:/opt/bitnami/common/bin:/opt/bitnami/repmgr/bin:/opt/bitnami/postgresql/bin:$PATH"
|
||||
PATH="/opt/bitnami/postgresql/bin:/opt/bitnami/repmgr/bin:/opt/bitnami/common/bin:$PATH"
|
||||
|
||||
EXPOSE 5432
|
||||
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
version: '2'
|
||||
services:
|
||||
pg-0:
|
||||
image: bitnami/postgresql-repmgr:11
|
||||
image: docker.io/bitnami/postgresql-repmgr:11-debian-10
|
||||
ports:
|
||||
- 5432
|
||||
volumes:
|
||||
|
|
@ -19,7 +19,7 @@ services:
|
|||
- REPMGR_NODE_NETWORK_NAME=pg-0
|
||||
- REPMGR_PORT_NUMBER=5432
|
||||
pg-1:
|
||||
image: bitnami/postgresql-repmgr:11
|
||||
image: docker.io/bitnami/postgresql-repmgr:11-debian-10
|
||||
ports:
|
||||
- 5432
|
||||
volumes:
|
||||
|
|
|
|||
|
|
@ -0,0 +1,24 @@
|
|||
#!/bin/sh
|
||||
set -e
|
||||
set -u
|
||||
export DEBIAN_FRONTEND=noninteractive
|
||||
n=0
|
||||
max=2
|
||||
until [ $n -gt $max ]; do
|
||||
set +e
|
||||
(
|
||||
apt-get update -qq &&
|
||||
apt-get install -y --no-install-recommends "$@"
|
||||
)
|
||||
CODE=$?
|
||||
set -e
|
||||
if [ $CODE -eq 0 ]; then
|
||||
break
|
||||
fi
|
||||
if [ $n -eq $max ]; then
|
||||
exit $CODE
|
||||
fi
|
||||
echo "apt failed, retrying"
|
||||
n=$(($n + 1))
|
||||
done
|
||||
rm -r /var/lib/apt/lists /var/cache/apt/archives
|
||||
|
|
@ -42,7 +42,7 @@ Learn more about the Bitnami tagging policy and the difference between rolling t
|
|||
|
||||
|
||||
* [`12-debian-10`, `12.3.0-debian-10-r6`, `12`, `12.3.0` (12/debian-10/Dockerfile)](https://github.com/bitnami/bitnami-docker-postgresql-repmgr/blob/12.3.0-debian-10-r6/12/debian-10/Dockerfile)
|
||||
* [`11-debian-10`, `11.8.0-debian-10-r6`, `11`, `11.8.0`, `latest` (11/debian-10/Dockerfile)](https://github.com/bitnami/bitnami-docker-postgresql-repmgr/blob/11.8.0-debian-10-r6/11/debian-10/Dockerfile)
|
||||
* [`11-debian-10`, `11.8.0-debian-10-r7`, `11`, `11.8.0`, `latest` (11/debian-10/Dockerfile)](https://github.com/bitnami/bitnami-docker-postgresql-repmgr/blob/11.8.0-debian-10-r7/11/debian-10/Dockerfile)
|
||||
* [`10-debian-10`, `10.13.0-debian-10-r6`, `10`, `10.13.0` (10/debian-10/Dockerfile)](https://github.com/bitnami/bitnami-docker-postgresql-repmgr/blob/10.13.0-debian-10-r6/10/debian-10/Dockerfile)
|
||||
* [`9.6-debian-10`, `9.6.18-debian-10-r6`, `9.6`, `9.6.18` (9.6/debian-10/Dockerfile)](https://github.com/bitnami/bitnami-docker-postgresql-repmgr/blob/9.6.18-debian-10-r6/9.6/debian-10/Dockerfile)
|
||||
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
version: '2'
|
||||
services:
|
||||
pg-0:
|
||||
image: bitnami/postgresql-repmgr:11
|
||||
image: docker.io/bitnami/postgresql-repmgr:11-debian-10
|
||||
ports:
|
||||
- 5432
|
||||
volumes:
|
||||
|
|
@ -19,7 +19,7 @@ services:
|
|||
- REPMGR_NODE_NETWORK_NAME=pg-0
|
||||
- REPMGR_PORT_NUMBER=5432
|
||||
pg-1:
|
||||
image: bitnami/postgresql-repmgr:11
|
||||
image: docker.io/bitnami/postgresql-repmgr:11-debian-10
|
||||
ports:
|
||||
- 5432
|
||||
volumes:
|
||||
|
|
|
|||
Loading…
Reference in New Issue