2018-01-16 14:05:46 UTC
14.1 MB
en_US.utf8
PATH/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
PGDATA/var/lib/postgresql/data
PG_MAJOR10
PG_SHA2563ccb4e25fe7a7ea6308dea103cac202963e6b746697366d72ec2900449a5e713
PG_VERSION10.1
TIMESCALEDB_VERSION0.8.0
[#000] sha256:605ce1bd3f3164f2949a30501cc596f52a72de05da1306ab360055f0d7130c32 - 13.49% (1.9 MB)
[#001] sha256:8d2abe6927109e1cae97793d9611c3ea40e70f2a95ab5e9fd0a6f1f06470c567 - 0.0% (148 Bytes)
[#002] sha256:a18eca08010256ecf2b5a27cbde1c4407192a60fc3e8c2385947318423ad28e2 - 0.0% (115 Bytes)
[#003] sha256:91cfdfa52a99a8002e7ea9a94eb514d4d213e22d23cc29a615822cbb1bb3893a - 83.73% (11.8 MB)
[#004] sha256:452cbf05af6d21a73bbe3e64d93c44275c12c5840efff54f100a5ab6c6448194 - 0.05% (7.09 KB)
[#005] sha256:4a256b03e5bd76f4d30f1d7691556805f16c8bd88a5e77a512a1969140b91604 - 0.0% (152 Bytes)
[#006] sha256:379c8298095dbe066f6a9e041a1d70cfb326da6ccfa9185756ece64ba0a32a4b - 0.0% (170 Bytes)
[#007] sha256:12207b3814c9214ac0d8895861d46b9f83ffa3376e60c3659049160659dcb4c2 - 0.01% (1.76 KB)
[#008] sha256:373a2b3fdfa18cb76ef2462a008f4473ea77a417c49acfa2282e2731b120d9b4 - 0.0% (121 Bytes)
[#009] sha256:7cd056e978ba618807c575bfbecbaf2409783077e57975d55cc3fb4e667f3915 - 2.71% (390 KB)
/bin/sh -c #(nop) ADD file:6edc55fb54ec9fc3658c8f5176a70e792103a516154442f94fed8e0290e4960e in /
2018-01-09 21:10:38 UTC/bin/sh -c #(nop) CMD ["/bin/sh"]
2018-01-10 04:22:59 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"
2018-01-10 04:22:59 UTC/bin/sh -c #(nop) ENV LANG=en_US.utf8
2018-01-10 04:23:01 UTC/bin/sh -c mkdir /docker-entrypoint-initdb.d
2018-01-10 04:23:01 UTC/bin/sh -c #(nop) ENV PG_MAJOR=10
2018-01-10 04:23:01 UTC/bin/sh -c #(nop) ENV PG_VERSION=10.1
2018-01-10 04:23:02 UTC/bin/sh -c #(nop) ENV PG_SHA256=3ccb4e25fe7a7ea6308dea103cac202963e6b746697366d72ec2900449a5e713
2018-01-10 04:26:12 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
2018-01-10 04:26:13 UTC/bin/sh -c sed -ri "s!^#?(listen_addresses)\s*=\s*\S+.*!\1 = '*'!" /usr/local/share/postgresql/postgresql.conf.sample
2018-01-10 04:26:14 UTC/bin/sh -c mkdir -p /var/run/postgresql && chown -R postgres:postgres /var/run/postgresql && chmod 2777 /var/run/postgresql
2018-01-10 04:26:14 UTC/bin/sh -c #(nop) ENV PGDATA=/var/lib/postgresql/data
2018-01-10 04:26:15 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)
2018-01-10 04:26:15 UTC/bin/sh -c #(nop) VOLUME [/var/lib/postgresql/data]
2018-01-10 04:26:15 UTC/bin/sh -c #(nop) COPY file:46ab8d38fd55d223afd8acf3c85c0aa94676776fce8f7fe7ac826a3153cb618f in /usr/local/bin/
2018-01-10 04:26:16 UTC/bin/sh -c ln -s usr/local/bin/docker-entrypoint.sh / # backwards compat
2018-01-10 04:26:16 UTC/bin/sh -c #(nop) ENTRYPOINT ["docker-entrypoint.sh"]
2018-01-10 04:26:16 UTC/bin/sh -c #(nop) EXPOSE 5432/tcp
2018-01-10 04:26:17 UTC/bin/sh -c #(nop) CMD ["postgres"]
2018-01-16 14:05:21 UTC/bin/sh -c #(nop) MAINTAINER Timescale https://www.timescale.com
2018-01-16 14:05:21 UTC/bin/sh -c #(nop) ENV TIMESCALEDB_VERSION=0.8.0
2018-01-16 14:05:46 UTC/bin/sh -c set -ex && apk add --no-cache --virtual .fetch-deps ca-certificates openssl tar && mkdir -p /build/timescaledb && wget -O /timescaledb.tar.gz https://github.com/timescale/timescaledb/archive/$TIMESCALEDB_VERSION.tar.gz && tar -C /build/timescaledb --strip-components 1 -zxf /timescaledb.tar.gz && rm -f /timescaledb.tar.gz && apk add --no-cache --virtual .build-deps coreutils dpkg-dev dpkg gcc libc-dev make cmake util-linux-dev && cd /build/timescaledb && ./bootstrap && cd build && make install && cd ~ && apk del .fetch-deps .build-deps && rm -rf /build && sed -r -i "s/[#]*\s*(shared_preload_libraries)\s*=\s*'(.*)'/\1 = 'timescaledb,\2'/;s/,'/'/" /usr/local/share/postgresql/postgresql.conf.sample
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.