diff --git a/bitnami/postgresql-repmgr/9.6/ol-7/Dockerfile b/bitnami/postgresql-repmgr/9.6/ol-7/Dockerfile index a884d405a598..4308ad7c4bfd 100644 --- a/bitnami/postgresql-repmgr/9.6/ol-7/Dockerfile +++ b/bitnami/postgresql-repmgr/9.6/ol-7/Dockerfile @@ -13,16 +13,12 @@ RUN install_packages ca-certificates curl cyrus-sasl-lib glibc gzip hostname key RUN . ./libcomponent.sh && component_unpack "postgresql-repmgr" "9.6.16-2" --checksum 6f540b497ed116d7c1587248c48feae7aff19b68383f9d4d9570d8c926520738 RUN yum upgrade -y && \ rm -r /var/cache/yum -RUN curl --silent -L https://github.com/tianon/gosu/releases/download/1.11/gosu-amd64 > /usr/local/bin/gosu && \ - echo 0b843df6d86e270c5b0f5cbd3c326a04e18f4b7f9b8457fa497b0454c4b138d7 /usr/local/bin/gosu | sha256sum --check && \ - chmod u+x /usr/local/bin/gosu && \ - mkdir -p /opt/bitnami/licenses && \ - curl --silent -L https://raw.githubusercontent.com/tianon/gosu/master/LICENSE > /opt/bitnami/licenses/gosu-1.11.txt +RUN /build/install-gosu.sh COPY rootfs / RUN /postunpack.sh ENV BITNAMI_APP_NAME="postgresql-repmgr" \ - BITNAMI_IMAGE_VERSION="9.6.16-ol-7-r66" \ + BITNAMI_IMAGE_VERSION="9.6.16-ol-7-r67" \ NAMI_PREFIX="/.nami" \ NSS_WRAPPER_LIB="/opt/bitnami/common/lib/libnss_wrapper.so" \ PATH="/opt/bitnami/postgresql-repmgr/bin:/opt/bitnami/repmgr/bin:/opt/bitnami/postgresql/bin:$PATH" diff --git a/bitnami/postgresql-repmgr/9.6/ol-7/prebuildfs/build/install-gosu.sh b/bitnami/postgresql-repmgr/9.6/ol-7/prebuildfs/build/install-gosu.sh new file mode 100755 index 000000000000..1756700daa89 --- /dev/null +++ b/bitnami/postgresql-repmgr/9.6/ol-7/prebuildfs/build/install-gosu.sh @@ -0,0 +1,10 @@ +#!/bin/bash + +VERSION="1.11" +SHA256="0b843df6d86e270c5b0f5cbd3c326a04e18f4b7f9b8457fa497b0454c4b138d7" + +curl --silent -L "https://github.com/tianon/gosu/releases/download/${VERSION}/gosu-amd64" > "/usr/local/bin/gosu" +echo "$SHA256" "/usr/local/bin/gosu" | sha256sum --check +chmod u+x "/usr/local/bin/gosu" +mkdir -p "/opt/bitnami/licenses" +curl --silent -L "https://raw.githubusercontent.com/tianon/gosu/master/LICENSE" > "/opt/bitnami/licenses/gosu-${VERSION}.txt" diff --git a/bitnami/postgresql-repmgr/README.md b/bitnami/postgresql-repmgr/README.md index e62ec3e70c72..285d6f863a24 100644 --- a/bitnami/postgresql-repmgr/README.md +++ b/bitnami/postgresql-repmgr/README.md @@ -49,7 +49,7 @@ Learn more about the Bitnami tagging policy and the difference between rolling t * [`11-debian-9`, `11.6.0-debian-9-r47`, `11`, `11.6.0`, `11.6.0-r47`, `latest` (11/debian-9/Dockerfile)](https://github.com/bitnami/bitnami-docker-postgresql-repmgr/blob/11.6.0-debian-9-r47/11/debian-9/Dockerfile) * [`10-ol-7`, `10.11.0-ol-7-r66` (10/ol-7/Dockerfile)](https://github.com/bitnami/bitnami-docker-postgresql-repmgr/blob/10.11.0-ol-7-r66/10/ol-7/Dockerfile) * [`10-debian-9`, `10.11.0-debian-9-r52`, `10`, `10.11.0`, `10.11.0-r52` (10/debian-9/Dockerfile)](https://github.com/bitnami/bitnami-docker-postgresql-repmgr/blob/10.11.0-debian-9-r52/10/debian-9/Dockerfile) -* [`9.6-ol-7`, `9.6.16-ol-7-r66` (9.6/ol-7/Dockerfile)](https://github.com/bitnami/bitnami-docker-postgresql-repmgr/blob/9.6.16-ol-7-r66/9.6/ol-7/Dockerfile) +* [`9.6-ol-7`, `9.6.16-ol-7-r67` (9.6/ol-7/Dockerfile)](https://github.com/bitnami/bitnami-docker-postgresql-repmgr/blob/9.6.16-ol-7-r67/9.6/ol-7/Dockerfile) * [`9.6-debian-9`, `9.6.16-debian-9-r52`, `9.6`, `9.6.16`, `9.6.16-r52` (9.6/debian-9/Dockerfile)](https://github.com/bitnami/bitnami-docker-postgresql-repmgr/blob/9.6.16-debian-9-r52/9.6/debian-9/Dockerfile) Subscribe to project updates by watching the [bitnami/postgresql-repmgr GitHub repo](https://github.com/bitnami/bitnami-docker-postgresql-repmgr).