Namespace
library
Image / Tag
postgres:9.5.9-alpine
Content Digest
sha256:7c59384860ed73b0739433b839929b9b4e7637da3549f5b3a5d0a45f8383c91d
Details
Created

2017-11-04 09:17:39 UTC

Size

13.7 MB

Content Digest
Environment
LANG

en_US.utf8

PATH

/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin

PGDATA

/var/lib/postgresql/data

PG_MAJOR

9.5

PG_SHA256

e98cd5c664ab5a05cb83618ba8078647815cb71f7a60437f0322c7518727cdd4

PG_VERSION

9.5.9


Layers

[#000] sha256:b1f00a6a160cd3696edba6f13ebd1d6a5808216a78ec4b753444ab8f30483b1f - 13.68% (1.88 MB)

[#001] sha256:25a88a2feda9fd9c11a4e26126bdb3c7b35e03f06fc60232e8146ab66c6e3fbe - 0.0% (148 Bytes)

[#002] sha256:bcd866a92fb72cb1d8102afcef8d01e8751f657b317d150bfaa34a8fe61b2f11 - 0.0% (115 Bytes)

[#003] sha256:dd1c4fc2ee2d8edc90b34cbdcaafe5d1d1564dfa16dc7974257e7e764336bea0 - 86.25% (11.8 MB)

[#004] sha256:0a0ba15baed9ec128957223479c9486909f59cf0779bbf39f22c3d8c639f698f - 0.05% (6.64 KB)

[#005] sha256:52f1e1031db4386503131f8610ba599fe30ba04f5183c2de2650cfd0683ecc6b - 0.0% (152 Bytes)

[#006] sha256:89c6166c712ffb46ba867e980bd1c86b0bd9b1f9b8dcf16580aae33c9d3ad805 - 0.0% (170 Bytes)

[#007] sha256:ef3046776174929270783be9f73ce8898116803a1efdc59373df45e647536393 - 0.01% (1.76 KB)

[#008] sha256:ea51bbb5bbed3bf473b4ee60534e88c967d31fdd3cce24f14eb54bf55a1588dd - 0.0% (121 Bytes)


History
2017-11-03 22:10:27 UTC

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

2017-11-03 22:10:27 UTC

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

2017-11-04 09:10:49 UTC

/bin/sh -c set -ex; postgresHome="$(getent passwd postgres)"; postgresHome="$(echo "$postgresHome" | cut -d: -f6)"; [ "$postgresHome" = '/var/lib/postgresql' ]; mkdir -p "$postgresHome"; chown -R postgres:postgres "$postgresHome"

2017-11-04 09:10:49 UTC

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

2017-11-04 09:10:50 UTC

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

2017-11-04 09:14:42 UTC

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

2017-11-04 09:14:42 UTC

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

2017-11-04 09:14:42 UTC

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

2017-11-04 09:17:35 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 coreutils dpkg-dev dpkg flex gcc libc-dev libedit-dev libxml2-dev libxslt-dev make openssl-dev perl perl-ipc-run 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 && gnuArch="$(dpkg-architecture --query DEB_BUILD_GNU_TYPE)" && wget -O config/config.guess 'https://git.savannah.gnu.org/cgit/config.git/plain/config.guess?id=7d3d27baf8107b630586c962c057e22149653deb' && wget -O config/config.sub 'https://git.savannah.gnu.org/cgit/config.git/plain/config.sub?id=7d3d27baf8107b630586c962c057e22149653deb' && ./configure --build="$gnuArch" --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-includes=/usr/local/include --with-libraries=/usr/local/lib --with-openssl --with-libxml --with-libxslt && make -j "$(nproc)" world && make install-world && make -C contrib install && runDeps="$( scanelf --needed --nobanner --format '%n#p' --recursive /usr/local | tr ',' '\n' | sort -u | awk 'system("[ -e /usr/local/lib/" $1 " ]") == 0 { next } { print "so:" $1 }' )" && 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-11-04 09:17:36 UTC

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

2017-11-04 09:17:37 UTC

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

2017-11-04 09:17:37 UTC

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

2017-11-04 09:17:37 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-11-04 09:17:38 UTC

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

2017-11-04 09:17:38 UTC

/bin/sh -c #(nop) COPY file:d5038a27fbcfa2f7c3a5e92ffdbfda1676a7a65ecb52a9b377a6041a59e1c1d7 in /usr/local/bin/

2017-11-04 09:17:38 UTC

/bin/sh -c ln -s usr/local/bin/docker-entrypoint.sh / # backwards compat

2017-11-04 09:17:39 UTC

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

2017-11-04 09:17:39 UTC

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

2017-11-04 09:17:39 UTC

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

Danger Zone
Delete Tag

Please be careful as this will not just delete the reference but also the actual content!

For example when you have latest and v1.2.3 both pointing to the same image
the deletion of latest will also permanently remove v1.2.3.

Delete