2017-07-31 19:07:09 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_SHA256fca055481875d1c49e31c28443f56472a1474b3fbe25b7ae64440c6118f82e64
PG_VERSION9.4.12
[#000] sha256:019300c8a437a2d60248f27c206795930626dfe7ddc0323d734143bd5eb131a6 - 13.83% (1.88 MB)
[#001] sha256:1b9e338691a687b0c350212a5a1f42c7547f1a5dfd9e6d98323c120128db5303 - 0.0% (141 Bytes)
[#002] sha256:d376e6c136f7de96c77c423f7ce1f4c82a17b782a33febc67f6f021abebf26f2 - 0.0% (115 Bytes)
[#003] sha256:e1bea0bc24cb168162e30229f6299a54ac7c3add0ab9234ceab493c7fe36c3c4 - 86.1% (11.7 MB)
[#004] sha256:e8529f8e43281f21666d90c19274e614ac271eba12eaf367fe9063050d120c55 - 0.05% (6.49 KB)
[#005] sha256:0eb9916c27fc11743702814803dc7ea6b442a052e0f135069377e2482e6048a9 - 0.0% (146 Bytes)
[#006] sha256:4b4fbc8fb2cc8bb54d6bec0e1f914a0be4b4eb37acdeddd7068cb706821fb25d - 0.0% (163 Bytes)
[#007] sha256:adb5ffebe137f6efb4cdcd6628efb75a425ce0b08cf09197726ea91490880b32 - 0.01% (1.75 KB)
[#008] sha256:3902c4bd8070c81c7295e30513060fe4c9ac46cdb4f0cec38fa645227f29b25b - 0.0% (120 Bytes)
/bin/sh -c #(nop) ADD file:9d67752278c0e5a1298cd2d6603ebaaab2aa342e27ddf191ee0fde138f82698c in /
2017-06-27 18:39:45 UTC/bin/sh -c #(nop) CMD ["/bin/sh"]
2017-06-28 21:37:32 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-06-28 21:37:33 UTC/bin/sh -c #(nop) ENV LANG=en_US.utf8
2017-06-28 21:37:34 UTC/bin/sh -c mkdir /docker-entrypoint-initdb.d
2017-06-28 21:45:57 UTC/bin/sh -c #(nop) ENV PG_MAJOR=9.4
2017-06-28 21:45:58 UTC/bin/sh -c #(nop) ENV PG_VERSION=9.4.12
2017-06-28 21:45:59 UTC/bin/sh -c #(nop) ENV PG_SHA256=fca055481875d1c49e31c28443f56472a1474b3fbe25b7ae64440c6118f82e64
2017-07-14 23:02:31 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 --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-07-14 23:02:32 UTC/bin/sh -c sed -ri "s!^#?(listen_addresses)\s*=\s*\S+.*!\1 = '*'!" /usr/local/share/postgresql/postgresql.conf.sample
2017-07-14 23:02:33 UTC/bin/sh -c mkdir -p /var/run/postgresql && chown -R postgres:postgres /var/run/postgresql && chmod 2777 /var/run/postgresql
2017-07-14 23:02:33 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-07-14 23:02:34 UTC/bin/sh -c #(nop) ENV PGDATA=/var/lib/postgresql/data
2017-07-14 23:02: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-07-14 23:02:35 UTC/bin/sh -c #(nop) VOLUME [/var/lib/postgresql/data]
2017-07-31 19:07:08 UTC/bin/sh -c #(nop) COPY file:d5038a27fbcfa2f7c3a5e92ffdbfda1676a7a65ecb52a9b377a6041a59e1c1d7 in /usr/local/bin/
2017-07-31 19:07:09 UTC/bin/sh -c ln -s usr/local/bin/docker-entrypoint.sh / # backwards compat
2017-07-31 19:07:09 UTC/bin/sh -c #(nop) ENTRYPOINT ["docker-entrypoint.sh"]
2017-07-31 19:07:09 UTC/bin/sh -c #(nop) EXPOSE 5432/tcp
2017-07-31 19:07: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.