2017-08-10 22:42:53 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_SHA2566722546739f8e2dd379e8031784e86c5c588638df6c477046ebdd479586bcb3e
PG_VERSION10beta3
[#000] sha256:88286f41530e93dffd4b964e1db22ce4939fffa4a4c665dab8591fbab03d4926 - 13.53% (1.9 MB)
[#001] sha256:a77e4b4820d45e23254268403c9a7d9f89767620f89a6532f48ae5c09be9f189 - 0.0% (141 Bytes)
[#002] sha256:3b46471032d7e97f29a7c31d31642993eb0244785c21e6c53b361c6283fe3942 - 0.0% (115 Bytes)
[#003] sha256:81ca83ea88da3048f449e8c76908d3f083297ac3b2331d8224f83f621d33a6aa - 86.41% (12.1 MB)
[#004] sha256:68005d417db96627767c2f0ce5ebdf1eee8d7c5855a7ea11ab2486e8ee168c5e - 0.05% (7.09 KB)
[#005] sha256:5abfc91aaf068f624a39fef2c138d6457727a9323ea8ee69ecf4833de5c86ff4 - 0.0% (146 Bytes)
[#006] sha256:add0d69a9e8827d21a148b170b4abef987e0bb468033318499f7c9c29a6f27d2 - 0.0% (161 Bytes)
[#007] sha256:2611f5af5f1697caaa8fc71082c85573e7264d8645c53c1261c36e5edcce03f9 - 0.01% (1.75 KB)
[#008] sha256:ade115f11bd93d4e748922d5ab73c10c7a7ef66a183cf53c3df98fedcf9642da - 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-08-10 22:40:06 UTC/bin/sh -c #(nop) ENV PG_VERSION=10beta3
2017-08-10 22:40:06 UTC/bin/sh -c #(nop) ENV PG_SHA256=6722546739f8e2dd379e8031784e86c5c588638df6c477046ebdd479586bcb3e
2017-08-10 22:42:48 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 --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-08-10 22:42:49 UTC/bin/sh -c sed -ri "s!^#?(listen_addresses)\s*=\s*\S+.*!\1 = '*'!" /usr/local/share/postgresql/postgresql.conf.sample
2017-08-10 22:42:49 UTC/bin/sh -c mkdir -p /var/run/postgresql && chown -R postgres:postgres /var/run/postgresql && chmod 2777 /var/run/postgresql
2017-08-10 22:42:50 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-08-10 22:42:50 UTC/bin/sh -c #(nop) ENV PGDATA=/var/lib/postgresql/data
2017-08-10 22:42:51 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-08-10 22:42:51 UTC/bin/sh -c #(nop) VOLUME [/var/lib/postgresql/data]
2017-08-10 22:42:51 UTC/bin/sh -c #(nop) COPY file:d5038a27fbcfa2f7c3a5e92ffdbfda1676a7a65ecb52a9b377a6041a59e1c1d7 in /usr/local/bin/
2017-08-10 22:42:52 UTC/bin/sh -c ln -s usr/local/bin/docker-entrypoint.sh / # backwards compat
2017-08-10 22:42:52 UTC/bin/sh -c #(nop) ENTRYPOINT ["docker-entrypoint.sh"]
2017-08-10 22:42:53 UTC/bin/sh -c #(nop) EXPOSE 5432/tcp
2017-08-10 22:42:53 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.