Namespace
library
Image / Tag
postgres:9.4.10-alpine
Content Digest
sha256:25620b6565182d95dee9ab09c9e60d8aa277af5005901d7d7a5648d97f8170af
Details
Created

2017-01-27 23:39:49 UTC

Size

13.2 MB

Content Digest
Environment
LANG

en_US.utf8

PATH

/usr/lib/postgresql/9.4/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin

PGDATA

/var/lib/postgresql/data

PG_MAJOR

9.4

PG_SHA256

7061678bed1981c681ce54c76b98b6ec17743f090a9775104a45e7e1a8826ecf

PG_VERSION

9.4.10


Layers

[#000] sha256:0a8490d0dfd399b3a50e9aaa81dba0d425c3868762d46526b41be00886bcc28b - 13.71% (1.81 MB)

[#001] sha256:b6475055d17e005d634c9d02e63e4154e7c4435a6437afa80bef303e6c6efb7d - 0.0% (114 Bytes)

[#002] sha256:321042f4ba43d57802dd9e52181aafec974f4cae97a8a1eaaed1e19bf0178dea - 86.23% (11.4 MB)

[#003] sha256:e57a83612bdc2011047673cd8704ca1bd982f0ecc3d085e215f31e79257f310f - 0.05% (6.52 KB)

[#004] sha256:1d288597ea1e32b494a084459b2fbd2a3adeb8fbe72e2bec5a9c42029294df45 - 0.0% (145 Bytes)

[#005] sha256:a59b1ef7b866df4d5cf7ef5f2bcb74685077857b2224a4810f8b0af0fb3be661 - 0.0% (164 Bytes)

[#006] sha256:e86b65a4c20733ee6b5fe9db0a3990f80f82e2eb5c98e3be010b1663b5d3a5f0 - 0.01% (1.58 KB)


History
2016-12-27 18:17:25 UTC

/bin/sh -c #(nop) ADD file:92ab746eb22dd3ed2b87469c719adf3c1bed7302653bbd76baafd7cfd95e911e in /

2017-01-04 21:12:51 UTC

/bin/sh -c #(nop) ENV LANG=en_US.utf8

2017-01-04 21:12:52 UTC

/bin/sh -c mkdir /docker-entrypoint-initdb.d

2017-01-04 21:17:16 UTC

/bin/sh -c #(nop) ENV PG_MAJOR=9.4

2017-01-04 21:17:17 UTC

/bin/sh -c #(nop) ENV PG_VERSION=9.4.10

2017-01-04 21:17:17 UTC

/bin/sh -c #(nop) ENV PG_SHA256=7061678bed1981c681ce54c76b98b6ec17743f090a9775104a45e7e1a8826ecf

2017-01-27 23:39:41 UTC

/bin/sh -c set -ex && apk add --no-cache --virtual .fetch-deps ca-certificates openssl tar && wget -O postgresql.tar.bz2 "https://ftp.postgresql.org/pub/source/v$PG_VERSION/postgresql-$PG_VERSION.tar.bz2" && echo "$PG_SHA256 *postgresql.tar.bz2" | sha256sum -c - && mkdir -p /usr/src/postgresql && tar --extract --file postgresql.tar.bz2 --directory /usr/src/postgresql --strip-components 1 && rm postgresql.tar.bz2 && apk add --no-cache --virtual .build-deps bison flex gcc libc-dev libedit-dev libxml2-dev libxslt-dev make openssl-dev perl util-linux-dev zlib-dev && cd /usr/src/postgresql && awk '$1 == "#define" && $2 == "DEFAULT_PGSOCKET_DIR" && $3 == "\"/tmp\"" { $3 = "\"/var/run/postgresql\""; print; next } { print }' src/include/pg_config_manual.h > src/include/pg_config_manual.h.new && grep '/var/run/postgresql' src/include/pg_config_manual.h.new && mv src/include/pg_config_manual.h.new src/include/pg_config_manual.h && ./configure --enable-integer-datetimes --enable-thread-safety --enable-tap-tests --disable-rpath --with-uuid=e2fs --with-gnu-ld --with-pgport=5432 --with-system-tzdata=/usr/share/zoneinfo --prefix=/usr/local --with-openssl --with-libxml --with-libxslt && make -j "$(getconf _NPROCESSORS_ONLN)" world && make install-world && make -C contrib install && runDeps="$( scanelf --needed --nobanner --recursive /usr/local | awk '{ gsub(/,/, "\nso:", $2); print "so:" $2 }' | sort -u | xargs -r apk info --installed | sort -u )" && apk add --no-cache --virtual .postgresql-rundeps $runDeps bash su-exec tzdata && apk del .fetch-deps .build-deps && cd / && rm -rf /usr/src/postgresql /usr/local/share/doc /usr/local/share/man && find /usr/local -name '*.a' -delete

2017-01-27 23:39:43 UTC

/bin/sh -c sed -ri "s!^#?(listen_addresses)\s*=\s*\S+.*!\1 = '*'!" /usr/local/share/postgresql/postgresql.conf.sample

2017-01-27 23:39:44 UTC

/bin/sh -c mkdir -p /var/run/postgresql && chown -R postgres:postgres /var/run/postgresql && chmod g+s /var/run/postgresql

2017-01-27 23:39:44 UTC

/bin/sh -c #(nop) ENV PATH=/usr/lib/postgresql/9.4/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin

2017-01-27 23:39:45 UTC

/bin/sh -c #(nop) ENV PGDATA=/var/lib/postgresql/data

2017-01-27 23:39:46 UTC

/bin/sh -c mkdir -p "$PGDATA" && chown -R postgres:postgres "$PGDATA" && chmod 777 "$PGDATA" # this 777 will be replaced by 700 at runtime (allows semi-arbitrary "--user" values)

2017-01-27 23:39:46 UTC

/bin/sh -c #(nop) VOLUME [/var/lib/postgresql/data]

2017-01-27 23:39:47 UTC

/bin/sh -c #(nop) COPY file:f9a2410e9ac1ac1f8eaaa7097935e1bc01697a3aea28753ca0ff43bcb928e743 in /

2017-01-27 23:39:48 UTC

/bin/sh -c #(nop) ENTRYPOINT ["/docker-entrypoint.sh"]

2017-01-27 23:39:48 UTC

/bin/sh -c #(nop) EXPOSE 5432/tcp

2017-01-27 23:39:49 UTC

/bin/sh -c #(nop) CMD ["postgres"]