2017-09-19 07:01:15 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_SHA256e70ffa84d439033533279ccb3ae7beaa0278585b2b176a767bcd0cbddb1252d2
PG_VERSION10beta4
[#000] sha256:88286f41530e93dffd4b964e1db22ce4939fffa4a4c665dab8591fbab03d4926 - 13.53% (1.9 MB)
[#001] sha256:fa0663cc3571cd215c0ad68c5d378c230336fba3c7f5a2391ce5790bde7a0a3d - 0.0% (148 Bytes)
[#002] sha256:722e8fb4277b34359e26676fb6b5acb3eb1b8c8382f162b831ec8e3e89cf6be9 - 0.0% (115 Bytes)
[#003] sha256:83a72d2c12c8dc86387fb9509839350a65ca2569dd0d38778e52e3482b3ef0fa - 86.41% (12.1 MB)
[#004] sha256:2ccd9e312fa3e48bd44f5129271597b33ddd98a0fc3919f9065b406b2c751e9c - 0.05% (7.1 KB)
[#005] sha256:a4a25465ff809b779efba5e1b66abdb078a6f50f90cb13a9ae4f487ace14abc5 - 0.0% (152 Bytes)
[#006] sha256:d772747c1026966c9475d757302d6859cb58084494d20c37f3b9308dcc419bcd - 0.0% (170 Bytes)
[#007] sha256:84a5791eb3e66c55a512eb3d43672ae998f9a131e1a166514500b8133c1c7531 - 0.01% (1.76 KB)
[#008] sha256:358da2c5e2d679c381e20fbf6d61a79c4206f777fce0aeb80b388dcc36fb59f1 - 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-19 06:58:47 UTC/bin/sh -c #(nop) ENV PG_VERSION=10beta4
2017-09-19 06:58:47 UTC/bin/sh -c #(nop) ENV PG_SHA256=e70ffa84d439033533279ccb3ae7beaa0278585b2b176a767bcd0cbddb1252d2
2017-09-19 07:01:11 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-09-19 07:01:12 UTC/bin/sh -c sed -ri "s!^#?(listen_addresses)\s*=\s*\S+.*!\1 = '*'!" /usr/local/share/postgresql/postgresql.conf.sample
2017-09-19 07:01:13 UTC/bin/sh -c mkdir -p /var/run/postgresql && chown -R postgres:postgres /var/run/postgresql && chmod 2777 /var/run/postgresql
2017-09-19 07:01:13 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-19 07:01:13 UTC/bin/sh -c #(nop) ENV PGDATA=/var/lib/postgresql/data
2017-09-19 07:01:14 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-19 07:01:14 UTC/bin/sh -c #(nop) VOLUME [/var/lib/postgresql/data]
2017-09-19 07:01:14 UTC/bin/sh -c #(nop) COPY file:d5038a27fbcfa2f7c3a5e92ffdbfda1676a7a65ecb52a9b377a6041a59e1c1d7 in /usr/local/bin/
2017-09-19 07:01:15 UTC/bin/sh -c ln -s usr/local/bin/docker-entrypoint.sh / # backwards compat
2017-09-19 07:01:15 UTC/bin/sh -c #(nop) ENTRYPOINT ["docker-entrypoint.sh"]
2017-09-19 07:01:15 UTC/bin/sh -c #(nop) EXPOSE 5432/tcp
2017-09-19 07:01:15 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.