Namespace
library
Image / Tag
postgres:9.3.16-alpine
Content Digest
sha256:7abcaccde9698501b92cb4bd789308509cef346e0917698a061f9fee86803f4f
Details
Created

2017-05-11 18:08:43 UTC

Size

13.3 MB

Content Digest
Environment
LANG

en_US.utf8

OSSP_UUID_SHA256

11a615225baa5f8bb686824423f50e4427acd3f70d394765bdff32801f0fd5b0

OSSP_UUID_VERSION

1.6.2

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

845f5e4ac8cf026b6a77c5a180a2fe869f51e9d06acf8d0365b05505a2c66873

PG_VERSION

9.3.16


Layers

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

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

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

[#003] sha256:556ccf90b6d73f73358d0e3438ee938b01b2ec7c04492120d90ddbe81db5b74f - 85.82% (11.4 MB)

[#004] sha256:8648c3db7aede6d73058f2e40a0120978b0b623081211a6305b91cb5cd3c67d8 - 0.05% (6.31 KB)

[#005] sha256:2abd33f3824cff36db3a51fb545daf38b0d6f05c23d20896b0728a212517bc08 - 0.0% (144 Bytes)

[#006] sha256:4ab1fa2564df5de985f03c69876f6d3528c4d515ba9fac3245598f2e311d4206 - 0.0% (160 Bytes)

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

[#008] sha256:204b274d0738921a44f634dc9d5b6e57c7ef6393a20544783a8b218513ae7d37 - 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:49:22 UTC

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

2017-05-10 22:49:23 UTC

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

2017-05-10 22:49:24 UTC

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

2017-05-10 22:49:25 UTC

/bin/sh -c #(nop) ENV OSSP_UUID_VERSION=1.6.2

2017-05-10 22:49:25 UTC

/bin/sh -c #(nop) ENV OSSP_UUID_SHA256=11a615225baa5f8bb686824423f50e4427acd3f70d394765bdff32801f0fd5b0

2017-05-11 18:08:26 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 && wget -O uuid.tar.gz "https://www.mirrorservice.org/sites/ftp.ossp.org/pkg/lib/uuid/uuid-$OSSP_UUID_VERSION.tar.gz" && echo "$OSSP_UUID_SHA256 *uuid.tar.gz" | sha256sum -c - && mkdir -p /usr/src/ossp-uuid && tar --extract --file uuid.tar.gz --directory /usr/src/ossp-uuid --strip-components 1 && rm uuid.tar.gz && ( cd /usr/src/ossp-uuid && gnuArch="$(dpkg-architecture --query DEB_BUILD_GNU_TYPE)" && wget -O config.guess "http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.guess;hb=HEAD" && wget -O config.sub "http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.sub;hb=HEAD" && ./configure --build="$gnuArch" --prefix=/usr/local && make -j "$(nproc)" && make install ) && rm -rf /usr/src/ossp-uuid && 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 --disable-rpath --with-ossp-uuid --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 18:08:29 UTC

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

2017-05-11 18:08:31 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 18:08:32 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-05-11 18:08:33 UTC

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

2017-05-11 18:08:35 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 18:08:36 UTC

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

2017-05-11 18:08:38 UTC

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

2017-05-11 18:08:40 UTC

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

2017-05-11 18:08:41 UTC

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

2017-05-11 18:08:42 UTC

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

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