mirror of
https://github.com/bitnami/containers.git
synced 2026-02-28 15:37:26 +08:00
18 lines
552 B
Docker
18 lines
552 B
Docker
FROM gcr.io/stacksmith-images/ubuntu:14.04-r10
|
|
MAINTAINER Bitnami <containers@bitnami.com>
|
|
|
|
ENV BITNAMI_IMAGE_VERSION=9.5.3-r6 \
|
|
BITNAMI_APP_NAME=postgresql \
|
|
BITNAMI_APP_USER=postgres
|
|
|
|
RUN bitnami-pkg unpack postgresql-9.5.3-6 --checksum 8125346ab11238789e0f30b525a41d72154ed1d81facfa8ce6f1d8169caae9e4
|
|
ENV PATH=/opt/bitnami/$BITNAMI_APP_NAME/sbin:/opt/bitnami/$BITNAMI_APP_NAME/bin:$PATH
|
|
|
|
COPY rootfs/ /
|
|
ENTRYPOINT ["/app-entrypoint.sh"]
|
|
CMD ["nami", "start", "--foreground", "postgresql"]
|
|
|
|
VOLUME ["/bitnami/$BITNAMI_APP_NAME"]
|
|
|
|
EXPOSE 5432
|