2026-10-20 16:10:23 UTC
532 MB
llvm21-dev clang21
GOSU_VERSION1.19
LANGen_US.utf8
PATH/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
PGDATA/var/lib/postgresql/data
PG_MAJOR17
PG_SHA256dd27f2b3c59e73ed14aa3324901242bf69a032a6347805f274e6260322d42979
PG_VERSION17.11
[#000] sha256:1f89eeb8219ece88ee6dd2e7cad6761d1e9da9e18f4b7929d9ee0052902df74a - 0.66% (3.5 MB)
[#001] sha256:df031c4be51462c7d3734aa6b0e213f5765b78bb962556070fe3cce8d8c3df82 - 0.0% (968 Bytes)
[#002] sha256:3187c08deaf1d25caae803b3f10554e2b448db1e822727ca6b31cfdef694df18 - 0.16% (850 KB)
[#003] sha256:bf372049ff5c19365424df9b4a332d6733e53ab38d3fc7a09c5d3ca9daa7f71b - 0.0% (116 Bytes)
[#004] sha256:886050d41a65fa20674c10ca558ee6330ec216f9e23a6a015432328e72ccd146 - 21.3% (113 MB)
[#005] sha256:ca9e84ebb98e13b17051e52e65f7a9a88240a617db120bf965a5995bef097f36 - 0.0% (9.77 KB)
[#006] sha256:478cc7024be95afa91665a4840b51adbc182cb1de2887abadb7eda03bacf9ffe - 0.0% (128 Bytes)
[#007] sha256:7a4cced9f3ce7b2dfcc0bd710d778c949df5dccbfe80ba2f10c58ccdc36f2932 - 0.0% (169 Bytes)
[#008] sha256:187af9a09ae0b97dd871436cb0be3814abb56871ab1429e571d9afa8acd98569 - 0.0% (5.97 KB)
[#009] sha256:5aea28481107f07d18dbe1aa14b990bc228ed937df2d680961725dd61a368c8b - 0.0% (185 Bytes)
[#010] sha256:3b8b3192c013ebfb15de137a069db5dffbe1ed6b16a17b3cb69a21ebf33abbbe - 4.6% (24.5 MB)
[#011] sha256:479c629f4199e76dfb40e8f346dc80f598b930c8add433cb0f9bf03f828d59f0 - 0.97% (5.19 MB)
[#012] sha256:330259f0f5b2e0b7ad7699777f0d897ea633c1c7d0caa2d4f38f850481e13eab - 0.0% (2.08 KB)
[#013] sha256:83173570e65c22fd8b907806365f0363ca2c3b165a999d558963f58887149f22 - 1.59% (8.48 MB)
[#014] sha256:88bb087e101e82c75e5c9c6396d16f2a6504375dc9360d73e7be36249677a1e6 - 49.06% (261 MB)
[#015] sha256:a63b81ed11675a104705bccb407fff7727fd62baffe8edf6ef12893ebe537caf - 19.42% (103 MB)
[#016] sha256:7f120ddfefd494c7a8cc360aff5cf3a74e8a8051179637393e0ea99aff904695 - 2.22% (11.8 MB)
ADD alpine-minirootfs-3.23.6-x86.tar.gz / # buildkit
2026-09-17 20:37:28 UTC (buildkit.dockerfile.v0)CMD ["/bin/sh"]
2026-09-17 21:29:45 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c set -eux; addgroup -g 70 -S postgres; adduser -u 70 -S -D -G postgres -H -h /var/lib/postgresql -s /bin/sh postgres; install --verbose --directory --owner postgres --group postgres --mode 1777 /var/lib/postgresql # buildkit
2026-09-17 21:29:48 UTC (buildkit.dockerfile.v0)ENV GOSU_VERSION=1.19
2026-09-17 21:29:48 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c set -eux; apk add --no-cache --virtual .gosu-deps ca-certificates dpkg gnupg ; dpkgArch="$(dpkg --print-architecture | awk -F- '{ print $NF }')"; wget -O /usr/local/bin/gosu "https://github.com/tianon/gosu/releases/download/$GOSU_VERSION/gosu-$dpkgArch"; wget -O /usr/local/bin/gosu.asc "https://github.com/tianon/gosu/releases/download/$GOSU_VERSION/gosu-$dpkgArch.asc"; export GNUPGHOME="$(mktemp -d)"; gpg --batch --keyserver hkps://keys.openpgp.org --recv-keys B42F6819007F00F88E364FD4036A9C25BF357DD4; gpg --batch --verify /usr/local/bin/gosu.asc /usr/local/bin/gosu; gpgconf --kill all; rm -rf "$GNUPGHOME" /usr/local/bin/gosu.asc; apk del --no-network .gosu-deps; chmod +x /usr/local/bin/gosu; gosu --version; gosu nobody true # buildkit
2026-09-17 21:29:48 UTC (buildkit.dockerfile.v0)ENV LANG=en_US.utf8
2026-09-17 21:29:48 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c mkdir /docker-entrypoint-initdb.d # buildkit
2026-09-17 21:29:48 UTC (buildkit.dockerfile.v0)ENV PG_MAJOR=17
2026-09-17 21:29:48 UTC (buildkit.dockerfile.v0)ENV PG_VERSION=17.11
2026-09-17 21:29:48 UTC (buildkit.dockerfile.v0)ENV PG_SHA256=dd27f2b3c59e73ed14aa3324901242bf69a032a6347805f274e6260322d42979
2026-09-17 21:29:48 UTC (buildkit.dockerfile.v0)ENV DOCKER_PG_LLVM_DEPS=llvm21-dev clang21
2026-09-17 21:32:26 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c set -eux; 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 $DOCKER_PG_LLVM_DEPS bison coreutils dpkg-dev dpkg flex g++ gcc krb5-dev libc-dev libedit-dev libxml2-dev libxslt-dev linux-headers make openldap-dev openssl-dev perl-dev perl-ipc-run perl-utils python3-dev tcl-dev util-linux-dev zlib-dev icu-dev lz4-dev zstd-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)"; export LLVM_CONFIG="/usr/lib/llvm21/bin/llvm-config"; export CLANG=clang-21; ./configure --enable-option-checking=fatal --build="$gnuArch" --enable-integer-datetimes --enable-tap-tests --disable-rpath --with-uuid=e2fs --with-pgport=5432 --with-system-tzdata=/usr/share/zoneinfo --prefix=/usr/local --with-includes=/usr/local/include --with-libraries=/usr/local/lib --with-gssapi --with-icu --with-ldap --with-libxml --with-libxslt --with-llvm --with-lz4 --with-openssl --with-perl --with-python --with-tcl --with-zstd ; make -j "$(nproc)" world-bin; make install-world-bin; 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 }' | grep -v -e perl -e python -e tcl )"; apk add --no-cache --virtual .postgresql-rundeps $runDeps bash tzdata zstd icu-data-full $([ "$(apk --print-arch)" != 'ppc64le' ] && echo 'nss_wrapper') ; apk del --no-network .build-deps; cd /; rm -rf /usr/src/postgresql /usr/local/share/doc /usr/local/share/man ; postgres --version # buildkit
2026-09-17 21:32:26 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c set -eux; cp -v /usr/local/share/postgresql/postgresql.conf.sample /usr/local/share/postgresql/postgresql.conf.sample.orig; sed -ri "s!^#?(listen_addresses)\s*=\s*\S+.*!\1 = '*'!" /usr/local/share/postgresql/postgresql.conf.sample; grep -F "listen_addresses = '*'" /usr/local/share/postgresql/postgresql.conf.sample # buildkit
2026-09-17 21:32:26 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c install --verbose --directory --owner postgres --group postgres --mode 3777 /var/run/postgresql # buildkit
2026-09-17 21:32:26 UTC (buildkit.dockerfile.v0)ENV PGDATA=/var/lib/postgresql/data
2026-09-17 21:32:26 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c install --verbose --directory --owner postgres --group postgres --mode 1777 "$PGDATA" # buildkit
2026-09-17 21:32:26 UTC (buildkit.dockerfile.v0)VOLUME [/var/lib/postgresql/data]
2026-09-17 21:32:26 UTC (buildkit.dockerfile.v0)COPY docker-entrypoint.sh docker-ensure-initdb.sh /usr/local/bin/ # buildkit
2026-09-17 21:32:26 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c ln -sT docker-ensure-initdb.sh /usr/local/bin/docker-enforce-initdb.sh # buildkit
2026-09-17 21:32:26 UTC (buildkit.dockerfile.v0)ENTRYPOINT ["docker-entrypoint.sh"]
2026-09-17 21:32:26 UTC (buildkit.dockerfile.v0)STOPSIGNAL SIGINT
2026-09-17 21:32:26 UTC (buildkit.dockerfile.v0)EXPOSE map[5432/tcp:{}]
2026-09-17 21:32:26 UTC (buildkit.dockerfile.v0)CMD ["postgres"]
2026-10-20 16:09:16 UTC (buildkit.dockerfile.v0)ARG OSS_ONLY
2026-10-20 16:09:16 UTC (buildkit.dockerfile.v0)LABEL maintainer=Timescale https://www.timescale.com
2026-10-20 16:09:16 UTC (buildkit.dockerfile.v0)ARG PG_VERSION=17
2026-10-20 16:09:16 UTC (buildkit.dockerfile.v0)ARG PG_MAJOR_VERSION=17
2026-10-20 16:09:16 UTC (buildkit.dockerfile.v0)ARG ALPINE_VERSION=3.23
2026-10-20 16:09:16 UTC (buildkit.dockerfile.v0)RUN |4 OSS_ONLY= PG_VERSION=17 PG_MAJOR_VERSION=17 ALPINE_VERSION=3.23 /bin/sh -c set -ex; echo "https://dl-cdn.alpinelinux.org/alpine/v${ALPINE_VERSION}/community/" >> /etc/apk/repositories; apk update; if [ "$PG_MAJOR_VERSION" -ge 16 ] && [ "$PG_MAJOR_VERSION" -lt 18 ] ; then apk add --no-cache postgresql${PG_VERSION}-plpython3; fi # buildkit
2026-10-20 16:09:16 UTC (buildkit.dockerfile.v0)ARG PGVECTOR_VERSION=v0.8.1
2026-10-20 16:09:16 UTC (buildkit.dockerfile.v0)ARG PG_VERSION=17
2026-10-20 16:09:16 UTC (buildkit.dockerfile.v0)ARG CLANG_VERSION=21
2026-10-20 16:09:16 UTC (buildkit.dockerfile.v0)ARG PG_MAJOR_VERSION=17
2026-10-20 16:09:56 UTC (buildkit.dockerfile.v0)RUN |6 OSS_ONLY= PG_VERSION=17 PG_MAJOR_VERSION=17 ALPINE_VERSION=3.23 PGVECTOR_VERSION=v0.8.1 CLANG_VERSION=21 /bin/sh -c set -ex; apk update; apk add --no-cache --virtual .vector-deps postgresql${PG_VERSION}-dev build-base clang${CLANG_VERSION} llvm${CLANG_VERSION}-dev llvm${CLANG_VERSION}; cd /build/pgvector; make -j"$(nproc)" OPTFLAGS=""; make install; apk del .vector-deps # buildkit
2026-10-20 16:09:56 UTC (buildkit.dockerfile.v0)COPY docker-entrypoint-initdb.d/* /docker-entrypoint-initdb.d/ # buildkit
2026-10-20 16:09:56 UTC (buildkit.dockerfile.v0)COPY /out/* /usr/local/bin/ # buildkit
2026-10-20 16:09:56 UTC (buildkit.dockerfile.v0)COPY /usr/local/lib/postgresql/timescaledb-*.so /usr/local/lib/postgresql/ # buildkit
2026-10-20 16:09:58 UTC (buildkit.dockerfile.v0)COPY /usr/local/share/postgresql/extension/timescaledb--*.sql /usr/local/share/postgresql/extension/ # buildkit
2026-10-20 16:09:58 UTC (buildkit.dockerfile.v0)ARG TS_VERSION=2.31.0
2026-10-20 16:10:23 UTC (buildkit.dockerfile.v0)RUN |7 OSS_ONLY= PG_VERSION=17 PG_MAJOR_VERSION=17 ALPINE_VERSION=3.23 PGVECTOR_VERSION=v0.8.1 CLANG_VERSION=21 TS_VERSION=2.31.0 /bin/sh -c set -ex && apk add --no-cache --virtual .fetch-deps ca-certificates git openssl openssl-dev tar && apk add --no-cache --virtual .build-deps coreutils dpkg-dev dpkg icu-dev gcc libc-dev make cmake util-linux-dev && cd /build/timescaledb && rm -fr build && ./bootstrap -DCMAKE_BUILD_TYPE=RelWithDebInfo -DREGRESS_CHECKS=OFF -DTAP_CHECKS=OFF -DGENERATE_DOWNGRADE_SCRIPT=ON -DWARNINGS_AS_ERRORS=OFF -DPROJECT_INSTALL_METHOD="docker"${OSS_ONLY} && cd build && make -j"$(nproc)" install && cd ~ && if [ "${OSS_ONLY}" != "" ]; then rm -f $(pg_config --pkglibdir)/timescaledb-tsl-*.so; fi && apk del .fetch-deps .build-deps && sed -r -i "s/[#]*\s*(shared_preload_libraries)\s*=\s*'(.*)'/\1 = 'timescaledb,\2'/;s/,'/'/" /usr/local/share/postgresql/postgresql.conf.sample # buildkit
2026-10-20 16:09:40 UTC
541 MB
llvm21-dev clang21
GOSU_VERSION1.19
LANGen_US.utf8
PATH/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
PGDATA/var/lib/postgresql/data
PG_MAJOR17
PG_SHA256dd27f2b3c59e73ed14aa3324901242bf69a032a6347805f274e6260322d42979
PG_VERSION17.11
[#000] sha256:d0c1d894c237d8192cbcd37e435031ad4eddec173299568a5a05869c2e40dfa3 - 0.68% (3.67 MB)
[#001] sha256:2b3f4849c97fceef6f3dca9a6591eb27d437671a516198f99ee4473ce91eb419 - 0.0% (968 Bytes)
[#002] sha256:c0a829e3cad63317dee2fb77299a2739bc71943d9ddb391ac100197ceaf9fa7d - 0.16% (880 KB)
[#003] sha256:288905a425a2670741e91b3a1d6afebc53cb98da6e04f70bd46f69ce6e7b06ac - 0.0% (116 Bytes)
[#004] sha256:befd025cd704cf9a4444f402eda0bffebf68685dcbabcdfe2d37d3d968291b39 - 19.74% (107 MB)
[#005] sha256:b03830fa8c79d9fbdb8e350a01dc24d6ce33facfa34bb0809763b873b253aa94 - 0.0% (9.76 KB)
[#006] sha256:0d561b93e228d32668f11c6cf0c5943b67cd706937c555ae47551feac117dae9 - 0.0% (128 Bytes)
[#007] sha256:f71c14f345b43ea8ad1dcaa888ce2f7499c8e482dab93dbc685a3dbea877967a - 0.0% (168 Bytes)
[#008] sha256:c7f3ad7826e609a354d51fa28cb0bf3bb5e9a598098fe609c2231d810e0fffd8 - 0.0% (5.97 KB)
[#009] sha256:0a44a2a66e62c0c94a00da4b25388a0a75515ba0c81249331ee3b39465cad0d5 - 0.0% (183 Bytes)
[#010] sha256:d6ef979c05de5b4230ac1f19c2d84a11159313b3753595f065d9fb14eab20883 - 4.38% (23.7 MB)
[#011] sha256:511a7b105415b80dcef3923df486206c3e1dfedccaec8cd20086a0fc3072d8ac - 1.03% (5.57 MB)
[#012] sha256:c8596f5836cad38aebee5b6c71d9ba15895010a892572ccabc40890dd729fd86 - 0.0% (2.08 KB)
[#013] sha256:bcb64bd3db7d7dc84dd2f49c423c89f937aea4103f0a74631e42467c65b7eb7b - 1.6% (8.65 MB)
[#014] sha256:539737fb6b7942b2c09fa825301c4ac7525f699c88b55904c7a4dc1731a09034 - 51.0% (276 MB)
[#015] sha256:4e7d72a06cf6750c5da542c1572d4d5fe00151b792ffe2d1ce77260c338f9f5b - 19.11% (103 MB)
[#016] sha256:52a0578558d178325b9beb80f136d658e7869133faca54875f7de50a27edb25f - 2.3% (12.4 MB)
ADD alpine-minirootfs-3.23.6-x86_64.tar.gz / # buildkit
2026-09-17 20:37:33 UTC (buildkit.dockerfile.v0)CMD ["/bin/sh"]
2026-09-17 21:29:21 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c set -eux; addgroup -g 70 -S postgres; adduser -u 70 -S -D -G postgres -H -h /var/lib/postgresql -s /bin/sh postgres; install --verbose --directory --owner postgres --group postgres --mode 1777 /var/lib/postgresql # buildkit
2026-09-17 21:29:23 UTC (buildkit.dockerfile.v0)ENV GOSU_VERSION=1.19
2026-09-17 21:29:23 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c set -eux; apk add --no-cache --virtual .gosu-deps ca-certificates dpkg gnupg ; dpkgArch="$(dpkg --print-architecture | awk -F- '{ print $NF }')"; wget -O /usr/local/bin/gosu "https://github.com/tianon/gosu/releases/download/$GOSU_VERSION/gosu-$dpkgArch"; wget -O /usr/local/bin/gosu.asc "https://github.com/tianon/gosu/releases/download/$GOSU_VERSION/gosu-$dpkgArch.asc"; export GNUPGHOME="$(mktemp -d)"; gpg --batch --keyserver hkps://keys.openpgp.org --recv-keys B42F6819007F00F88E364FD4036A9C25BF357DD4; gpg --batch --verify /usr/local/bin/gosu.asc /usr/local/bin/gosu; gpgconf --kill all; rm -rf "$GNUPGHOME" /usr/local/bin/gosu.asc; apk del --no-network .gosu-deps; chmod +x /usr/local/bin/gosu; gosu --version; gosu nobody true # buildkit
2026-09-17 21:29:23 UTC (buildkit.dockerfile.v0)ENV LANG=en_US.utf8
2026-09-17 21:29:23 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c mkdir /docker-entrypoint-initdb.d # buildkit
2026-09-17 21:29:23 UTC (buildkit.dockerfile.v0)ENV PG_MAJOR=17
2026-09-17 21:29:23 UTC (buildkit.dockerfile.v0)ENV PG_VERSION=17.11
2026-09-17 21:29:23 UTC (buildkit.dockerfile.v0)ENV PG_SHA256=dd27f2b3c59e73ed14aa3324901242bf69a032a6347805f274e6260322d42979
2026-09-17 21:29:23 UTC (buildkit.dockerfile.v0)ENV DOCKER_PG_LLVM_DEPS=llvm21-dev clang21
2026-09-17 21:31:34 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c set -eux; 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 $DOCKER_PG_LLVM_DEPS bison coreutils dpkg-dev dpkg flex g++ gcc krb5-dev libc-dev libedit-dev libxml2-dev libxslt-dev linux-headers make openldap-dev openssl-dev perl-dev perl-ipc-run perl-utils python3-dev tcl-dev util-linux-dev zlib-dev icu-dev lz4-dev zstd-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)"; export LLVM_CONFIG="/usr/lib/llvm21/bin/llvm-config"; export CLANG=clang-21; ./configure --enable-option-checking=fatal --build="$gnuArch" --enable-integer-datetimes --enable-tap-tests --disable-rpath --with-uuid=e2fs --with-pgport=5432 --with-system-tzdata=/usr/share/zoneinfo --prefix=/usr/local --with-includes=/usr/local/include --with-libraries=/usr/local/lib --with-gssapi --with-icu --with-ldap --with-libxml --with-libxslt --with-llvm --with-lz4 --with-openssl --with-perl --with-python --with-tcl --with-zstd ; make -j "$(nproc)" world-bin; make install-world-bin; 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 }' | grep -v -e perl -e python -e tcl )"; apk add --no-cache --virtual .postgresql-rundeps $runDeps bash tzdata zstd icu-data-full $([ "$(apk --print-arch)" != 'ppc64le' ] && echo 'nss_wrapper') ; apk del --no-network .build-deps; cd /; rm -rf /usr/src/postgresql /usr/local/share/doc /usr/local/share/man ; postgres --version # buildkit
2026-09-17 21:31:34 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c set -eux; cp -v /usr/local/share/postgresql/postgresql.conf.sample /usr/local/share/postgresql/postgresql.conf.sample.orig; sed -ri "s!^#?(listen_addresses)\s*=\s*\S+.*!\1 = '*'!" /usr/local/share/postgresql/postgresql.conf.sample; grep -F "listen_addresses = '*'" /usr/local/share/postgresql/postgresql.conf.sample # buildkit
2026-09-17 21:31:34 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c install --verbose --directory --owner postgres --group postgres --mode 3777 /var/run/postgresql # buildkit
2026-09-17 21:31:34 UTC (buildkit.dockerfile.v0)ENV PGDATA=/var/lib/postgresql/data
2026-09-17 21:31:34 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c install --verbose --directory --owner postgres --group postgres --mode 1777 "$PGDATA" # buildkit
2026-09-17 21:31:34 UTC (buildkit.dockerfile.v0)VOLUME [/var/lib/postgresql/data]
2026-09-17 21:31:34 UTC (buildkit.dockerfile.v0)COPY docker-entrypoint.sh docker-ensure-initdb.sh /usr/local/bin/ # buildkit
2026-09-17 21:31:34 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c ln -sT docker-ensure-initdb.sh /usr/local/bin/docker-enforce-initdb.sh # buildkit
2026-09-17 21:31:34 UTC (buildkit.dockerfile.v0)ENTRYPOINT ["docker-entrypoint.sh"]
2026-09-17 21:31:34 UTC (buildkit.dockerfile.v0)STOPSIGNAL SIGINT
2026-09-17 21:31:34 UTC (buildkit.dockerfile.v0)EXPOSE map[5432/tcp:{}]
2026-09-17 21:31:34 UTC (buildkit.dockerfile.v0)CMD ["postgres"]
2026-10-15 00:24:29 UTC (buildkit.dockerfile.v0)ARG OSS_ONLY
2026-10-15 00:24:29 UTC (buildkit.dockerfile.v0)LABEL maintainer=Timescale https://www.timescale.com
2026-10-15 00:24:29 UTC (buildkit.dockerfile.v0)ARG PG_VERSION=17
2026-10-15 00:24:29 UTC (buildkit.dockerfile.v0)ARG PG_MAJOR_VERSION=17
2026-10-15 00:24:29 UTC (buildkit.dockerfile.v0)ARG ALPINE_VERSION=3.23
2026-10-15 00:24:29 UTC (buildkit.dockerfile.v0)RUN |4 OSS_ONLY= PG_VERSION=17 PG_MAJOR_VERSION=17 ALPINE_VERSION=3.23 /bin/sh -c set -ex; echo "https://dl-cdn.alpinelinux.org/alpine/v${ALPINE_VERSION}/community/" >> /etc/apk/repositories; apk update; if [ "$PG_MAJOR_VERSION" -ge 16 ] && [ "$PG_MAJOR_VERSION" -lt 18 ] ; then apk add --no-cache postgresql${PG_VERSION}-plpython3; fi # buildkit
2026-10-15 00:24:29 UTC (buildkit.dockerfile.v0)ARG PGVECTOR_VERSION=v0.8.1
2026-10-15 00:24:29 UTC (buildkit.dockerfile.v0)ARG PG_VERSION=17
2026-10-15 00:24:29 UTC (buildkit.dockerfile.v0)ARG CLANG_VERSION=21
2026-10-15 00:24:29 UTC (buildkit.dockerfile.v0)ARG PG_MAJOR_VERSION=17
2026-10-15 00:24:37 UTC (buildkit.dockerfile.v0)RUN |6 OSS_ONLY= PG_VERSION=17 PG_MAJOR_VERSION=17 ALPINE_VERSION=3.23 PGVECTOR_VERSION=v0.8.1 CLANG_VERSION=21 /bin/sh -c set -ex; apk update; apk add --no-cache --virtual .vector-deps postgresql${PG_VERSION}-dev build-base clang${CLANG_VERSION} llvm${CLANG_VERSION}-dev llvm${CLANG_VERSION}; cd /build/pgvector; make -j"$(nproc)" OPTFLAGS=""; make install; apk del .vector-deps # buildkit
2026-10-15 00:24:37 UTC (buildkit.dockerfile.v0)COPY docker-entrypoint-initdb.d/* /docker-entrypoint-initdb.d/ # buildkit
2026-10-15 00:24:37 UTC (buildkit.dockerfile.v0)COPY /out/* /usr/local/bin/ # buildkit
2026-10-15 00:24:37 UTC (buildkit.dockerfile.v0)COPY /usr/local/lib/postgresql/timescaledb-*.so /usr/local/lib/postgresql/ # buildkit
2026-10-15 00:24:39 UTC (buildkit.dockerfile.v0)COPY /usr/local/share/postgresql/extension/timescaledb--*.sql /usr/local/share/postgresql/extension/ # buildkit
2026-10-15 00:24:39 UTC (buildkit.dockerfile.v0)ARG TS_VERSION=2.31.0
2026-10-20 16:09:40 UTC (buildkit.dockerfile.v0)RUN |7 OSS_ONLY= PG_VERSION=17 PG_MAJOR_VERSION=17 ALPINE_VERSION=3.23 PGVECTOR_VERSION=v0.8.1 CLANG_VERSION=21 TS_VERSION=2.31.0 /bin/sh -c set -ex && apk add --no-cache --virtual .fetch-deps ca-certificates git openssl openssl-dev tar && apk add --no-cache --virtual .build-deps coreutils dpkg-dev dpkg icu-dev gcc libc-dev make cmake util-linux-dev && cd /build/timescaledb && rm -fr build && ./bootstrap -DCMAKE_BUILD_TYPE=RelWithDebInfo -DREGRESS_CHECKS=OFF -DTAP_CHECKS=OFF -DGENERATE_DOWNGRADE_SCRIPT=ON -DWARNINGS_AS_ERRORS=OFF -DPROJECT_INSTALL_METHOD="docker"${OSS_ONLY} && cd build && make -j"$(nproc)" install && cd ~ && if [ "${OSS_ONLY}" != "" ]; then rm -f $(pg_config --pkglibdir)/timescaledb-tsl-*.so; fi && apk del .fetch-deps .build-deps && sed -r -i "s/[#]*\s*(shared_preload_libraries)\s*=\s*'(.*)'/\1 = 'timescaledb,\2'/;s/,'/'/" /usr/local/share/postgresql/postgresql.conf.sample # buildkit
2026-10-20 16:13:51 UTC
533 MB
llvm21-dev clang21
GOSU_VERSION1.19
LANGen_US.utf8
PATH/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
PGDATA/var/lib/postgresql/data
PG_MAJOR17
PG_SHA256dd27f2b3c59e73ed14aa3324901242bf69a032a6347805f274e6260322d42979
PG_VERSION17.11
[#000] sha256:b0cea9f80ea5defd79b131eda614476b4cdbb6b45165432dd3dbf895cf504ccb - 0.64% (3.39 MB)
[#001] sha256:9e73ebf8f7bb3df79ecb84a4efc77a9c650e31ca8aac789447a7fae6f915a767 - 0.0% (968 Bytes)
[#002] sha256:5c6a14e125e8ce91ac60fdd0163de9cdb08f6f26e81c940b87ab0c990502e813 - 0.15% (845 KB)
[#003] sha256:6d74b38257fd6eab2c6572357b42611115d3cb3f2da92bd4fb98d8c0cb422aef - 0.0% (116 Bytes)
[#004] sha256:8cb7172c1392995e4b4a5be5291f50d6fb81d029b768a868c01bdd2babb52c01 - 19.4% (103 MB)
[#005] sha256:17aae54da0dd78e8ac44825f2f86d01a79d13f1e265aadd0f40a84a096e03621 - 0.0% (9.76 KB)
[#006] sha256:2f3973dad3526d71c9d6045b9424f38592592f12dfe509942f3c0f52dd5379af - 0.0% (128 Bytes)
[#007] sha256:5984c912d2401299897593e47528aaef7cb2b207f173209ba2d4bd2588a41776 - 0.0% (166 Bytes)
[#008] sha256:d88b3093bf6d3c7ae1414175df28311416c8ca9c13b54636d6a5bbdd578923e7 - 0.0% (5.96 KB)
[#009] sha256:8bae6aa48add84fc72882e844fc211e3cb1e7ed651c12c4c76fa24f8138bf4c9 - 0.0% (182 Bytes)
[#010] sha256:4fa577fbe513a96a2a3a05183f4b2efd94d046451e22d068016b5f1bc80ba7e6 - 4.27% (22.8 MB)
[#011] sha256:c903ba5b6d6a5b7e7bcd0ab372528641d4129c9b75e1f92543b21c8831f1e2ce - 0.9% (4.81 MB)
[#012] sha256:754999aa8871ee723e1e8798ab11c6922da618dc1570d874291827aaa9abe293 - 0.0% (2.08 KB)
[#013] sha256:f2915014e5a7e156b654f74da7e5ebb36fafeb459c878bb9b1a17af83475bc9f - 1.55% (8.24 MB)
[#014] sha256:82ce02b23f357c18aedcbe6733efb3af9935294b5eeae7e628f7884e34890932 - 51.29% (273 MB)
[#015] sha256:77217744992c22587bce50bccbd1c2f1c25b35bbc42ac4c70ee026e36eb35463 - 19.39% (103 MB)
[#016] sha256:8a645e55aeb358acb806ab1aef9f4097d79d209e9ff6942eab8f2eee10ef4939 - 2.41% (12.8 MB)
ADD alpine-minirootfs-3.23.6-armhf.tar.gz / # buildkit
2026-09-17 20:37:42 UTC (buildkit.dockerfile.v0)CMD ["/bin/sh"]
2026-09-17 21:46:30 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c set -eux; addgroup -g 70 -S postgres; adduser -u 70 -S -D -G postgres -H -h /var/lib/postgresql -s /bin/sh postgres; install --verbose --directory --owner postgres --group postgres --mode 1777 /var/lib/postgresql # buildkit
2026-09-17 21:46:33 UTC (buildkit.dockerfile.v0)ENV GOSU_VERSION=1.19
2026-09-17 21:46:33 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c set -eux; apk add --no-cache --virtual .gosu-deps ca-certificates dpkg gnupg ; dpkgArch="$(dpkg --print-architecture | awk -F- '{ print $NF }')"; wget -O /usr/local/bin/gosu "https://github.com/tianon/gosu/releases/download/$GOSU_VERSION/gosu-$dpkgArch"; wget -O /usr/local/bin/gosu.asc "https://github.com/tianon/gosu/releases/download/$GOSU_VERSION/gosu-$dpkgArch.asc"; export GNUPGHOME="$(mktemp -d)"; gpg --batch --keyserver hkps://keys.openpgp.org --recv-keys B42F6819007F00F88E364FD4036A9C25BF357DD4; gpg --batch --verify /usr/local/bin/gosu.asc /usr/local/bin/gosu; gpgconf --kill all; rm -rf "$GNUPGHOME" /usr/local/bin/gosu.asc; apk del --no-network .gosu-deps; chmod +x /usr/local/bin/gosu; gosu --version; gosu nobody true # buildkit
2026-09-17 21:46:33 UTC (buildkit.dockerfile.v0)ENV LANG=en_US.utf8
2026-09-17 21:46:33 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c mkdir /docker-entrypoint-initdb.d # buildkit
2026-09-17 21:46:33 UTC (buildkit.dockerfile.v0)ENV PG_MAJOR=17
2026-09-17 21:46:33 UTC (buildkit.dockerfile.v0)ENV PG_VERSION=17.11
2026-09-17 21:46:33 UTC (buildkit.dockerfile.v0)ENV PG_SHA256=dd27f2b3c59e73ed14aa3324901242bf69a032a6347805f274e6260322d42979
2026-09-17 21:46:33 UTC (buildkit.dockerfile.v0)ENV DOCKER_PG_LLVM_DEPS=llvm21-dev clang21
2026-09-17 21:49:46 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c set -eux; 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 $DOCKER_PG_LLVM_DEPS bison coreutils dpkg-dev dpkg flex g++ gcc krb5-dev libc-dev libedit-dev libxml2-dev libxslt-dev linux-headers make openldap-dev openssl-dev perl-dev perl-ipc-run perl-utils python3-dev tcl-dev util-linux-dev zlib-dev icu-dev lz4-dev zstd-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)"; export LLVM_CONFIG="/usr/lib/llvm21/bin/llvm-config"; export CLANG=clang-21; ./configure --enable-option-checking=fatal --build="$gnuArch" --enable-integer-datetimes --enable-tap-tests --disable-rpath --with-uuid=e2fs --with-pgport=5432 --with-system-tzdata=/usr/share/zoneinfo --prefix=/usr/local --with-includes=/usr/local/include --with-libraries=/usr/local/lib --with-gssapi --with-icu --with-ldap --with-libxml --with-libxslt --with-llvm --with-lz4 --with-openssl --with-perl --with-python --with-tcl --with-zstd ; make -j "$(nproc)" world-bin; make install-world-bin; 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 }' | grep -v -e perl -e python -e tcl )"; apk add --no-cache --virtual .postgresql-rundeps $runDeps bash tzdata zstd icu-data-full $([ "$(apk --print-arch)" != 'ppc64le' ] && echo 'nss_wrapper') ; apk del --no-network .build-deps; cd /; rm -rf /usr/src/postgresql /usr/local/share/doc /usr/local/share/man ; postgres --version # buildkit
2026-09-17 21:49:46 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c set -eux; cp -v /usr/local/share/postgresql/postgresql.conf.sample /usr/local/share/postgresql/postgresql.conf.sample.orig; sed -ri "s!^#?(listen_addresses)\s*=\s*\S+.*!\1 = '*'!" /usr/local/share/postgresql/postgresql.conf.sample; grep -F "listen_addresses = '*'" /usr/local/share/postgresql/postgresql.conf.sample # buildkit
2026-09-17 21:49:46 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c install --verbose --directory --owner postgres --group postgres --mode 3777 /var/run/postgresql # buildkit
2026-09-17 21:49:46 UTC (buildkit.dockerfile.v0)ENV PGDATA=/var/lib/postgresql/data
2026-09-17 21:49:46 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c install --verbose --directory --owner postgres --group postgres --mode 1777 "$PGDATA" # buildkit
2026-09-17 21:49:46 UTC (buildkit.dockerfile.v0)VOLUME [/var/lib/postgresql/data]
2026-09-17 21:49:46 UTC (buildkit.dockerfile.v0)COPY docker-entrypoint.sh docker-ensure-initdb.sh /usr/local/bin/ # buildkit
2026-09-17 21:49:46 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c ln -sT docker-ensure-initdb.sh /usr/local/bin/docker-enforce-initdb.sh # buildkit
2026-09-17 21:49:46 UTC (buildkit.dockerfile.v0)ENTRYPOINT ["docker-entrypoint.sh"]
2026-09-17 21:49:46 UTC (buildkit.dockerfile.v0)STOPSIGNAL SIGINT
2026-09-17 21:49:46 UTC (buildkit.dockerfile.v0)EXPOSE map[5432/tcp:{}]
2026-09-17 21:49:46 UTC (buildkit.dockerfile.v0)CMD ["postgres"]
2026-10-20 16:09:25 UTC (buildkit.dockerfile.v0)ARG OSS_ONLY
2026-10-20 16:09:25 UTC (buildkit.dockerfile.v0)LABEL maintainer=Timescale https://www.timescale.com
2026-10-20 16:09:25 UTC (buildkit.dockerfile.v0)ARG PG_VERSION=17
2026-10-20 16:09:25 UTC (buildkit.dockerfile.v0)ARG PG_MAJOR_VERSION=17
2026-10-20 16:09:25 UTC (buildkit.dockerfile.v0)ARG ALPINE_VERSION=3.23
2026-10-20 16:09:25 UTC (buildkit.dockerfile.v0)RUN |4 OSS_ONLY= PG_VERSION=17 PG_MAJOR_VERSION=17 ALPINE_VERSION=3.23 /bin/sh -c set -ex; echo "https://dl-cdn.alpinelinux.org/alpine/v${ALPINE_VERSION}/community/" >> /etc/apk/repositories; apk update; if [ "$PG_MAJOR_VERSION" -ge 16 ] && [ "$PG_MAJOR_VERSION" -lt 18 ] ; then apk add --no-cache postgresql${PG_VERSION}-plpython3; fi # buildkit
2026-10-20 16:09:25 UTC (buildkit.dockerfile.v0)ARG PGVECTOR_VERSION=v0.8.1
2026-10-20 16:09:25 UTC (buildkit.dockerfile.v0)ARG PG_VERSION=17
2026-10-20 16:09:25 UTC (buildkit.dockerfile.v0)ARG CLANG_VERSION=21
2026-10-20 16:09:25 UTC (buildkit.dockerfile.v0)ARG PG_MAJOR_VERSION=17
2026-10-20 16:09:56 UTC (buildkit.dockerfile.v0)RUN |6 OSS_ONLY= PG_VERSION=17 PG_MAJOR_VERSION=17 ALPINE_VERSION=3.23 PGVECTOR_VERSION=v0.8.1 CLANG_VERSION=21 /bin/sh -c set -ex; apk update; apk add --no-cache --virtual .vector-deps postgresql${PG_VERSION}-dev build-base clang${CLANG_VERSION} llvm${CLANG_VERSION}-dev llvm${CLANG_VERSION}; cd /build/pgvector; make -j"$(nproc)" OPTFLAGS=""; make install; apk del .vector-deps # buildkit
2026-10-20 16:09:56 UTC (buildkit.dockerfile.v0)COPY docker-entrypoint-initdb.d/* /docker-entrypoint-initdb.d/ # buildkit
2026-10-20 16:09:56 UTC (buildkit.dockerfile.v0)COPY /out/* /usr/local/bin/ # buildkit
2026-10-20 16:09:57 UTC (buildkit.dockerfile.v0)COPY /usr/local/lib/postgresql/timescaledb-*.so /usr/local/lib/postgresql/ # buildkit
2026-10-20 16:09:58 UTC (buildkit.dockerfile.v0)COPY /usr/local/share/postgresql/extension/timescaledb--*.sql /usr/local/share/postgresql/extension/ # buildkit
2026-10-20 16:09:58 UTC (buildkit.dockerfile.v0)ARG TS_VERSION=2.31.0
2026-10-20 16:13:51 UTC (buildkit.dockerfile.v0)RUN |7 OSS_ONLY= PG_VERSION=17 PG_MAJOR_VERSION=17 ALPINE_VERSION=3.23 PGVECTOR_VERSION=v0.8.1 CLANG_VERSION=21 TS_VERSION=2.31.0 /bin/sh -c set -ex && apk add --no-cache --virtual .fetch-deps ca-certificates git openssl openssl-dev tar && apk add --no-cache --virtual .build-deps coreutils dpkg-dev dpkg icu-dev gcc libc-dev make cmake util-linux-dev && cd /build/timescaledb && rm -fr build && ./bootstrap -DCMAKE_BUILD_TYPE=RelWithDebInfo -DREGRESS_CHECKS=OFF -DTAP_CHECKS=OFF -DGENERATE_DOWNGRADE_SCRIPT=ON -DWARNINGS_AS_ERRORS=OFF -DPROJECT_INSTALL_METHOD="docker"${OSS_ONLY} && cd build && make -j"$(nproc)" install && cd ~ && if [ "${OSS_ONLY}" != "" ]; then rm -f $(pg_config --pkglibdir)/timescaledb-tsl-*.so; fi && apk del .fetch-deps .build-deps && sed -r -i "s/[#]*\s*(shared_preload_libraries)\s*=\s*'(.*)'/\1 = 'timescaledb,\2'/;s/,'/'/" /usr/local/share/postgresql/postgresql.conf.sample # buildkit
2026-10-20 16:14:37 UTC
524 MB
llvm21-dev clang21
GOSU_VERSION1.19
LANGen_US.utf8
PATH/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
PGDATA/var/lib/postgresql/data
PG_MAJOR17
PG_SHA256dd27f2b3c59e73ed14aa3324901242bf69a032a6347805f274e6260322d42979
PG_VERSION17.11
[#000] sha256:f2ac4546f23daefce222f4e05cc66a337ed28b1df07bac959470bc4e25c1218d - 0.59% (3.11 MB)
[#001] sha256:e8ee1ccb6264e3c21ce847d28de322d10739c2adeb0a86296a7f04d17e7ecca2 - 0.0% (969 Bytes)
[#002] sha256:07411f104559cf63bd5fea5e29134841f8209ea2b15028c896ae4f43f658a7e4 - 0.16% (845 KB)
[#003] sha256:4f7749d7780f68d87dc3616161a3c8b35035b088e6cb35a05498e649e91e8520 - 0.0% (116 Bytes)
[#004] sha256:ff4bad197b9bbbf873e57711ec1078a341a9b338042d0fdf6e6150d6f3b6cd37 - 18.63% (97.7 MB)
[#005] sha256:d9b64de999485bb5e91fac57269da1739d5fe4323a23ef2e32637ff87f5a88b1 - 0.0% (9.76 KB)
[#006] sha256:e27853a9f59fd334ef5d8f572e5c284b6779a9b0477deb818fc44934725fb279 - 0.0% (128 Bytes)
[#007] sha256:bd4e7ef9e15af117a23dba5287c9b135dbd2fcf46b92dd391a0ed6d6ef9d6ecb - 0.0% (167 Bytes)
[#008] sha256:580cd7e5d009ca7fc415d7ca41712ff2d14bc87f2d3e3f5784e567276cb288ad - 0.0% (5.97 KB)
[#009] sha256:7dbdb0d85eecd1480dd12daef2a51a6e202b5122d4c16ba06c1fa942eca07afa - 0.0% (184 Bytes)
[#010] sha256:2c311362b564d3a8d3fb377ccec70f4fdcda116d90b75d26e0886de85bf44f62 - 4.23% (22.1 MB)
[#011] sha256:fe3ad623f2dd36120963a6cff60bd6910d73fe63960656757ad8dec6ca3b78a9 - 0.93% (4.85 MB)
[#012] sha256:80aef9faff387ab302e4cc65000dcb7f0d6162a78e0c854db03d6057fb5b7443 - 0.0% (2.08 KB)
[#013] sha256:6f833fe12a8f0f30ed55f0b81f2631b89270b64420fcbfcfdbcd1b5eac470e2d - 1.57% (8.22 MB)
[#014] sha256:c74c1026d1e8b14a46f30bdb5c146d499e925b05af34c269085614945c9ffeda - 51.75% (271 MB)
[#015] sha256:b17842084f36af54e758ea410f60fc3a7396ffa0303b195060e1e4d4f1302135 - 19.71% (103 MB)
[#016] sha256:2a93aacba9fecb34931c51b556b21f4305faf42e54d05b2486b04bce54b409c7 - 2.43% (12.7 MB)
ADD alpine-minirootfs-3.23.6-armv7.tar.gz / # buildkit
2026-09-17 20:37:02 UTC (buildkit.dockerfile.v0)CMD ["/bin/sh"]
2026-09-17 21:44:35 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c set -eux; addgroup -g 70 -S postgres; adduser -u 70 -S -D -G postgres -H -h /var/lib/postgresql -s /bin/sh postgres; install --verbose --directory --owner postgres --group postgres --mode 1777 /var/lib/postgresql # buildkit
2026-09-17 21:44:38 UTC (buildkit.dockerfile.v0)ENV GOSU_VERSION=1.19
2026-09-17 21:44:38 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c set -eux; apk add --no-cache --virtual .gosu-deps ca-certificates dpkg gnupg ; dpkgArch="$(dpkg --print-architecture | awk -F- '{ print $NF }')"; wget -O /usr/local/bin/gosu "https://github.com/tianon/gosu/releases/download/$GOSU_VERSION/gosu-$dpkgArch"; wget -O /usr/local/bin/gosu.asc "https://github.com/tianon/gosu/releases/download/$GOSU_VERSION/gosu-$dpkgArch.asc"; export GNUPGHOME="$(mktemp -d)"; gpg --batch --keyserver hkps://keys.openpgp.org --recv-keys B42F6819007F00F88E364FD4036A9C25BF357DD4; gpg --batch --verify /usr/local/bin/gosu.asc /usr/local/bin/gosu; gpgconf --kill all; rm -rf "$GNUPGHOME" /usr/local/bin/gosu.asc; apk del --no-network .gosu-deps; chmod +x /usr/local/bin/gosu; gosu --version; gosu nobody true # buildkit
2026-09-17 21:44:38 UTC (buildkit.dockerfile.v0)ENV LANG=en_US.utf8
2026-09-17 21:44:38 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c mkdir /docker-entrypoint-initdb.d # buildkit
2026-09-17 21:44:38 UTC (buildkit.dockerfile.v0)ENV PG_MAJOR=17
2026-09-17 21:44:38 UTC (buildkit.dockerfile.v0)ENV PG_VERSION=17.11
2026-09-17 21:44:38 UTC (buildkit.dockerfile.v0)ENV PG_SHA256=dd27f2b3c59e73ed14aa3324901242bf69a032a6347805f274e6260322d42979
2026-09-17 21:44:38 UTC (buildkit.dockerfile.v0)ENV DOCKER_PG_LLVM_DEPS=llvm21-dev clang21
2026-09-17 21:47:54 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c set -eux; 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 $DOCKER_PG_LLVM_DEPS bison coreutils dpkg-dev dpkg flex g++ gcc krb5-dev libc-dev libedit-dev libxml2-dev libxslt-dev linux-headers make openldap-dev openssl-dev perl-dev perl-ipc-run perl-utils python3-dev tcl-dev util-linux-dev zlib-dev icu-dev lz4-dev zstd-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)"; export LLVM_CONFIG="/usr/lib/llvm21/bin/llvm-config"; export CLANG=clang-21; ./configure --enable-option-checking=fatal --build="$gnuArch" --enable-integer-datetimes --enable-tap-tests --disable-rpath --with-uuid=e2fs --with-pgport=5432 --with-system-tzdata=/usr/share/zoneinfo --prefix=/usr/local --with-includes=/usr/local/include --with-libraries=/usr/local/lib --with-gssapi --with-icu --with-ldap --with-libxml --with-libxslt --with-llvm --with-lz4 --with-openssl --with-perl --with-python --with-tcl --with-zstd ; make -j "$(nproc)" world-bin; make install-world-bin; 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 }' | grep -v -e perl -e python -e tcl )"; apk add --no-cache --virtual .postgresql-rundeps $runDeps bash tzdata zstd icu-data-full $([ "$(apk --print-arch)" != 'ppc64le' ] && echo 'nss_wrapper') ; apk del --no-network .build-deps; cd /; rm -rf /usr/src/postgresql /usr/local/share/doc /usr/local/share/man ; postgres --version # buildkit
2026-09-17 21:47:54 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c set -eux; cp -v /usr/local/share/postgresql/postgresql.conf.sample /usr/local/share/postgresql/postgresql.conf.sample.orig; sed -ri "s!^#?(listen_addresses)\s*=\s*\S+.*!\1 = '*'!" /usr/local/share/postgresql/postgresql.conf.sample; grep -F "listen_addresses = '*'" /usr/local/share/postgresql/postgresql.conf.sample # buildkit
2026-09-17 21:47:54 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c install --verbose --directory --owner postgres --group postgres --mode 3777 /var/run/postgresql # buildkit
2026-09-17 21:47:54 UTC (buildkit.dockerfile.v0)ENV PGDATA=/var/lib/postgresql/data
2026-09-17 21:47:54 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c install --verbose --directory --owner postgres --group postgres --mode 1777 "$PGDATA" # buildkit
2026-09-17 21:47:54 UTC (buildkit.dockerfile.v0)VOLUME [/var/lib/postgresql/data]
2026-09-17 21:47:54 UTC (buildkit.dockerfile.v0)COPY docker-entrypoint.sh docker-ensure-initdb.sh /usr/local/bin/ # buildkit
2026-09-17 21:47:54 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c ln -sT docker-ensure-initdb.sh /usr/local/bin/docker-enforce-initdb.sh # buildkit
2026-09-17 21:47:54 UTC (buildkit.dockerfile.v0)ENTRYPOINT ["docker-entrypoint.sh"]
2026-09-17 21:47:54 UTC (buildkit.dockerfile.v0)STOPSIGNAL SIGINT
2026-09-17 21:47:54 UTC (buildkit.dockerfile.v0)EXPOSE map[5432/tcp:{}]
2026-09-17 21:47:54 UTC (buildkit.dockerfile.v0)CMD ["postgres"]
2026-10-20 16:09:21 UTC (buildkit.dockerfile.v0)ARG OSS_ONLY
2026-10-20 16:09:21 UTC (buildkit.dockerfile.v0)LABEL maintainer=Timescale https://www.timescale.com
2026-10-20 16:09:21 UTC (buildkit.dockerfile.v0)ARG PG_VERSION=17
2026-10-20 16:09:21 UTC (buildkit.dockerfile.v0)ARG PG_MAJOR_VERSION=17
2026-10-20 16:09:21 UTC (buildkit.dockerfile.v0)ARG ALPINE_VERSION=3.23
2026-10-20 16:09:21 UTC (buildkit.dockerfile.v0)RUN |4 OSS_ONLY= PG_VERSION=17 PG_MAJOR_VERSION=17 ALPINE_VERSION=3.23 /bin/sh -c set -ex; echo "https://dl-cdn.alpinelinux.org/alpine/v${ALPINE_VERSION}/community/" >> /etc/apk/repositories; apk update; if [ "$PG_MAJOR_VERSION" -ge 16 ] && [ "$PG_MAJOR_VERSION" -lt 18 ] ; then apk add --no-cache postgresql${PG_VERSION}-plpython3; fi # buildkit
2026-10-20 16:09:21 UTC (buildkit.dockerfile.v0)ARG PGVECTOR_VERSION=v0.8.1
2026-10-20 16:09:21 UTC (buildkit.dockerfile.v0)ARG PG_VERSION=17
2026-10-20 16:09:21 UTC (buildkit.dockerfile.v0)ARG CLANG_VERSION=21
2026-10-20 16:09:21 UTC (buildkit.dockerfile.v0)ARG PG_MAJOR_VERSION=17
2026-10-20 16:09:58 UTC (buildkit.dockerfile.v0)RUN |6 OSS_ONLY= PG_VERSION=17 PG_MAJOR_VERSION=17 ALPINE_VERSION=3.23 PGVECTOR_VERSION=v0.8.1 CLANG_VERSION=21 /bin/sh -c set -ex; apk update; apk add --no-cache --virtual .vector-deps postgresql${PG_VERSION}-dev build-base clang${CLANG_VERSION} llvm${CLANG_VERSION}-dev llvm${CLANG_VERSION}; cd /build/pgvector; make -j"$(nproc)" OPTFLAGS=""; make install; apk del .vector-deps # buildkit
2026-10-20 16:09:58 UTC (buildkit.dockerfile.v0)COPY docker-entrypoint-initdb.d/* /docker-entrypoint-initdb.d/ # buildkit
2026-10-20 16:09:58 UTC (buildkit.dockerfile.v0)COPY /out/* /usr/local/bin/ # buildkit
2026-10-20 16:09:59 UTC (buildkit.dockerfile.v0)COPY /usr/local/lib/postgresql/timescaledb-*.so /usr/local/lib/postgresql/ # buildkit
2026-10-20 16:10:00 UTC (buildkit.dockerfile.v0)COPY /usr/local/share/postgresql/extension/timescaledb--*.sql /usr/local/share/postgresql/extension/ # buildkit
2026-10-20 16:10:00 UTC (buildkit.dockerfile.v0)ARG TS_VERSION=2.31.0
2026-10-20 16:14:37 UTC (buildkit.dockerfile.v0)RUN |7 OSS_ONLY= PG_VERSION=17 PG_MAJOR_VERSION=17 ALPINE_VERSION=3.23 PGVECTOR_VERSION=v0.8.1 CLANG_VERSION=21 TS_VERSION=2.31.0 /bin/sh -c set -ex && apk add --no-cache --virtual .fetch-deps ca-certificates git openssl openssl-dev tar && apk add --no-cache --virtual .build-deps coreutils dpkg-dev dpkg icu-dev gcc libc-dev make cmake util-linux-dev && cd /build/timescaledb && rm -fr build && ./bootstrap -DCMAKE_BUILD_TYPE=RelWithDebInfo -DREGRESS_CHECKS=OFF -DTAP_CHECKS=OFF -DGENERATE_DOWNGRADE_SCRIPT=ON -DWARNINGS_AS_ERRORS=OFF -DPROJECT_INSTALL_METHOD="docker"${OSS_ONLY} && cd build && make -j"$(nproc)" install && cd ~ && if [ "${OSS_ONLY}" != "" ]; then rm -f $(pg_config --pkglibdir)/timescaledb-tsl-*.so; fi && apk del .fetch-deps .build-deps && sed -r -i "s/[#]*\s*(shared_preload_libraries)\s*=\s*'(.*)'/\1 = 'timescaledb,\2'/;s/,'/'/" /usr/local/share/postgresql/postgresql.conf.sample # buildkit
2026-10-20 16:09:49 UTC
524 MB
llvm21-dev clang21
GOSU_VERSION1.19
LANGen_US.utf8
PATH/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
PGDATA/var/lib/postgresql/data
PG_MAJOR17
PG_SHA256dd27f2b3c59e73ed14aa3324901242bf69a032a6347805f274e6260322d42979
PG_VERSION17.11
[#000] sha256:ace1621be7ff15b54252f68393ac33181df7f3e095e36a5d9a9892031b357d31 - 0.76% (3.99 MB)
[#001] sha256:31ca1302ee77b1021ca57db48ca578e98169bb1ea43347cbdc6096f543050a0e - 0.0% (967 Bytes)
[#002] sha256:6be13bc3eedaecb8455dc7c1d14f3cee33ceb785ab282f7323e43a7a02abc5da - 0.16% (833 KB)
[#003] sha256:75a66c82a932484ad46046d1f01f5e9c63247ce351213eecc94c98d91ae00ed3 - 0.0% (116 Bytes)
[#004] sha256:81a6e8e6267dfcd71252adb7c60e199b98ad2b70ea75a364fe1e63bff93e9245 - 19.92% (104 MB)
[#005] sha256:47a85bf6ebfcf12f6de8b00e8d4cf478a52b51085228255636064c750ef60875 - 0.0% (9.76 KB)
[#006] sha256:c23f21f41017807adfb83488d953436752ef258be5f0647e8c60a648bd836f34 - 0.0% (128 Bytes)
[#007] sha256:d1a5b792c98213b1c21959b0c4cdc9150a83bedaab9627ed26062b7722630bd5 - 0.0% (167 Bytes)
[#008] sha256:d4524129c9769d75e14e95e765e65ca329559685f8bf27e80e6b88dca26105b1 - 0.0% (5.97 KB)
[#009] sha256:0aab0f3051104a8011e4a58844fa00c28d4cdec05cbb4a8ac6f0fa67611e8ab8 - 0.0% (185 Bytes)
[#010] sha256:c3fe332078484366e8bec03f76ab7471219d5c73137f1c2a51f06a380dbd1333 - 4.47% (23.4 MB)
[#011] sha256:06202cb39c7d30c1d3ceee0d75f014f1bd4bda19a06480e87e53887c66f704cd - 1.11% (5.81 MB)
[#012] sha256:0d5bd929375810f7b3dd7c41e81edc30009e24d4be56e97a75d08bb11c08bfd8 - 0.0% (2.08 KB)
[#013] sha256:f097d4d383740d777a71f331301565a4cf320222075618b608bffd9d3df582f2 - 1.52% (7.98 MB)
[#014] sha256:5eb35c4267cf4d81c5cd0e71ba9985c88407b8f33b50765120e389ac2281b596 - 50.09% (263 MB)
[#015] sha256:888dda4cdf59e294c4c12316e6c2e724a611b08535cfdd783c03b19f3b3bfba7 - 19.72% (103 MB)
[#016] sha256:647ef996da63fa8d6b2bf5719982f0d483612781f7e606ba7d426e6a78e0b9fc - 2.25% (11.8 MB)
ADD alpine-minirootfs-3.23.6-aarch64.tar.gz / # buildkit
2026-09-17 20:37:18 UTC (buildkit.dockerfile.v0)CMD ["/bin/sh"]
2026-09-17 21:31:05 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c set -eux; addgroup -g 70 -S postgres; adduser -u 70 -S -D -G postgres -H -h /var/lib/postgresql -s /bin/sh postgres; install --verbose --directory --owner postgres --group postgres --mode 1777 /var/lib/postgresql # buildkit
2026-09-17 21:31:08 UTC (buildkit.dockerfile.v0)ENV GOSU_VERSION=1.19
2026-09-17 21:31:08 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c set -eux; apk add --no-cache --virtual .gosu-deps ca-certificates dpkg gnupg ; dpkgArch="$(dpkg --print-architecture | awk -F- '{ print $NF }')"; wget -O /usr/local/bin/gosu "https://github.com/tianon/gosu/releases/download/$GOSU_VERSION/gosu-$dpkgArch"; wget -O /usr/local/bin/gosu.asc "https://github.com/tianon/gosu/releases/download/$GOSU_VERSION/gosu-$dpkgArch.asc"; export GNUPGHOME="$(mktemp -d)"; gpg --batch --keyserver hkps://keys.openpgp.org --recv-keys B42F6819007F00F88E364FD4036A9C25BF357DD4; gpg --batch --verify /usr/local/bin/gosu.asc /usr/local/bin/gosu; gpgconf --kill all; rm -rf "$GNUPGHOME" /usr/local/bin/gosu.asc; apk del --no-network .gosu-deps; chmod +x /usr/local/bin/gosu; gosu --version; gosu nobody true # buildkit
2026-09-17 21:31:08 UTC (buildkit.dockerfile.v0)ENV LANG=en_US.utf8
2026-09-17 21:31:08 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c mkdir /docker-entrypoint-initdb.d # buildkit
2026-09-17 21:31:08 UTC (buildkit.dockerfile.v0)ENV PG_MAJOR=17
2026-09-17 21:31:08 UTC (buildkit.dockerfile.v0)ENV PG_VERSION=17.11
2026-09-17 21:31:08 UTC (buildkit.dockerfile.v0)ENV PG_SHA256=dd27f2b3c59e73ed14aa3324901242bf69a032a6347805f274e6260322d42979
2026-09-17 21:31:08 UTC (buildkit.dockerfile.v0)ENV DOCKER_PG_LLVM_DEPS=llvm21-dev clang21
2026-09-17 21:33:30 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c set -eux; 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 $DOCKER_PG_LLVM_DEPS bison coreutils dpkg-dev dpkg flex g++ gcc krb5-dev libc-dev libedit-dev libxml2-dev libxslt-dev linux-headers make openldap-dev openssl-dev perl-dev perl-ipc-run perl-utils python3-dev tcl-dev util-linux-dev zlib-dev icu-dev lz4-dev zstd-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)"; export LLVM_CONFIG="/usr/lib/llvm21/bin/llvm-config"; export CLANG=clang-21; ./configure --enable-option-checking=fatal --build="$gnuArch" --enable-integer-datetimes --enable-tap-tests --disable-rpath --with-uuid=e2fs --with-pgport=5432 --with-system-tzdata=/usr/share/zoneinfo --prefix=/usr/local --with-includes=/usr/local/include --with-libraries=/usr/local/lib --with-gssapi --with-icu --with-ldap --with-libxml --with-libxslt --with-llvm --with-lz4 --with-openssl --with-perl --with-python --with-tcl --with-zstd ; make -j "$(nproc)" world-bin; make install-world-bin; 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 }' | grep -v -e perl -e python -e tcl )"; apk add --no-cache --virtual .postgresql-rundeps $runDeps bash tzdata zstd icu-data-full $([ "$(apk --print-arch)" != 'ppc64le' ] && echo 'nss_wrapper') ; apk del --no-network .build-deps; cd /; rm -rf /usr/src/postgresql /usr/local/share/doc /usr/local/share/man ; postgres --version # buildkit
2026-09-17 21:33:30 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c set -eux; cp -v /usr/local/share/postgresql/postgresql.conf.sample /usr/local/share/postgresql/postgresql.conf.sample.orig; sed -ri "s!^#?(listen_addresses)\s*=\s*\S+.*!\1 = '*'!" /usr/local/share/postgresql/postgresql.conf.sample; grep -F "listen_addresses = '*'" /usr/local/share/postgresql/postgresql.conf.sample # buildkit
2026-09-17 21:33:30 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c install --verbose --directory --owner postgres --group postgres --mode 3777 /var/run/postgresql # buildkit
2026-09-17 21:33:30 UTC (buildkit.dockerfile.v0)ENV PGDATA=/var/lib/postgresql/data
2026-09-17 21:33:31 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c install --verbose --directory --owner postgres --group postgres --mode 1777 "$PGDATA" # buildkit
2026-09-17 21:33:31 UTC (buildkit.dockerfile.v0)VOLUME [/var/lib/postgresql/data]
2026-09-17 21:33:31 UTC (buildkit.dockerfile.v0)COPY docker-entrypoint.sh docker-ensure-initdb.sh /usr/local/bin/ # buildkit
2026-09-17 21:33:31 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c ln -sT docker-ensure-initdb.sh /usr/local/bin/docker-enforce-initdb.sh # buildkit
2026-09-17 21:33:31 UTC (buildkit.dockerfile.v0)ENTRYPOINT ["docker-entrypoint.sh"]
2026-09-17 21:33:31 UTC (buildkit.dockerfile.v0)STOPSIGNAL SIGINT
2026-09-17 21:33:31 UTC (buildkit.dockerfile.v0)EXPOSE map[5432/tcp:{}]
2026-09-17 21:33:31 UTC (buildkit.dockerfile.v0)CMD ["postgres"]
2026-10-16 00:24:07 UTC (buildkit.dockerfile.v0)ARG OSS_ONLY
2026-10-16 00:24:07 UTC (buildkit.dockerfile.v0)LABEL maintainer=Timescale https://www.timescale.com
2026-10-16 00:24:07 UTC (buildkit.dockerfile.v0)ARG PG_VERSION=17
2026-10-16 00:24:07 UTC (buildkit.dockerfile.v0)ARG PG_MAJOR_VERSION=17
2026-10-16 00:24:07 UTC (buildkit.dockerfile.v0)ARG ALPINE_VERSION=3.23
2026-10-16 00:24:07 UTC (buildkit.dockerfile.v0)RUN |4 OSS_ONLY= PG_VERSION=17 PG_MAJOR_VERSION=17 ALPINE_VERSION=3.23 /bin/sh -c set -ex; echo "https://dl-cdn.alpinelinux.org/alpine/v${ALPINE_VERSION}/community/" >> /etc/apk/repositories; apk update; if [ "$PG_MAJOR_VERSION" -ge 16 ] && [ "$PG_MAJOR_VERSION" -lt 18 ] ; then apk add --no-cache postgresql${PG_VERSION}-plpython3; fi # buildkit
2026-10-16 00:24:07 UTC (buildkit.dockerfile.v0)ARG PGVECTOR_VERSION=v0.8.1
2026-10-16 00:24:07 UTC (buildkit.dockerfile.v0)ARG PG_VERSION=17
2026-10-16 00:24:07 UTC (buildkit.dockerfile.v0)ARG CLANG_VERSION=21
2026-10-16 00:24:07 UTC (buildkit.dockerfile.v0)ARG PG_MAJOR_VERSION=17
2026-10-16 00:24:15 UTC (buildkit.dockerfile.v0)RUN |6 OSS_ONLY= PG_VERSION=17 PG_MAJOR_VERSION=17 ALPINE_VERSION=3.23 PGVECTOR_VERSION=v0.8.1 CLANG_VERSION=21 /bin/sh -c set -ex; apk update; apk add --no-cache --virtual .vector-deps postgresql${PG_VERSION}-dev build-base clang${CLANG_VERSION} llvm${CLANG_VERSION}-dev llvm${CLANG_VERSION}; cd /build/pgvector; make -j"$(nproc)" OPTFLAGS=""; make install; apk del .vector-deps # buildkit
2026-10-16 00:24:15 UTC (buildkit.dockerfile.v0)COPY docker-entrypoint-initdb.d/* /docker-entrypoint-initdb.d/ # buildkit
2026-10-16 00:24:15 UTC (buildkit.dockerfile.v0)COPY /out/* /usr/local/bin/ # buildkit
2026-10-16 00:24:16 UTC (buildkit.dockerfile.v0)COPY /usr/local/lib/postgresql/timescaledb-*.so /usr/local/lib/postgresql/ # buildkit
2026-10-16 00:24:17 UTC (buildkit.dockerfile.v0)COPY /usr/local/share/postgresql/extension/timescaledb--*.sql /usr/local/share/postgresql/extension/ # buildkit
2026-10-16 00:24:17 UTC (buildkit.dockerfile.v0)ARG TS_VERSION=2.31.0
2026-10-20 16:09:49 UTC (buildkit.dockerfile.v0)RUN |7 OSS_ONLY= PG_VERSION=17 PG_MAJOR_VERSION=17 ALPINE_VERSION=3.23 PGVECTOR_VERSION=v0.8.1 CLANG_VERSION=21 TS_VERSION=2.31.0 /bin/sh -c set -ex && apk add --no-cache --virtual .fetch-deps ca-certificates git openssl openssl-dev tar && apk add --no-cache --virtual .build-deps coreutils dpkg-dev dpkg icu-dev gcc libc-dev make cmake util-linux-dev && cd /build/timescaledb && rm -fr build && ./bootstrap -DCMAKE_BUILD_TYPE=RelWithDebInfo -DREGRESS_CHECKS=OFF -DTAP_CHECKS=OFF -DGENERATE_DOWNGRADE_SCRIPT=ON -DWARNINGS_AS_ERRORS=OFF -DPROJECT_INSTALL_METHOD="docker"${OSS_ONLY} && cd build && make -j"$(nproc)" install && cd ~ && if [ "${OSS_ONLY}" != "" ]; then rm -f $(pg_config --pkglibdir)/timescaledb-tsl-*.so; fi && apk del .fetch-deps .build-deps && sed -r -i "s/[#]*\s*(shared_preload_libraries)\s*=\s*'(.*)'/\1 = 'timescaledb,\2'/;s/,'/'/" /usr/local/share/postgresql/postgresql.conf.sample # buildkit
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.