Namespace
library
Image / Tag
postgres:9.5.6-alpine
Content Digest
sha256:4b3671742b41c78e4499bcdbf3d22a776f5c7a02ff5d00766919c7159e78a293
Details
Created

2017-05-11 18:00:00 UTC

Size

13.7 MB

Content Digest
Environment
LANG

en_US.utf8

PATH

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

PGDATA

/var/lib/postgresql/data

PG_MAJOR

9.5

PG_SHA256

bb9e5f6d34e20783e96e10c1d6c0c09c31749e802aaa46b793ce2522725ae12f

PG_VERSION

9.5.6


Layers

[#000] sha256:cfc728c1c5584d8e0ae69368fc9c34d54d72651355573ba42554c2469a0a6299 - 13.69% (1.88 MB)

[#001] sha256:b749e72b24f9914e9c03f0cd76903382375d2080c19aacdb90e2a56267b64af7 - 0.0% (142 Bytes)

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

[#003] sha256:1ec02b601f237b703b6756b03cffe0cdb0fffadf5f9401a1bf2819ced900764e - 86.24% (11.8 MB)

[#004] sha256:b513a42f9c5780e9dd3a6143042c62a4597bd823f1f6330ff1d652d504e1e1a6 - 0.05% (6.63 KB)

[#005] sha256:1c404fe49842ddd6c70c331f2eda53cb0be28f74ef62beffd7bb6b8322c332c5 - 0.0% (144 Bytes)

[#006] sha256:296d2963c440a6bb6fc5e2ac8ffde72a5e0c53fd208d0d8ff446e50c487ce3f9 - 0.0% (160 Bytes)

[#007] sha256:bf8213592166b6ab9ef695941e008d22565a5343e4275484125f6dde1b05e396 - 0.01% (1.75 KB)

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


History
2017-05-10 16:38:16 UTC

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

2017-05-10 16:38:17 UTC

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

2017-05-10 22:44:19 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-05-10 22:44:20 UTC

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

2017-05-10 22:44:21 UTC

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

2017-05-10 22:54:06 UTC

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

2017-05-10 22:54:07 UTC

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

2017-05-10 22:54:08 UTC

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

2017-05-11 17:59:48 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 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 "http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.guess;hb=HEAD" && wget -O config/config.sub "http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.sub;hb=HEAD" && ./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 --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-05-11 17:59:50 UTC

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

2017-05-11 17:59:51 UTC

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

2017-05-11 17:59:52 UTC

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

2017-05-11 17:59:53 UTC

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

2017-05-11 17:59:55 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-05-11 17:59:55 UTC

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

2017-05-11 17:59:57 UTC

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

2017-05-11 17:59:58 UTC

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

2017-05-11 17:59:59 UTC

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

2017-05-11 18:00:00 UTC

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

2017-05-11 18:00:00 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