27 lines
1.0 KiB
Docker
27 lines
1.0 KiB
Docker
FROM bitnami/centos-extras-base:7-r251
|
|
LABEL maintainer "Bitnami <containers@bitnami.com>"
|
|
|
|
ENV BITNAMI_PKG_CHMOD="-R g+rwX" \
|
|
HOME="/" \
|
|
OS_ARCH="x86_64" \
|
|
OS_FLAVOUR="centos-7" \
|
|
OS_NAME="linux"
|
|
|
|
# Install required system packages and dependencies
|
|
RUN install_packages cyrus-sasl-lib glibc keyutils-libs krb5-libs libcom_err libedit libgcc libicu libselinux libstdc++ libuuid libxml2 libxslt ncurses-libs nspr nss nss-softokn-freebl nss-util openldap openssl-libs pcre sqlite xz-libs zlib
|
|
RUN . ./libcomponent.sh && component_unpack "postgresql-repmgr" "12.1.0-2" --checksum ce3905a5fd2331c9d4e66617fc7ccde7f38b6ea4d940717cb4c32ee53aa5a314
|
|
|
|
COPY rootfs /
|
|
RUN /postunpack.sh
|
|
ENV BITNAMI_APP_NAME="postgresql-repmgr" \
|
|
BITNAMI_IMAGE_VERSION="12.1.0-centos-7-r49" \
|
|
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"
|
|
|
|
EXPOSE 5432
|
|
|
|
USER 1001
|
|
ENTRYPOINT [ "/entrypoint.sh" ]
|
|
CMD [ "/run.sh" ]
|