2017-06-28 21:37:05 UTC
13.7 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_SHA2567eee02e6f6646c7d4d6e78893a4ff638cfa5f1025b706712da8c6ef2257b5e29
PG_VERSION10beta1
[#000] sha256:88286f41530e93dffd4b964e1db22ce4939fffa4a4c665dab8591fbab03d4926 - 13.9% (1.9 MB)
[#001] sha256:a77e4b4820d45e23254268403c9a7d9f89767620f89a6532f48ae5c09be9f189 - 0.0% (141 Bytes)
[#002] sha256:3b46471032d7e97f29a7c31d31642993eb0244785c21e6c53b361c6283fe3942 - 0.0% (115 Bytes)
[#003] sha256:5cbd5f4dc73f659f4821b1c844b00e02b4f218a636f652caaf53258ed22b9b4f - 86.04% (11.8 MB)
[#004] sha256:1e23cdbec40ce470fc59241b464f4dcd162f20b553bfa31849ced8aaada6244e - 0.05% (7.08 KB)
[#005] sha256:7f97a6ddc1b79c91c1c485343ab94bd93a254ce3f309cb1ecd1371414b444ec8 - 0.0% (146 Bytes)
[#006] sha256:9453a9f05ac94b6a2e456b5f5ebf7cef10d494b1441816de8488e2b3d5b10804 - 0.0% (161 Bytes)
[#007] sha256:4f5fd0d6f32296f55dbaf7a90c6c23c3d755c40b7f121fb300f8aa5873f1b554 - 0.01% (1.74 KB)
[#008] sha256:c8f560c8d00a16c11f577c67f6ec48eb6f6b816e0a97f07fa13072e45c7e7840 - 0.0% (121 Bytes)
/bin/sh -c #(nop) ADD file:4583e12bf5caec40b861a3409f2a1624c3f3556cc457edb99c9707f00e779e45 in /
2017-06-27 18:42:16 UTC/bin/sh -c #(nop) CMD ["/bin/sh"]
2017-06-28 21:34:01 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:34:02 UTC/bin/sh -c #(nop) ENV LANG=en_US.utf8
2017-06-28 21:34:03 UTC/bin/sh -c mkdir /docker-entrypoint-initdb.d
2017-06-28 21:34:04 UTC/bin/sh -c #(nop) ENV PG_MAJOR=10
2017-06-28 21:34:05 UTC/bin/sh -c #(nop) ENV PG_VERSION=10beta1
2017-06-28 21:34:06 UTC/bin/sh -c #(nop) ENV PG_SHA256=7eee02e6f6646c7d4d6e78893a4ff638cfa5f1025b706712da8c6ef2257b5e29
2017-06-28 21:36:53 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 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-06-28 21:36:54 UTC/bin/sh -c sed -ri "s!^#?(listen_addresses)\s*=\s*\S+.*!\1 = '*'!" /usr/local/share/postgresql/postgresql.conf.sample
2017-06-28 21:36:56 UTC/bin/sh -c mkdir -p /var/run/postgresql && chown -R postgres:postgres /var/run/postgresql && chmod 2777 /var/run/postgresql
2017-06-28 21:36:57 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-06-28 21:36:57 UTC/bin/sh -c #(nop) ENV PGDATA=/var/lib/postgresql/data
2017-06-28 21:36:59 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-06-28 21:37:00 UTC/bin/sh -c #(nop) VOLUME [/var/lib/postgresql/data]
2017-06-28 21:37:01 UTC/bin/sh -c #(nop) COPY file:0db93797e962937881947161a43da7695835a2b6d5ad1184d0886e35249b5e39 in /usr/local/bin/
2017-06-28 21:37:02 UTC/bin/sh -c ln -s usr/local/bin/docker-entrypoint.sh / # backwards compat
2017-06-28 21:37:03 UTC/bin/sh -c #(nop) ENTRYPOINT ["docker-entrypoint.sh"]
2017-06-28 21:37:04 UTC/bin/sh -c #(nop) EXPOSE 5432/tcp
2017-06-28 21:37:05 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.