2017-05-11 18:04:04 UTC
13.6 MB
en_US.utf8
PATH/usr/lib/postgresql/9.4/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
PGDATA/var/lib/postgresql/data
PG_MAJOR9.4
PG_SHA256e3eb51d045c180b03d2de1f0c3af9356e10be49448e966ca01dfc2c6d1cc9d23
PG_VERSION9.4.11
[#000] sha256:cfc728c1c5584d8e0ae69368fc9c34d54d72651355573ba42554c2469a0a6299 - 13.83% (1.88 MB)
[#001] sha256:b749e72b24f9914e9c03f0cd76903382375d2080c19aacdb90e2a56267b64af7 - 0.0% (142 Bytes)
[#002] sha256:0abdb8c9c36be26aa6f66e5496998f32a5ab79b3b65ce2ffe0abdf2c877ebbeb - 0.0% (115 Bytes)
[#003] sha256:419fb3903bbc01c3595a40ea3f4dbe77c0321ebeb81abce19459d44629720926 - 86.11% (11.7 MB)
[#004] sha256:ee4a63a9f357e9664eea878551684c89198d3b8ad8342e3eae7d209fc5b48287 - 0.05% (6.49 KB)
[#005] sha256:f633f8ae62e21162dda941970c9cdf624f359e0f6605295279c643ac440a6f0e - 0.0% (143 Bytes)
[#006] sha256:a4f55b1dc806b71a23f2da6e0277aa8e3aa10d4b98315122665689b36b12f0d6 - 0.0% (161 Bytes)
[#007] sha256:77fe5620511da2514bc16d75a1def278c61416a1b04b063b63f9d175b05f4fbe - 0.01% (1.75 KB)
[#008] sha256:7a5422fae1b3e96d5d79592e1437763f4614bd7d0bdad6c07ed5a34e0ffdc053 - 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:51:46 UTC/bin/sh -c #(nop) ENV PG_MAJOR=9.4
2017-05-10 22:51:47 UTC/bin/sh -c #(nop) ENV PG_VERSION=9.4.11
2017-05-10 22:51:47 UTC/bin/sh -c #(nop) ENV PG_SHA256=e3eb51d045c180b03d2de1f0c3af9356e10be49448e966ca01dfc2c6d1cc9d23
2017-05-11 18:03:50 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 18:03:52 UTC/bin/sh -c sed -ri "s!^#?(listen_addresses)\s*=\s*\S+.*!\1 = '*'!" /usr/local/share/postgresql/postgresql.conf.sample
2017-05-11 18:03:54 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:03:54 UTC/bin/sh -c #(nop) ENV PATH=/usr/lib/postgresql/9.4/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
2017-05-11 18:03:55 UTC/bin/sh -c #(nop) ENV PGDATA=/var/lib/postgresql/data
2017-05-11 18:03:57 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:03:58 UTC/bin/sh -c #(nop) VOLUME [/var/lib/postgresql/data]
2017-05-11 18:04:00 UTC/bin/sh -c #(nop) COPY file:b7f16d53ff9b4f99d3e3c8fd87c7ffb72ffdcb5ddd9b0773ca122008aba3de5d in /usr/local/bin/
2017-05-11 18:04:02 UTC/bin/sh -c ln -s usr/local/bin/docker-entrypoint.sh / # backwards compat
2017-05-11 18:04:02 UTC/bin/sh -c #(nop) ENTRYPOINT ["docker-entrypoint.sh"]
2017-05-11 18:04:04 UTC/bin/sh -c #(nop) EXPOSE 5432/tcp
2017-05-11 18:04:04 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.