Namespace
library
Image / Tag
postgres:9.3.15-alpine
Content Digest
sha256:21a4ef830e308c2139add3f1235d9c0d8c04e8ab5762a3baab7e6aeae62b8401
Details
Created

2017-01-27 23:41:52 UTC

Size

12.9 MB

Content Digest
Environment
LANG

en_US.utf8

PATH

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

PGDATA

/var/lib/postgresql/data

PG_MAJOR

9.3

PG_SHA256

a9fcba1446a93aa95e3e1b6535756f0472d10b0f267a0845f8b2b29f89de5c4f

PG_VERSION

9.3.15


Layers

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

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

[#002] sha256:8f7c6ba65d3791f8a490790b68b3b3b861da46f09564145b8d7ba9791cbb437f - 85.91% (11.1 MB)

[#003] sha256:286e58dc282664f7eb8c06253cb4a52b736c1d2eef364ee2d5925ba31dacb934 - 0.05% (6.35 KB)

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

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

[#006] sha256:5e36127f4c87f2e7ef4801c04fa056c07941f108ca314fe422ac215b5f842f1b - 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:19:17 UTC

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

2017-01-04 21:19:18 UTC

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

2017-01-04 21:19:18 UTC

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

2017-01-27 23:41:46 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:41:47 UTC

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

2017-01-27 23:41:48 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:41:48 UTC

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

2017-01-27 23:41:49 UTC

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

2017-01-27 23:41:50 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:41:50 UTC

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

2017-01-27 23:41:51 UTC

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

2017-01-27 23:41:51 UTC

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

2017-01-27 23:41:51 UTC

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

2017-01-27 23:41:52 UTC

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