Namespace
library
Image / Tag
postgres:9.6.7-alpine
Content Digest
sha256:7e5e82e43bd49bf311927f8bd13e5982938025d8a3dda6834beb0a0e1c6527a6
Details
Created

2018-02-09 00:02:11 UTC

Size

14 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.6

PG_SHA256

2ebe3df3c1d1eab78023bdc3ffa55a154aa84300416b075ef996598d78a624c6

PG_VERSION

9.6.7


Layers

[#000] sha256:550fe1bea624a5c62551cf09f3aa10886eed133794844af1dfb775118309387e - 13.4% (1.88 MB)

[#001] sha256:04bf519c70dfc41fc325a4d9771bb0f55ffd85a4b86bfa1d7b3bbc69d2fc2d8c - 0.0% (148 Bytes)

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

[#003] sha256:669d481ea2e8a1a6dbd936dac9d7fbcfbccdba361db7be5fd2ecf9b867d696ca - 86.53% (12.1 MB)

[#004] sha256:5a1d076dc72df60291eb8bc39d2aed6bfb66dec0e9722e024c867ad99c93cf8d - 0.05% (6.91 KB)

[#005] sha256:5dddf80a18f56bb4bffdf48b95a6d56a8636649e82fa57f8d14e9e5a9db7d145 - 0.0% (154 Bytes)

[#006] sha256:647586d6cf373425e2cfaade000641e0817f5ff8638a0f03b0e6ea3df785e465 - 0.0% (170 Bytes)

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

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


History
2018-01-09 21:13:01 UTC

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

2018-01-09 21:13:01 UTC

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

2018-01-10 04:26:41 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"

2018-01-10 04:26:41 UTC

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

2018-01-10 04:26:42 UTC

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

2018-01-10 04:26:42 UTC

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

2018-02-08 23:59:53 UTC

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

2018-02-08 23:59:53 UTC

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

2018-02-09 00:02:07 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

2018-02-09 00:02:08 UTC

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

2018-02-09 00:02:08 UTC

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

2018-02-09 00:02:09 UTC

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

2018-02-09 00:02:09 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)

2018-02-09 00:02:10 UTC

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

2018-02-09 00:02:10 UTC

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

2018-02-09 00:02:11 UTC

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

2018-02-09 00:02:11 UTC

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

2018-02-09 00:02:11 UTC

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

2018-02-09 00:02:11 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