mirror of
https://github.com/bitnami/containers.git
synced 2026-03-01 06:57:49 +08:00
26 lines
924 B
Docker
26 lines
924 B
Docker
FROM bitnami/minideb-extras:jessie-r53
|
|
LABEL maintainer "Bitnami <containers@bitnami.com>"
|
|
|
|
# Install required system packages and dependencies
|
|
RUN install_packages libbsd0 libc6 libedit2 liblzma5 libssl1.0.0 libtinfo5 libxml2 libxslt1.1 zlib1g
|
|
RUN bitnami-pkg unpack postgresql-10.4.0-0 --checksum d31a7cf524c0e1c1abb0e8b9511c72619b155b52fdfbb967565ad476cf4072fc
|
|
|
|
COPY rootfs /
|
|
ENV BITNAMI_APP_NAME="postgresql" \
|
|
BITNAMI_IMAGE_VERSION="10.4.0-r3" \
|
|
PATH="/opt/bitnami/postgresql/bin:$PATH" \
|
|
POSTGRESQL_DATABASE="" \
|
|
POSTGRESQL_MASTER_HOST="" \
|
|
POSTGRESQL_MASTER_PORT_NUMBER="5432" \
|
|
POSTGRESQL_PASSWORD="" \
|
|
POSTGRESQL_PORT_NUMBER="5432" \
|
|
POSTGRESQL_REPLICATION_MODE="master" \
|
|
POSTGRESQL_REPLICATION_PASSWORD="" \
|
|
POSTGRESQL_REPLICATION_USER="" \
|
|
POSTGRESQL_USERNAME="postgres"
|
|
|
|
EXPOSE 5432
|
|
|
|
ENTRYPOINT ["/app-entrypoint.sh"]
|
|
CMD ["nami","start","--foreground","postgresql"]
|