2017-05-11 17:56:09 UTC
14 MB
en_US.utf8
PATH/usr/lib/postgresql/9.6/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
PGDATA/var/lib/postgresql/data
PG_MAJOR9.6
PG_SHA2560187b5184be1c09034e74e44761505e52357248451b0c854dddec6c231fe50c9
PG_VERSION9.6.2
[#000] sha256:cfc728c1c5584d8e0ae69368fc9c34d54d72651355573ba42554c2469a0a6299 - 13.43% (1.88 MB)
[#001] sha256:b749e72b24f9914e9c03f0cd76903382375d2080c19aacdb90e2a56267b64af7 - 0.0% (142 Bytes)
[#002] sha256:0abdb8c9c36be26aa6f66e5496998f32a5ab79b3b65ce2ffe0abdf2c877ebbeb - 0.0% (115 Bytes)
[#003] sha256:90ca3848ef7e941c5d0331d47b7d6965447a5f5ea2cfcfe918691a581c2c80c9 - 86.51% (12.1 MB)
[#004] sha256:3ecf037a5034680daf3817d74777183770ec2476a5bafa9337102a911b5a219a - 0.05% (6.9 KB)
[#005] sha256:9327e3c5554cc5a23515e10de81b331545a137b4f4f03b743af0f41507de6f55 - 0.0% (144 Bytes)
[#006] sha256:3133782bad17fd9ba229d2fe66a4eb39ae967a0c067de0a4549756316aea956f - 0.0% (161 Bytes)
[#007] sha256:143bac6c8910694cd99059b7dcdc039e6584bd8f609cbc75dfdbb3c6dc515e7d - 0.01% (1.75 KB)
[#008] sha256:d6da9f4bd18e38d2e2a3276dbb184522ff6cc3cea461216ab977205c2cb400e2 - 0.0% (121 Bytes)
/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:44:22 UTC/bin/sh -c #(nop) ENV PG_MAJOR=9.6
2017-05-10 22:44:23 UTC/bin/sh -c #(nop) ENV PG_VERSION=9.6.2
2017-05-10 22:44:24 UTC/bin/sh -c #(nop) ENV PG_SHA256=0187b5184be1c09034e74e44761505e52357248451b0c854dddec6c231fe50c9
2017-05-11 17:55:52 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:55:55 UTC/bin/sh -c sed -ri "s!^#?(listen_addresses)\s*=\s*\S+.*!\1 = '*'!" /usr/local/share/postgresql/postgresql.conf.sample
2017-05-11 17:55:57 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:55:58 UTC/bin/sh -c #(nop) ENV PATH=/usr/lib/postgresql/9.6/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
2017-05-11 17:55:59 UTC/bin/sh -c #(nop) ENV PGDATA=/var/lib/postgresql/data
2017-05-11 17:56:02 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:56:03 UTC/bin/sh -c #(nop) VOLUME [/var/lib/postgresql/data]
2017-05-11 17:56:04 UTC/bin/sh -c #(nop) COPY file:b7f16d53ff9b4f99d3e3c8fd87c7ffb72ffdcb5ddd9b0773ca122008aba3de5d in /usr/local/bin/
2017-05-11 17:56:06 UTC/bin/sh -c ln -s usr/local/bin/docker-entrypoint.sh / # backwards compat
2017-05-11 17:56:07 UTC/bin/sh -c #(nop) ENTRYPOINT ["docker-entrypoint.sh"]
2017-05-11 17:56:08 UTC/bin/sh -c #(nop) EXPOSE 5432/tcp
2017-05-11 17:56:09 UTC/bin/sh -c #(nop) CMD ["postgres"]
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.