2018-12-20 18:54:20 UTC
17.7 MB
en_US.utf8
PATH/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
PGDATA/var/lib/postgresql/data
PG_MAJOR9.6
PG_SHA2568615acc56646401f0ede97a767dfd27ce07a8ae9c952afdb57163b7234fe8426
PG_VERSION9.6.10
TIMESCALEDB_VERSION1.1.1
[#000] sha256:4fe2ade4980c2dda4fc95858ebb981489baec8c1e4bd282ab1c3560be8ff9bde - 11.88% (2.1 MB)
[#001] sha256:08cf8c12f47e64151935f8d8ea6529409384c9c0b753ef0df7df7711d35fe033 - 0.0% (147 Bytes)
[#002] sha256:451b995b6a91a797f19b87bc008422c652e8a565818e0de3e794da96c08e4030 - 0.0% (115 Bytes)
[#003] sha256:ba04b888d02dd35d9d58fa5778b22605c2c85deeca0275525160e6a78f154033 - 69.47% (12.3 MB)
[#004] sha256:d279af0749b90662f7d6613f2159671ca9fa360d50699540d2f71bb1ce21ad98 - 0.04% (6.91 KB)
[#005] sha256:d6b180060482886aa0b9823db1f5191065e79e335b73a5006ecea9cb9709b671 - 0.0% (129 Bytes)
[#006] sha256:68ac7600919c4282a4f75edab0edcf528fe7bc3c21a200dcbd684a1cdb16dde3 - 0.0% (169 Bytes)
[#007] sha256:4cea13f4bff19e162b1ecc3a98357d9dd57f1ac0eca48397e8f34457d75bedbd - 0.01% (2.17 KB)
[#008] sha256:e9f65487e6d988d39193432353b19812ef3e84186fdb5b14499e929b0ba0665e - 0.0% (121 Bytes)
[#009] sha256:5b3391cdb47eb82ccd12db9b5a158745bd9654bf145d5213ca231519de393ba0 - 0.0% (453 Bytes)
[#010] sha256:95ab4133db102f06d77b159f72296f68e0c622d0ad8af3c7168fc4ff6cee5e91 - 0.0% (257 Bytes)
[#011] sha256:b06ab1e24787450fc8e5dba66bf2872a50614b4bd671d2a893292fbaa2658953 - 18.59% (3.29 MB)
/bin/sh -c #(nop) ADD file:25c10b1d1b41d46a1827ad0b0d2389c24df6d31430005ff4e9a2d84ea23ebd42 in /
2018-09-11 22:19:50 UTC/bin/sh -c #(nop) CMD ["/bin/sh"]
2018-09-12 01:37:36 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-09-12 01:37:36 UTC/bin/sh -c #(nop) ENV LANG=en_US.utf8
2018-09-12 01:37:37 UTC/bin/sh -c mkdir /docker-entrypoint-initdb.d
2018-09-12 01:46:59 UTC/bin/sh -c #(nop) ENV PG_MAJOR=9.6
2018-09-12 01:46:59 UTC/bin/sh -c #(nop) ENV PG_VERSION=9.6.10
2018-09-12 01:46:59 UTC/bin/sh -c #(nop) ENV PG_SHA256=8615acc56646401f0ede97a767dfd27ce07a8ae9c952afdb57163b7234fe8426
2018-09-12 01:50:58 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-09-12 01:50:59 UTC/bin/sh -c sed -ri "s!^#?(listen_addresses)\s*=\s*\S+.*!\1 = '*'!" /usr/local/share/postgresql/postgresql.conf.sample
2018-09-12 01:51:00 UTC/bin/sh -c mkdir -p /var/run/postgresql && chown -R postgres:postgres /var/run/postgresql && chmod 2777 /var/run/postgresql
2018-09-12 01:51:00 UTC/bin/sh -c #(nop) ENV PGDATA=/var/lib/postgresql/data
2018-09-12 01:51:01 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-09-12 01:51:01 UTC/bin/sh -c #(nop) VOLUME [/var/lib/postgresql/data]
2018-09-12 01:51:02 UTC/bin/sh -c #(nop) COPY file:433e69abe3111480b9ab7a66c431215e594d273aab16b3294422463bbdc123b6 in /usr/local/bin/
2018-09-12 01:51:02 UTC/bin/sh -c ln -s usr/local/bin/docker-entrypoint.sh / # backwards compat
2018-09-12 01:51:03 UTC/bin/sh -c #(nop) ENTRYPOINT ["docker-entrypoint.sh"]
2018-09-12 01:51:03 UTC/bin/sh -c #(nop) EXPOSE 5432/tcp
2018-09-12 01:51:03 UTC/bin/sh -c #(nop) CMD ["postgres"]
2018-12-20 18:52:23 UTC/bin/sh -c #(nop) ARG PG_VERSION
2018-12-20 18:52:24 UTC/bin/sh -c #(nop) MAINTAINER Timescale https://www.timescale.com
2018-12-20 18:52:24 UTC/bin/sh -c #(nop) ENV TIMESCALEDB_VERSION=1.1.1
2018-12-20 18:52:24 UTC/bin/sh -c #(nop) COPY file:9e35ac3e75f276b4006e592288bd65fe136a472fdc3c494a5d01bc4acadd132b in /docker-entrypoint-initdb.d/
2018-12-20 18:52:24 UTC/bin/sh -c #(nop) COPY file:ca8f4f8496739bdeb2f6be559634eabc49a8cfb10fdf4c12f6c278b75ec7d10c in /docker-entrypoint-initdb.d/
2018-12-20 18:54:20 UTC/bin/sh -c set -ex && apk add --no-cache --virtual .fetch-deps ca-certificates git openssl openssl-dev tar && mkdir -p /build/ && git clone https://github.com/timescale/timescaledb /build/timescaledb && apk add --no-cache --virtual .build-deps coreutils dpkg-dev dpkg gcc libc-dev make cmake util-linux-dev && OLD_VERSIONS_PRE11="0.10.0 0.10.1 0.11.0 0.12.0 0.12.1 1.0.0-rc1 1.0.0-rc2 1.0.0-rc3 1.0.0 1.0.1 1.1.0" && OLD_VERSIONS_11="" && OLD_VERSIONS="${OLD_VERSIONS_11}" && if [ "$(echo ${PG_VERSION} | cut -c1-2)" != "11" ]; then OLD_VERSIONS="${OLD_VERSIONS_PRE11} ${OLD_VERSIONS_11}"; fi && for VERSION in ${OLD_VERSIONS}; do cd /build/timescaledb && rm -fr build && git checkout ${VERSION} && ./bootstrap -DPROJECT_INSTALL_METHOD="docker" && cd build && make install; done && rm -f `pg_config --sharedir`/extension/timescaledb--*--*.sql && rm -f `pg_config --sharedir`/extension/timescaledb*mock*.sql && cd /build/timescaledb && rm -fr build && git checkout ${TIMESCALEDB_VERSION} && ./bootstrap -DPROJECT_INSTALL_METHOD="docker" && 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.