2026-08-18 08:56:33 UTC
253 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/18/docker
PG_MAJOR18
PG_SHA256555610c24d53e4316da5b7d3fc25c279d96856d5e0e23ee308c328c5fa881d9f
PG_VERSION18.6
[#000] sha256:732d51f3795f48d3898f2f5895e6c5a28a5feea9889892adc95157ed714ca693 - 1.38% (3.5 MB)
[#001] sha256:f085794456c685d63724f1cff37cfcfebad748e1df60ff9a886ecc640032e7a5 - 0.0% (971 Bytes)
[#002] sha256:1b8ea2c4cdcdce3adb198e0fdd24951cdd0e93665e2e19350530c23bf644a37b - 0.33% (848 KB)
[#003] sha256:7f3453e47268e6044aa9d9f18729ee4038051ac81a720d6d7ed8af608d735a3f - 0.0% (116 Bytes)
[#004] sha256:f17a48d47656845247566579099dad8482015ffca23791c4db9d40461820108b - 45.83% (116 MB)
[#005] sha256:81e2bcdb218a50b890df68597a63546a82d951b1c58f6e07172e33b03e617736 - 0.01% (18.6 KB)
[#006] sha256:8e94a818831cd0ed85eac00692399855eaf60a7e098a706cea09c09e1b5d186a - 0.0% (128 Bytes)
[#007] sha256:39c39b09cd18557ed04132b555c4c24f3d1dbd074e72c2f3a352ceeb80b079c8 - 0.0% (5.97 KB)
[#008] sha256:aa33e0ac8289cbb9c447c81b1bfd10f0fa9ce55764801f77c253eb1ad650c70c - 0.0% (184 Bytes)
[#009] sha256:79bc92c30bcf90408edb7e0466622e6e1ae193e4718c6895c6899b1ecdb04865 - 1.02% (2.59 MB)
[#010] sha256:c6a405ca88817fa6faa0527dd309115a01a3121308d5552d119116c656763385 - 2.3% (5.83 MB)
[#011] sha256:0ed53c86e356c0c60395a5047dedbb67da49c71ef4025b2b92d1f5c9574b2eb1 - 0.0% (2.08 KB)
[#012] sha256:1104a5c665a8738cd4d4682457d1c2457e01f5b42dc89f8951e4b446df220784 - 3.34% (8.47 MB)
[#013] sha256:5bafdea481b19e750ff8ee46a131e8ceaa4a8b37cd6eccee5d6e2e01e7016118 - 23.16% (58.7 MB)
[#014] sha256:ffedc16d2645f819c3e5abaaf3905acf205cbd3a6cd0d34f1aad760f36d3d23a - 20.04% (50.8 MB)
[#015] sha256:fecda0059d28c834d8bdd9ad6a3fc84e05e7fcffdaea7c1133db735f39dffb2f - 2.59% (6.56 MB)
ADD alpine-minirootfs-3.23.5-x86.tar.gz / # buildkit
2026-06-22 19:20:08 UTC (buildkit.dockerfile.v0)CMD ["/bin/sh"]
2026-08-13 19:15:01 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-08-13 19:15:04 UTC (buildkit.dockerfile.v0)ENV GOSU_VERSION=1.19
2026-08-13 19:15:04 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-08-13 19:15:04 UTC (buildkit.dockerfile.v0)ENV LANG=en_US.utf8
2026-08-13 19:15:04 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c mkdir /docker-entrypoint-initdb.d # buildkit
2026-08-13 19:15:04 UTC (buildkit.dockerfile.v0)ENV PG_MAJOR=18
2026-08-13 19:15:04 UTC (buildkit.dockerfile.v0)ENV PG_VERSION=18.6
2026-08-13 19:15:04 UTC (buildkit.dockerfile.v0)ENV PG_SHA256=555610c24d53e4316da5b7d3fc25c279d96856d5e0e23ee308c328c5fa881d9f
2026-08-13 19:15:04 UTC (buildkit.dockerfile.v0)ENV DOCKER_PG_LLVM_DEPS=llvm21-dev clang21
2026-08-13 19:17:52 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 curl-dev liburing-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-libcurl --with-liburing --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-08-13 19:17:52 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-08-13 19:17:52 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c install --verbose --directory --owner postgres --group postgres --mode 3777 /var/run/postgresql # buildkit
2026-08-13 19:17:52 UTC (buildkit.dockerfile.v0)ENV PGDATA=/var/lib/postgresql/18/docker
2026-08-13 19:17:52 UTC (buildkit.dockerfile.v0)VOLUME [/var/lib/postgresql]
2026-08-13 19:17:52 UTC (buildkit.dockerfile.v0)COPY docker-entrypoint.sh docker-ensure-initdb.sh /usr/local/bin/ # buildkit
2026-08-13 19:17:52 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c ln -sT docker-ensure-initdb.sh /usr/local/bin/docker-enforce-initdb.sh # buildkit
2026-08-13 19:17:52 UTC (buildkit.dockerfile.v0)ENTRYPOINT ["docker-entrypoint.sh"]
2026-08-13 19:17:52 UTC (buildkit.dockerfile.v0)STOPSIGNAL SIGINT
2026-08-13 19:17:52 UTC (buildkit.dockerfile.v0)EXPOSE map[5432/tcp:{}]
2026-08-13 19:17:52 UTC (buildkit.dockerfile.v0)CMD ["postgres"]
2026-08-18 08:51:53 UTC (buildkit.dockerfile.v0)ARG OSS_ONLY= -DAPACHE_ONLY=1
2026-08-18 08:51:53 UTC (buildkit.dockerfile.v0)LABEL maintainer=Timescale https://www.timescale.com
2026-08-18 08:51:53 UTC (buildkit.dockerfile.v0)ARG PG_VERSION=18
2026-08-18 08:51:53 UTC (buildkit.dockerfile.v0)ARG PG_MAJOR_VERSION=18
2026-08-18 08:51:53 UTC (buildkit.dockerfile.v0)ARG ALPINE_VERSION=3.23
2026-08-18 08:51:53 UTC (buildkit.dockerfile.v0)RUN |4 OSS_ONLY= -DAPACHE_ONLY=1 PG_VERSION=18 PG_MAJOR_VERSION=18 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-08-18 08:51:53 UTC (buildkit.dockerfile.v0)ARG PGVECTOR_VERSION=v0.8.1
2026-08-18 08:51:53 UTC (buildkit.dockerfile.v0)ARG PG_VERSION=18
2026-08-18 08:51:53 UTC (buildkit.dockerfile.v0)ARG CLANG_VERSION=21
2026-08-18 08:51:53 UTC (buildkit.dockerfile.v0)ARG PG_MAJOR_VERSION=18
2026-08-18 08:53:14 UTC (buildkit.dockerfile.v0)RUN |6 OSS_ONLY= -DAPACHE_ONLY=1 PG_VERSION=18 PG_MAJOR_VERSION=18 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 git build-base clang${CLANG_VERSION} llvm${CLANG_VERSION}-dev llvm${CLANG_VERSION}; git clone --branch ${PGVECTOR_VERSION} https://github.com/pgvector/pgvector.git /build/pgvector; cd /build/pgvector; make OPTFLAGS=""; make install; apk del .vector-deps # buildkit
2026-08-18 08:53:14 UTC (buildkit.dockerfile.v0)COPY docker-entrypoint-initdb.d/* /docker-entrypoint-initdb.d/ # buildkit
2026-08-18 08:53:19 UTC (buildkit.dockerfile.v0)COPY /go/bin/* /usr/local/bin/ # buildkit
2026-08-18 08:53:19 UTC (buildkit.dockerfile.v0)COPY /usr/local/lib/postgresql/timescaledb-*.so /usr/local/lib/postgresql/ # buildkit
2026-08-18 08:53:21 UTC (buildkit.dockerfile.v0)COPY /usr/local/share/postgresql/extension/timescaledb--*.sql /usr/local/share/postgresql/extension/ # buildkit
2026-08-18 08:53:21 UTC (buildkit.dockerfile.v0)ARG TS_VERSION=2.29.2
2026-08-18 08:56:33 UTC (buildkit.dockerfile.v0)RUN |7 OSS_ONLY= -DAPACHE_ONLY=1 PG_VERSION=18 PG_MAJOR_VERSION=18 ALPINE_VERSION=3.23 PGVECTOR_VERSION=v0.8.1 CLANG_VERSION=21 TS_VERSION=2.29.2 /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 icu-dev gcc libc-dev make cmake util-linux-dev && cd /build/timescaledb && rm -fr build && git checkout ${TS_VERSION} && ./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 install && cd ~ && if [ "${OSS_ONLY}" != "" ]; then rm -f $(pg_config --pkglibdir)/timescaledb-tsl-*.so; fi && 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 # buildkit
2026-08-18 08:56:09 UTC
250 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/18/docker
PG_MAJOR18
PG_SHA256555610c24d53e4316da5b7d3fc25c279d96856d5e0e23ee308c328c5fa881d9f
PG_VERSION18.6
[#000] sha256:e6f31ffc071e5560b82a8685fba8214954e5721e3e49269d00958316edbe89fe - 1.47% (3.67 MB)
[#001] sha256:cb185ff026b874d9d086268472abda4d644a7bf38631e3b5d6ecbb00c1bde8ac - 0.0% (972 Bytes)
[#002] sha256:befa6b7ab71ac04fbf0ecc78862ea243232042bfbbcbcf6a43f4f433cc714ec4 - 0.34% (879 KB)
[#003] sha256:6d51b6d6fca213624cf1249baf357e69de11e7e0a91a0f970a043f0a93855098 - 0.0% (116 Bytes)
[#004] sha256:79df807c65f1507647604d3920e43e12fb043341adfde6dda0f8480fb65ac4cb - 43.84% (109 MB)
[#005] sha256:b0a4582ba56cc4a141c640d7a59e37e41f4637a3ee65b75b0523a7be8dbb9977 - 0.01% (18.6 KB)
[#006] sha256:55d8df41fe8b379350f0cea87f0fe0e81052e8f408eaada0c644d9c3f3b7c84f - 0.0% (128 Bytes)
[#007] sha256:223774b7bcc60cefd0ae5ca0cec508d993bdd576ed61a35b43abc9bdce6c7c2d - 0.0% (5.97 KB)
[#008] sha256:660de3f0033ce77b2aaffa35efd4abed8e720c6d009aa7b1a3f30a1b6471c2b2 - 0.0% (184 Bytes)
[#009] sha256:8e55eae62f0c432b583c02e71c6b7046569bbdc45ced07b74ffbc407588702bb - 1.11% (2.78 MB)
[#010] sha256:d1da7c69a34c78b3040baf207763711d816de3346316175ae37b988f72c29617 - 2.44% (6.1 MB)
[#011] sha256:0ed53c86e356c0c60395a5047dedbb67da49c71ef4025b2b92d1f5c9574b2eb1 - 0.0% (2.08 KB)
[#012] sha256:b117238fa24521afa3a77ebe266bd1e284aead371df961f0ce8900d818457f1f - 3.48% (8.69 MB)
[#013] sha256:666f04e03aa8d93eef1d4dddb5601bc90ca6309cc89d6ff0b31ceda400878d2f - 24.29% (60.6 MB)
[#014] sha256:2d90a8515f9bbe9af503c73d72ec3a5f9580c6caf5ab48abf565de8b4137052e - 20.34% (50.8 MB)
[#015] sha256:6d758a1fe990c7f8c7432924ef7b5007816cc50dd4e7b0c1bb9a3ef76d6a1449 - 2.67% (6.66 MB)
ADD alpine-minirootfs-3.23.5-x86_64.tar.gz / # buildkit
2026-06-22 19:20:09 UTC (buildkit.dockerfile.v0)CMD ["/bin/sh"]
2026-08-13 19:15: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-08-13 19:15:07 UTC (buildkit.dockerfile.v0)ENV GOSU_VERSION=1.19
2026-08-13 19:15:07 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-08-13 19:15:07 UTC (buildkit.dockerfile.v0)ENV LANG=en_US.utf8
2026-08-13 19:15:07 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c mkdir /docker-entrypoint-initdb.d # buildkit
2026-08-13 19:15:07 UTC (buildkit.dockerfile.v0)ENV PG_MAJOR=18
2026-08-13 19:15:07 UTC (buildkit.dockerfile.v0)ENV PG_VERSION=18.6
2026-08-13 19:15:07 UTC (buildkit.dockerfile.v0)ENV PG_SHA256=555610c24d53e4316da5b7d3fc25c279d96856d5e0e23ee308c328c5fa881d9f
2026-08-13 19:15:07 UTC (buildkit.dockerfile.v0)ENV DOCKER_PG_LLVM_DEPS=llvm21-dev clang21
2026-08-13 19:17:31 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 curl-dev liburing-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-libcurl --with-liburing --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-08-13 19:17:31 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-08-13 19:17:31 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c install --verbose --directory --owner postgres --group postgres --mode 3777 /var/run/postgresql # buildkit
2026-08-13 19:17:31 UTC (buildkit.dockerfile.v0)ENV PGDATA=/var/lib/postgresql/18/docker
2026-08-13 19:17:31 UTC (buildkit.dockerfile.v0)VOLUME [/var/lib/postgresql]
2026-08-13 19:17:31 UTC (buildkit.dockerfile.v0)COPY docker-entrypoint.sh docker-ensure-initdb.sh /usr/local/bin/ # buildkit
2026-08-13 19:17:31 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c ln -sT docker-ensure-initdb.sh /usr/local/bin/docker-enforce-initdb.sh # buildkit
2026-08-13 19:17:31 UTC (buildkit.dockerfile.v0)ENTRYPOINT ["docker-entrypoint.sh"]
2026-08-13 19:17:31 UTC (buildkit.dockerfile.v0)STOPSIGNAL SIGINT
2026-08-13 19:17:31 UTC (buildkit.dockerfile.v0)EXPOSE map[5432/tcp:{}]
2026-08-13 19:17:31 UTC (buildkit.dockerfile.v0)CMD ["postgres"]
2026-08-18 08:51:54 UTC (buildkit.dockerfile.v0)ARG OSS_ONLY= -DAPACHE_ONLY=1
2026-08-18 08:51:54 UTC (buildkit.dockerfile.v0)LABEL maintainer=Timescale https://www.timescale.com
2026-08-18 08:51:54 UTC (buildkit.dockerfile.v0)ARG PG_VERSION=18
2026-08-18 08:51:54 UTC (buildkit.dockerfile.v0)ARG PG_MAJOR_VERSION=18
2026-08-18 08:51:54 UTC (buildkit.dockerfile.v0)ARG ALPINE_VERSION=3.23
2026-08-18 08:51:54 UTC (buildkit.dockerfile.v0)RUN |4 OSS_ONLY= -DAPACHE_ONLY=1 PG_VERSION=18 PG_MAJOR_VERSION=18 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-08-18 08:51:54 UTC (buildkit.dockerfile.v0)ARG PGVECTOR_VERSION=v0.8.1
2026-08-18 08:51:54 UTC (buildkit.dockerfile.v0)ARG PG_VERSION=18
2026-08-18 08:51:54 UTC (buildkit.dockerfile.v0)ARG CLANG_VERSION=21
2026-08-18 08:51:54 UTC (buildkit.dockerfile.v0)ARG PG_MAJOR_VERSION=18
2026-08-18 08:53:14 UTC (buildkit.dockerfile.v0)RUN |6 OSS_ONLY= -DAPACHE_ONLY=1 PG_VERSION=18 PG_MAJOR_VERSION=18 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 git build-base clang${CLANG_VERSION} llvm${CLANG_VERSION}-dev llvm${CLANG_VERSION}; git clone --branch ${PGVECTOR_VERSION} https://github.com/pgvector/pgvector.git /build/pgvector; cd /build/pgvector; make OPTFLAGS=""; make install; apk del .vector-deps # buildkit
2026-08-18 08:53:14 UTC (buildkit.dockerfile.v0)COPY docker-entrypoint-initdb.d/* /docker-entrypoint-initdb.d/ # buildkit
2026-08-18 08:53:14 UTC (buildkit.dockerfile.v0)COPY /go/bin/* /usr/local/bin/ # buildkit
2026-08-18 08:53:15 UTC (buildkit.dockerfile.v0)COPY /usr/local/lib/postgresql/timescaledb-*.so /usr/local/lib/postgresql/ # buildkit
2026-08-18 08:53:17 UTC (buildkit.dockerfile.v0)COPY /usr/local/share/postgresql/extension/timescaledb--*.sql /usr/local/share/postgresql/extension/ # buildkit
2026-08-18 08:53:17 UTC (buildkit.dockerfile.v0)ARG TS_VERSION=2.29.2
2026-08-18 08:56:09 UTC (buildkit.dockerfile.v0)RUN |7 OSS_ONLY= -DAPACHE_ONLY=1 PG_VERSION=18 PG_MAJOR_VERSION=18 ALPINE_VERSION=3.23 PGVECTOR_VERSION=v0.8.1 CLANG_VERSION=21 TS_VERSION=2.29.2 /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 icu-dev gcc libc-dev make cmake util-linux-dev && cd /build/timescaledb && rm -fr build && git checkout ${TS_VERSION} && ./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 install && cd ~ && if [ "${OSS_ONLY}" != "" ]; then rm -f $(pg_config --pkglibdir)/timescaledb-tsl-*.so; fi && 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 # buildkit
2026-08-18 09:15:23 UTC
244 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/18/docker
PG_MAJOR18
PG_SHA256555610c24d53e4316da5b7d3fc25c279d96856d5e0e23ee308c328c5fa881d9f
PG_VERSION18.6
[#000] sha256:e10b64a07fc8ab4702bfbad629edb6572f190358cdb4b2b7392040bdef454c0f - 1.39% (3.39 MB)
[#001] sha256:a53a171e55ec1724ef15d1862dd85137af8841ee3806a654c9bd19c1304edc87 - 0.0% (970 Bytes)
[#002] sha256:334d3122854c44cf8eb68d944abf28ab7fc05fe52c9a160ead47504a8b791ce1 - 0.34% (844 KB)
[#003] sha256:c466588b2075ee20575e89c900912556bc474660eb40927e25767578733ebce0 - 0.0% (116 Bytes)
[#004] sha256:96092f6605306b929bad7fc75f637679c7ce2cde80905039da550a92ec650ac6 - 43.54% (106 MB)
[#005] sha256:6707b67b863f9ab88e8fddfcb0f1cc22afeaac0888a942e394dc8c068f4e9312 - 0.01% (18.6 KB)
[#006] sha256:046d28f0ef9d4c7ea962f6a4550b027a780ca2735f59ebe2eefa1a204ca7a65c - 0.0% (129 Bytes)
[#007] sha256:f4867de4b6bbb955cee3868323b51ac0efb2884af6678d8ed54ba206ad60ab55 - 0.0% (5.96 KB)
[#008] sha256:aa53b5b67e6b95d8f160bb73dd487a6d80134b5117be087838f704736abe6769 - 0.0% (183 Bytes)
[#009] sha256:e61afc772e8e252d64be18aa54df028959e580d9217cd90f976dbf9f538303bc - 0.98% (2.4 MB)
[#010] sha256:45dcf3f6d8015d5388e35f4dc63df7f78dd33b94a2f482a846270087d7170849 - 2.32% (5.65 MB)
[#011] sha256:6e844c06122dbc85fd682c8a8fc55616861e8acc10e2ed03e869683e397ddc26 - 0.0% (2.08 KB)
[#012] sha256:d0355c03b60b3b09844037503f85350c8b5f917e8b490933feefbbcd13360e94 - 3.37% (8.21 MB)
[#013] sha256:c63fbd1c355f67b001a356513e03ec030e2425b3e9060fcbb1da9bb64c48588e - 24.51% (59.7 MB)
[#014] sha256:fd0f82b7d6a91c73f82ee04f8da6dbf1a84a9c4c4e084a308fce6edcd970f8d9 - 20.84% (50.8 MB)
[#015] sha256:7dc77719961a800ce5252e5287f4ca804594ece39f62ca4949b1c3ce1b4fe0bd - 2.71% (6.61 MB)
ADD alpine-minirootfs-3.23.5-armhf.tar.gz / # buildkit
2026-06-22 19:20:21 UTC (buildkit.dockerfile.v0)CMD ["/bin/sh"]
2026-08-13 19:27:11 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-08-13 19:27:14 UTC (buildkit.dockerfile.v0)ENV GOSU_VERSION=1.19
2026-08-13 19:27:14 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-08-13 19:27:14 UTC (buildkit.dockerfile.v0)ENV LANG=en_US.utf8
2026-08-13 19:27:14 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c mkdir /docker-entrypoint-initdb.d # buildkit
2026-08-13 19:27:14 UTC (buildkit.dockerfile.v0)ENV PG_MAJOR=18
2026-08-13 19:27:14 UTC (buildkit.dockerfile.v0)ENV PG_VERSION=18.6
2026-08-13 19:27:14 UTC (buildkit.dockerfile.v0)ENV PG_SHA256=555610c24d53e4316da5b7d3fc25c279d96856d5e0e23ee308c328c5fa881d9f
2026-08-13 19:27:14 UTC (buildkit.dockerfile.v0)ENV DOCKER_PG_LLVM_DEPS=llvm21-dev clang21
2026-08-13 19:30:05 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 curl-dev liburing-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-libcurl --with-liburing --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-08-13 19:30:05 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-08-13 19:30:05 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c install --verbose --directory --owner postgres --group postgres --mode 3777 /var/run/postgresql # buildkit
2026-08-13 19:30:05 UTC (buildkit.dockerfile.v0)ENV PGDATA=/var/lib/postgresql/18/docker
2026-08-13 19:30:05 UTC (buildkit.dockerfile.v0)VOLUME [/var/lib/postgresql]
2026-08-13 19:30:05 UTC (buildkit.dockerfile.v0)COPY docker-entrypoint.sh docker-ensure-initdb.sh /usr/local/bin/ # buildkit
2026-08-13 19:30:05 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c ln -sT docker-ensure-initdb.sh /usr/local/bin/docker-enforce-initdb.sh # buildkit
2026-08-13 19:30:05 UTC (buildkit.dockerfile.v0)ENTRYPOINT ["docker-entrypoint.sh"]
2026-08-13 19:30:05 UTC (buildkit.dockerfile.v0)STOPSIGNAL SIGINT
2026-08-13 19:30:05 UTC (buildkit.dockerfile.v0)EXPOSE map[5432/tcp:{}]
2026-08-13 19:30:05 UTC (buildkit.dockerfile.v0)CMD ["postgres"]
2026-08-18 08:51:54 UTC (buildkit.dockerfile.v0)ARG OSS_ONLY= -DAPACHE_ONLY=1
2026-08-18 08:51:54 UTC (buildkit.dockerfile.v0)LABEL maintainer=Timescale https://www.timescale.com
2026-08-18 08:51:54 UTC (buildkit.dockerfile.v0)ARG PG_VERSION=18
2026-08-18 08:51:54 UTC (buildkit.dockerfile.v0)ARG PG_MAJOR_VERSION=18
2026-08-18 08:51:54 UTC (buildkit.dockerfile.v0)ARG ALPINE_VERSION=3.23
2026-08-18 08:51:54 UTC (buildkit.dockerfile.v0)RUN |4 OSS_ONLY= -DAPACHE_ONLY=1 PG_VERSION=18 PG_MAJOR_VERSION=18 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-08-18 08:51:54 UTC (buildkit.dockerfile.v0)ARG PGVECTOR_VERSION=v0.8.1
2026-08-18 08:51:54 UTC (buildkit.dockerfile.v0)ARG PG_VERSION=18
2026-08-18 08:51:54 UTC (buildkit.dockerfile.v0)ARG CLANG_VERSION=21
2026-08-18 08:51:54 UTC (buildkit.dockerfile.v0)ARG PG_MAJOR_VERSION=18
2026-08-18 09:00:48 UTC (buildkit.dockerfile.v0)RUN |6 OSS_ONLY= -DAPACHE_ONLY=1 PG_VERSION=18 PG_MAJOR_VERSION=18 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 git build-base clang${CLANG_VERSION} llvm${CLANG_VERSION}-dev llvm${CLANG_VERSION}; git clone --branch ${PGVECTOR_VERSION} https://github.com/pgvector/pgvector.git /build/pgvector; cd /build/pgvector; make OPTFLAGS=""; make install; apk del .vector-deps # buildkit
2026-08-18 09:00:48 UTC (buildkit.dockerfile.v0)COPY docker-entrypoint-initdb.d/* /docker-entrypoint-initdb.d/ # buildkit
2026-08-18 09:05:19 UTC (buildkit.dockerfile.v0)COPY /go/bin/* /usr/local/bin/ # buildkit
2026-08-18 09:05:19 UTC (buildkit.dockerfile.v0)COPY /usr/local/lib/postgresql/timescaledb-*.so /usr/local/lib/postgresql/ # buildkit
2026-08-18 09:05:21 UTC (buildkit.dockerfile.v0)COPY /usr/local/share/postgresql/extension/timescaledb--*.sql /usr/local/share/postgresql/extension/ # buildkit
2026-08-18 09:05:21 UTC (buildkit.dockerfile.v0)ARG TS_VERSION=2.29.2
2026-08-18 09:15:23 UTC (buildkit.dockerfile.v0)RUN |7 OSS_ONLY= -DAPACHE_ONLY=1 PG_VERSION=18 PG_MAJOR_VERSION=18 ALPINE_VERSION=3.23 PGVECTOR_VERSION=v0.8.1 CLANG_VERSION=21 TS_VERSION=2.29.2 /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 icu-dev gcc libc-dev make cmake util-linux-dev && cd /build/timescaledb && rm -fr build && git checkout ${TS_VERSION} && ./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 install && cd ~ && if [ "${OSS_ONLY}" != "" ]; then rm -f $(pg_config --pkglibdir)/timescaledb-tsl-*.so; fi && 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 # buildkit
2026-08-18 09:15:38 UTC
238 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/18/docker
PG_MAJOR18
PG_SHA256555610c24d53e4316da5b7d3fc25c279d96856d5e0e23ee308c328c5fa881d9f
PG_VERSION18.6
[#000] sha256:177f8e1e6f831989320cf2b59b7eabd21cbf36804c79506912f3a81caff426f2 - 1.31% (3.11 MB)
[#001] sha256:ef25fad6ad04d046b85d19bef1fe6bd994a26fa4b8c63792d4daee47d4352900 - 0.0% (973 Bytes)
[#002] sha256:b9b6546aaf15512db94235a7341bd2291950ac06921f4299163072d7aa39f894 - 0.35% (844 KB)
[#003] sha256:b7b21f8cf3e4317377f9938ae631bcc37730f615df3ed1d21168b2719cd919cb - 0.0% (114 Bytes)
[#004] sha256:39730aee952da061bc2fc08d400dbb5f600b87100f283d5e31b37814deb5fb1f - 42.19% (100 MB)
[#005] sha256:850b0a7e2d78c5401fff38594cd0b2eb2c56b479f69491b06dad75fd8e63e1ed - 0.01% (18.6 KB)
[#006] sha256:a1caba471941a4d42136f61aec570646cd6d0add1d991bf78234ab24984e5034 - 0.0% (129 Bytes)
[#007] sha256:8d4033d0dd533b8c7b3e898402cb60a95736d1b01f63930d23c8870509ac0cfd - 0.0% (5.97 KB)
[#008] sha256:e23e22316bad925bbec2015935aed4b0134383230955ee7deafb7ab66993eae0 - 0.0% (185 Bytes)
[#009] sha256:e5363c3b95912a372d6bbc210e3d8a31e75a6e3187b38669d9455b24ed13440c - 1.1% (2.61 MB)
[#010] sha256:e8d4953d402930aeac7efde8bb6cccf9cba3da4bdcbe54babc581089932a8364 - 2.45% (5.83 MB)
[#011] sha256:7c70b0161a46a236d552ace115f7076ab161f66cb0bc0a71234a9a17a43977ba - 0.0% (2.08 KB)
[#012] sha256:61a9987898329604eb4923d89aa42793e53ded793c905d5dcfb9350781c97332 - 3.45% (8.19 MB)
[#013] sha256:cda0d51f463f4a7b9a497a38c3b34bfab5e656431ae43869ddff1d578e2ce898 - 25.0% (59.4 MB)
[#014] sha256:4aeeea9f99a50cad510aab34d7a1ed9f3cbffb5f5065573af0ff96c742bfff5d - 21.37% (50.8 MB)
[#015] sha256:6fa254aede549cba79b0009b7a1d6eb357e4914dc79a551f26624af65d9e5f74 - 2.77% (6.59 MB)
ADD alpine-minirootfs-3.23.5-armv7.tar.gz / # buildkit
2026-06-22 19:20:18 UTC (buildkit.dockerfile.v0)CMD ["/bin/sh"]
2026-08-13 19:27:57 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-08-13 19:28:00 UTC (buildkit.dockerfile.v0)ENV GOSU_VERSION=1.19
2026-08-13 19:28:00 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-08-13 19:28:00 UTC (buildkit.dockerfile.v0)ENV LANG=en_US.utf8
2026-08-13 19:28:00 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c mkdir /docker-entrypoint-initdb.d # buildkit
2026-08-13 19:28:00 UTC (buildkit.dockerfile.v0)ENV PG_MAJOR=18
2026-08-13 19:28:00 UTC (buildkit.dockerfile.v0)ENV PG_VERSION=18.6
2026-08-13 19:28:00 UTC (buildkit.dockerfile.v0)ENV PG_SHA256=555610c24d53e4316da5b7d3fc25c279d96856d5e0e23ee308c328c5fa881d9f
2026-08-13 19:28:00 UTC (buildkit.dockerfile.v0)ENV DOCKER_PG_LLVM_DEPS=llvm21-dev clang21
2026-08-13 19:30:43 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 curl-dev liburing-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-libcurl --with-liburing --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-08-13 19:30:44 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-08-13 19:30:44 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c install --verbose --directory --owner postgres --group postgres --mode 3777 /var/run/postgresql # buildkit
2026-08-13 19:30:44 UTC (buildkit.dockerfile.v0)ENV PGDATA=/var/lib/postgresql/18/docker
2026-08-13 19:30:44 UTC (buildkit.dockerfile.v0)VOLUME [/var/lib/postgresql]
2026-08-13 19:30:44 UTC (buildkit.dockerfile.v0)COPY docker-entrypoint.sh docker-ensure-initdb.sh /usr/local/bin/ # buildkit
2026-08-13 19:30:44 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c ln -sT docker-ensure-initdb.sh /usr/local/bin/docker-enforce-initdb.sh # buildkit
2026-08-13 19:30:44 UTC (buildkit.dockerfile.v0)ENTRYPOINT ["docker-entrypoint.sh"]
2026-08-13 19:30:44 UTC (buildkit.dockerfile.v0)STOPSIGNAL SIGINT
2026-08-13 19:30:44 UTC (buildkit.dockerfile.v0)EXPOSE map[5432/tcp:{}]
2026-08-13 19:30:44 UTC (buildkit.dockerfile.v0)CMD ["postgres"]
2026-08-18 08:51:54 UTC (buildkit.dockerfile.v0)ARG OSS_ONLY= -DAPACHE_ONLY=1
2026-08-18 08:51:54 UTC (buildkit.dockerfile.v0)LABEL maintainer=Timescale https://www.timescale.com
2026-08-18 08:51:54 UTC (buildkit.dockerfile.v0)ARG PG_VERSION=18
2026-08-18 08:51:54 UTC (buildkit.dockerfile.v0)ARG PG_MAJOR_VERSION=18
2026-08-18 08:51:54 UTC (buildkit.dockerfile.v0)ARG ALPINE_VERSION=3.23
2026-08-18 08:51:54 UTC (buildkit.dockerfile.v0)RUN |4 OSS_ONLY= -DAPACHE_ONLY=1 PG_VERSION=18 PG_MAJOR_VERSION=18 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-08-18 08:51:54 UTC (buildkit.dockerfile.v0)ARG PGVECTOR_VERSION=v0.8.1
2026-08-18 08:51:54 UTC (buildkit.dockerfile.v0)ARG PG_VERSION=18
2026-08-18 08:51:54 UTC (buildkit.dockerfile.v0)ARG CLANG_VERSION=21
2026-08-18 08:51:54 UTC (buildkit.dockerfile.v0)ARG PG_MAJOR_VERSION=18
2026-08-18 09:00:51 UTC (buildkit.dockerfile.v0)RUN |6 OSS_ONLY= -DAPACHE_ONLY=1 PG_VERSION=18 PG_MAJOR_VERSION=18 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 git build-base clang${CLANG_VERSION} llvm${CLANG_VERSION}-dev llvm${CLANG_VERSION}; git clone --branch ${PGVECTOR_VERSION} https://github.com/pgvector/pgvector.git /build/pgvector; cd /build/pgvector; make OPTFLAGS=""; make install; apk del .vector-deps # buildkit
2026-08-18 09:00:51 UTC (buildkit.dockerfile.v0)COPY docker-entrypoint-initdb.d/* /docker-entrypoint-initdb.d/ # buildkit
2026-08-18 09:05:21 UTC (buildkit.dockerfile.v0)COPY /go/bin/* /usr/local/bin/ # buildkit
2026-08-18 09:05:22 UTC (buildkit.dockerfile.v0)COPY /usr/local/lib/postgresql/timescaledb-*.so /usr/local/lib/postgresql/ # buildkit
2026-08-18 09:05:24 UTC (buildkit.dockerfile.v0)COPY /usr/local/share/postgresql/extension/timescaledb--*.sql /usr/local/share/postgresql/extension/ # buildkit
2026-08-18 09:05:24 UTC (buildkit.dockerfile.v0)ARG TS_VERSION=2.29.2
2026-08-18 09:15:38 UTC (buildkit.dockerfile.v0)RUN |7 OSS_ONLY= -DAPACHE_ONLY=1 PG_VERSION=18 PG_MAJOR_VERSION=18 ALPINE_VERSION=3.23 PGVECTOR_VERSION=v0.8.1 CLANG_VERSION=21 TS_VERSION=2.29.2 /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 icu-dev gcc libc-dev make cmake util-linux-dev && cd /build/timescaledb && rm -fr build && git checkout ${TS_VERSION} && ./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 install && cd ~ && if [ "${OSS_ONLY}" != "" ]; then rm -f $(pg_config --pkglibdir)/timescaledb-tsl-*.so; fi && 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 # buildkit
2026-08-18 09:15:58 UTC
246 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/18/docker
PG_MAJOR18
PG_SHA256555610c24d53e4316da5b7d3fc25c279d96856d5e0e23ee308c328c5fa881d9f
PG_VERSION18.6
[#000] sha256:14a4754c352fba4c6c0da8e4f01bb990463c19f7ff63e090073c385bd2bc5046 - 1.62% (3.99 MB)
[#001] sha256:61b3d48393e727ffa8bd5b1329f9ae14212bdb7df139f110121396f4fc049960 - 0.0% (971 Bytes)
[#002] sha256:ccdbfc7c18b382e5d66d06317633fae696a6809a2f0bba214a2390c7a7851d38 - 0.33% (832 KB)
[#003] sha256:489a0697aefe048a25a1bb6115148e9934cfe2d3e361ac3f21db0567346075ba - 0.0% (116 Bytes)
[#004] sha256:a64f0eae8acc917368002cd7e79e6a284da9831c4d241a32db03b9cc3ebe54e7 - 43.57% (107 MB)
[#005] sha256:97bcb2b68b2af3318a4fdde31b5f1df9984524732a185190ad38c47046b369e5 - 0.01% (18.6 KB)
[#006] sha256:b262a3caf8a5ed58575fd2d8492c4e783b59d120ceaf0c71744b7b823cfcefc9 - 0.0% (128 Bytes)
[#007] sha256:3d09a2479635ddbbe2c518b98487a0b6bd2a8021e2250e77bb75eb211ba22f3f - 0.0% (5.96 KB)
[#008] sha256:329797e06f342e838f8dfe1c9d4bf39b9905d6b33b4b4b8d3b2ce367fc30b4b7 - 0.0% (184 Bytes)
[#009] sha256:63073e01ea99ddfc7ef8032a3e25302f1554b017b547b6e22baee4a13a061b6f - 1.12% (2.76 MB)
[#010] sha256:e24aa260b198717a3d49300919d33acea366283fdd00e6a75c64b6dc4e348863 - 2.45% (6.02 MB)
[#011] sha256:2dae65ba068058738db06c3ebc04f94b820266aafdc03d8d70a096a471996500 - 0.0% (2.08 KB)
[#012] sha256:eb5366c6950c231ea282c6c08a52d4b72efa2780d5eae099cf4462793a7af591 - 3.26% (8.02 MB)
[#013] sha256:356c3e969b26533b1b46a314b577595b9ad91f07e63cdd40de7663d4347e47c3 - 24.28% (59.7 MB)
[#014] sha256:bd732840ddf5614f8367283a2cc7d955ee7f089dbd9c7098645f6c552ce5cf62 - 20.66% (50.8 MB)
[#015] sha256:54aa6596ffa958296d6949e1d5944a306b3e6d505f2bd311b33ab58ce5515565 - 2.69% (6.61 MB)
ADD alpine-minirootfs-3.23.5-aarch64.tar.gz / # buildkit
2026-06-22 19:19:57 UTC (buildkit.dockerfile.v0)CMD ["/bin/sh"]
2026-08-13 19:14:52 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-08-13 19:14:55 UTC (buildkit.dockerfile.v0)ENV GOSU_VERSION=1.19
2026-08-13 19:14:55 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-08-13 19:14:55 UTC (buildkit.dockerfile.v0)ENV LANG=en_US.utf8
2026-08-13 19:14:55 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c mkdir /docker-entrypoint-initdb.d # buildkit
2026-08-13 19:14:55 UTC (buildkit.dockerfile.v0)ENV PG_MAJOR=18
2026-08-13 19:14:55 UTC (buildkit.dockerfile.v0)ENV PG_VERSION=18.6
2026-08-13 19:14:55 UTC (buildkit.dockerfile.v0)ENV PG_SHA256=555610c24d53e4316da5b7d3fc25c279d96856d5e0e23ee308c328c5fa881d9f
2026-08-13 19:14:55 UTC (buildkit.dockerfile.v0)ENV DOCKER_PG_LLVM_DEPS=llvm21-dev clang21
2026-08-13 19:17:22 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 curl-dev liburing-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-libcurl --with-liburing --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-08-13 19:17:22 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-08-13 19:17:22 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c install --verbose --directory --owner postgres --group postgres --mode 3777 /var/run/postgresql # buildkit
2026-08-13 19:17:22 UTC (buildkit.dockerfile.v0)ENV PGDATA=/var/lib/postgresql/18/docker
2026-08-13 19:17:22 UTC (buildkit.dockerfile.v0)VOLUME [/var/lib/postgresql]
2026-08-13 19:17:22 UTC (buildkit.dockerfile.v0)COPY docker-entrypoint.sh docker-ensure-initdb.sh /usr/local/bin/ # buildkit
2026-08-13 19:17:22 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c ln -sT docker-ensure-initdb.sh /usr/local/bin/docker-enforce-initdb.sh # buildkit
2026-08-13 19:17:22 UTC (buildkit.dockerfile.v0)ENTRYPOINT ["docker-entrypoint.sh"]
2026-08-13 19:17:22 UTC (buildkit.dockerfile.v0)STOPSIGNAL SIGINT
2026-08-13 19:17:22 UTC (buildkit.dockerfile.v0)EXPOSE map[5432/tcp:{}]
2026-08-13 19:17:22 UTC (buildkit.dockerfile.v0)CMD ["postgres"]
2026-08-18 08:51:33 UTC (buildkit.dockerfile.v0)ARG OSS_ONLY= -DAPACHE_ONLY=1
2026-08-18 08:51:33 UTC (buildkit.dockerfile.v0)LABEL maintainer=Timescale https://www.timescale.com
2026-08-18 08:51:33 UTC (buildkit.dockerfile.v0)ARG PG_VERSION=18
2026-08-18 08:51:33 UTC (buildkit.dockerfile.v0)ARG PG_MAJOR_VERSION=18
2026-08-18 08:51:33 UTC (buildkit.dockerfile.v0)ARG ALPINE_VERSION=3.23
2026-08-18 08:51:33 UTC (buildkit.dockerfile.v0)RUN |4 OSS_ONLY= -DAPACHE_ONLY=1 PG_VERSION=18 PG_MAJOR_VERSION=18 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-08-18 08:51:33 UTC (buildkit.dockerfile.v0)ARG PGVECTOR_VERSION=v0.8.1
2026-08-18 08:51:33 UTC (buildkit.dockerfile.v0)ARG PG_VERSION=18
2026-08-18 08:51:33 UTC (buildkit.dockerfile.v0)ARG CLANG_VERSION=21
2026-08-18 08:51:33 UTC (buildkit.dockerfile.v0)ARG PG_MAJOR_VERSION=18
2026-08-18 09:00:54 UTC (buildkit.dockerfile.v0)RUN |6 OSS_ONLY= -DAPACHE_ONLY=1 PG_VERSION=18 PG_MAJOR_VERSION=18 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 git build-base clang${CLANG_VERSION} llvm${CLANG_VERSION}-dev llvm${CLANG_VERSION}; git clone --branch ${PGVECTOR_VERSION} https://github.com/pgvector/pgvector.git /build/pgvector; cd /build/pgvector; make OPTFLAGS=""; make install; apk del .vector-deps # buildkit
2026-08-18 09:00:54 UTC (buildkit.dockerfile.v0)COPY docker-entrypoint-initdb.d/* /docker-entrypoint-initdb.d/ # buildkit
2026-08-18 09:05:24 UTC (buildkit.dockerfile.v0)COPY /go/bin/* /usr/local/bin/ # buildkit
2026-08-18 09:05:25 UTC (buildkit.dockerfile.v0)COPY /usr/local/lib/postgresql/timescaledb-*.so /usr/local/lib/postgresql/ # buildkit
2026-08-18 09:05:27 UTC (buildkit.dockerfile.v0)COPY /usr/local/share/postgresql/extension/timescaledb--*.sql /usr/local/share/postgresql/extension/ # buildkit
2026-08-18 09:05:27 UTC (buildkit.dockerfile.v0)ARG TS_VERSION=2.29.2
2026-08-18 09:15:58 UTC (buildkit.dockerfile.v0)RUN |7 OSS_ONLY= -DAPACHE_ONLY=1 PG_VERSION=18 PG_MAJOR_VERSION=18 ALPINE_VERSION=3.23 PGVECTOR_VERSION=v0.8.1 CLANG_VERSION=21 TS_VERSION=2.29.2 /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 icu-dev gcc libc-dev make cmake util-linux-dev && cd /build/timescaledb && rm -fr build && git checkout ${TS_VERSION} && ./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 install && cd ~ && if [ "${OSS_ONLY}" != "" ]; then rm -f $(pg_config --pkglibdir)/timescaledb-tsl-*.so; fi && 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 # 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.