2017-09-26 01:07:13 UTC
14 MB
en_US.utf8
PATH/usr/lib/postgresql/10/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
PGDATA/var/lib/postgresql/data
PG_MAJOR10
PG_SHA256ebdb44dccb64a31c9c524f996121e7d58c21045826d6c36e3a5ea46afbb2445b
PG_VERSION10rc1
[#000] sha256:88286f41530e93dffd4b964e1db22ce4939fffa4a4c665dab8591fbab03d4926 - 13.52% (1.9 MB)
[#001] sha256:fa0663cc3571cd215c0ad68c5d378c230336fba3c7f5a2391ce5790bde7a0a3d - 0.0% (148 Bytes)
[#002] sha256:722e8fb4277b34359e26676fb6b5acb3eb1b8c8382f162b831ec8e3e89cf6be9 - 0.0% (115 Bytes)
[#003] sha256:efc5781ec456ca4ceb37b8a27206d26eb60e9522dac44ab91eb8a9186d2a0ad5 - 86.41% (12.1 MB)
[#004] sha256:d6c248bf965c42b1d65836805a1b7fc4249223305e0ef34273de09f9cca19076 - 0.05% (7.1 KB)
[#005] sha256:a412e28a6dc728d3f83e32307e54a837e5537dcec02e157ff00cf392fe4bae0e - 0.0% (153 Bytes)
[#006] sha256:ef7d35139b0300be1c2e175e47dd49f9817f6f92ea20fb5cd6a9e980268bcd99 - 0.0% (171 Bytes)
[#007] sha256:3810ea12e8ceff326aabdc35e848bfb48e1aceff81a338f6c3d16682be8aac41 - 0.01% (1.76 KB)
[#008] sha256:035b27856304db09656fff71b4b2425e747c12a1d188200f2e841fc9ce86e769 - 0.0% (121 Bytes)
/bin/sh -c #(nop) ADD file:4583e12bf5caec40b861a3409f2a1624c3f3556cc457edb99c9707f00e779e45 in /
2017-09-13 14:32:26 UTC/bin/sh -c #(nop) CMD ["/bin/sh"]
2017-09-19 06:58:46 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-09-19 06:58:46 UTC/bin/sh -c #(nop) ENV LANG=en_US.utf8
2017-09-19 06:58:47 UTC/bin/sh -c mkdir /docker-entrypoint-initdb.d
2017-09-19 06:58:47 UTC/bin/sh -c #(nop) ENV PG_MAJOR=10
2017-09-26 01:04:27 UTC/bin/sh -c #(nop) ENV PG_VERSION=10rc1
2017-09-26 01:04:27 UTC/bin/sh -c #(nop) ENV PG_SHA256=ebdb44dccb64a31c9c524f996121e7d58c21045826d6c36e3a5ea46afbb2445b
2017-09-26 01:07:09 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-utils 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 --format '%n#p' --recursive /usr/local | tr ',' '\n' | sort -u | awk 'system("[ -e /usr/local/lib/" $1 " ]") == 0 { next } { print "so:" $1 }' )" && 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-09-26 01:07:10 UTC/bin/sh -c sed -ri "s!^#?(listen_addresses)\s*=\s*\S+.*!\1 = '*'!" /usr/local/share/postgresql/postgresql.conf.sample
2017-09-26 01:07:11 UTC/bin/sh -c mkdir -p /var/run/postgresql && chown -R postgres:postgres /var/run/postgresql && chmod 2777 /var/run/postgresql
2017-09-26 01:07:11 UTC/bin/sh -c #(nop) ENV PATH=/usr/lib/postgresql/10/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
2017-09-26 01:07:11 UTC/bin/sh -c #(nop) ENV PGDATA=/var/lib/postgresql/data
2017-09-26 01:07:12 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-09-26 01:07:12 UTC/bin/sh -c #(nop) VOLUME [/var/lib/postgresql/data]
2017-09-26 01:07:12 UTC/bin/sh -c #(nop) COPY file:d5038a27fbcfa2f7c3a5e92ffdbfda1676a7a65ecb52a9b377a6041a59e1c1d7 in /usr/local/bin/
2017-09-26 01:07:13 UTC/bin/sh -c ln -s usr/local/bin/docker-entrypoint.sh / # backwards compat
2017-09-26 01:07:13 UTC/bin/sh -c #(nop) ENTRYPOINT ["docker-entrypoint.sh"]
2017-09-26 01:07:13 UTC/bin/sh -c #(nop) EXPOSE 5432/tcp
2017-09-26 01:07:13 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.