2026-11-23 13:31:52 UTC
517 MB
llvm21-dev clang21
GOSU_VERSION1.20
LANGen_US.utf8
PATH/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
PGDATA/var/lib/postgresql/data
PG_MAJOR16
PG_SHA2569d5cd8633043b75740d5d59749c6b7365e6aeb53c47098b1a5e80bb18f87881a
PG_VERSION16.16
[#000] sha256:06411751d8457a2918efa7465118355ef368f933fb66e52d872db258f1e92e7e - 0.68% (3.51 MB)
[#001] sha256:76f2d6eec7828d3bc549fcfc5c5d1e1bc6b6f31039e8dcc55e3bb574d11e6e6d - 0.0% (995 Bytes)
[#002] sha256:0d904392a0c113554e91e1a0acc618ee57de78d144b318af0ac1ff04658d22ce - 0.16% (849 KB)
[#003] sha256:d464b73562ca85d4e87c0d3290223873a25d9cfac6a6315e18ffa0bf4f88a867 - 0.0% (174 Bytes)
[#004] sha256:fd3edc75b698f55ed2a5827f8ea71108637a0c3decf556fb15ab6cf8d42df776 - 0.0% (116 Bytes)
[#005] sha256:535bdf38757095659258fd3c28b427472d45850f2b74f61d1331ef0ffbca97e0 - 21.82% (113 MB)
[#006] sha256:1c04b8eb20f795658299c26a3ba20ea03eb8b7c477323d14973aeac6e9162abd - 0.0% (9.44 KB)
[#007] sha256:dacc281cd12ec314e6c2e6a2b770776b7f7e2655319f1d21606d38866c0c42e3 - 0.0% (171 Bytes)
[#008] sha256:e933337ffa543e89ae0b73725d2afa82a2c9720465abee14998589acf46f36c8 - 0.0% (5.96 KB)
[#009] sha256:18a277b49bf966cb77334e2aa8db3c71269ffd2b3c30d6e60c31a92faf0d46f9 - 0.0% (183 Bytes)
[#010] sha256:b619e9b46f3ed530fc323b7c783450469c9b98e0d835a46341b68a5960e9ae2e - 4.8% (24.8 MB)
[#011] sha256:dc26946b82f5e5701e0cc18663b8bc45b94984f3e2371617bead5bf42663b26c - 1.02% (5.27 MB)
[#012] sha256:a089f4637ccc8d54377affd45e667734ef7847739334c40f2e5413e8700d0736 - 0.0% (2.08 KB)
[#013] sha256:5a6cc980c3fe516266badc71097212f2cec25315a1384ffdbb50e57a0b7cea34 - 1.8% (9.3 MB)
[#014] sha256:a1415b44a3a97c5bf0fa0c008eb91f7bd74160b7ddb79d5ed4cf95b03e7760d9 - 47.59% (246 MB)
[#015] sha256:518e7836d5554c42a815c03029e1dbfa68c2c410a9bbcd29944e4002e3741047 - 20.12% (104 MB)
[#016] sha256:433f61eea236746eee955ca307f6df36442c928a15d26f10f8765495436ac4c8 - 2.0% (10.4 MB)
ADD alpine-minirootfs-3.24.4-x86.tar.gz / # buildkit
2026-11-05 18:00:36 UTC (buildkit.dockerfile.v0)CMD ["/bin/sh"]
2026-11-18 21:28:34 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; install --verbose --directory --owner postgres --group postgres --mode 3777 /run/postgresql # buildkit
2026-11-18 21:28:37 UTC (buildkit.dockerfile.v0)ENV GOSU_VERSION=1.20
2026-11-18 21:28:37 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-11-18 21:31:59 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c set -eux; ln -svf gosu /usr/local/bin/su-exec; su-exec nobody true # backwards compatibility (removed in PostgreSQL 17+) # buildkit
2026-11-18 21:31:59 UTC (buildkit.dockerfile.v0)ENV LANG=en_US.utf8
2026-11-18 21:32:00 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c mkdir /docker-entrypoint-initdb.d # buildkit
2026-11-18 21:32:00 UTC (buildkit.dockerfile.v0)ENV PG_MAJOR=16
2026-11-18 21:32:00 UTC (buildkit.dockerfile.v0)ENV PG_VERSION=16.16
2026-11-18 21:32:00 UTC (buildkit.dockerfile.v0)ENV PG_SHA256=9d5cd8633043b75740d5d59749c6b7365e6aeb53c47098b1a5e80bb18f87881a
2026-11-18 21:32:00 UTC (buildkit.dockerfile.v0)ENV DOCKER_PG_LLVM_DEPS=llvm21-dev clang21
2026-11-18 21:34:44 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 = "\"/run/postgresql\""; print; next } { print }' src/include/pg_config_manual.h > src/include/pg_config_manual.h.new; grep '/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-thread-safety --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-11-18 21:34: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-11-18 21:34:44 UTC (buildkit.dockerfile.v0)ENV PGDATA=/var/lib/postgresql/data
2026-11-18 21:34:44 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c install --verbose --directory --owner postgres --group postgres --mode 1777 "$PGDATA" # buildkit
2026-11-18 21:34:44 UTC (buildkit.dockerfile.v0)VOLUME [/var/lib/postgresql/data]
2026-11-18 21:34:44 UTC (buildkit.dockerfile.v0)COPY docker-entrypoint.sh docker-ensure-initdb.sh /usr/local/bin/ # buildkit
2026-11-18 21:34:44 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c ln -sT docker-ensure-initdb.sh /usr/local/bin/docker-enforce-initdb.sh # buildkit
2026-11-18 21:34:44 UTC (buildkit.dockerfile.v0)ENTRYPOINT ["docker-entrypoint.sh"]
2026-11-18 21:34:44 UTC (buildkit.dockerfile.v0)STOPSIGNAL SIGINT
2026-11-18 21:34:44 UTC (buildkit.dockerfile.v0)EXPOSE map[5432/tcp:{}]
2026-11-18 21:34:44 UTC (buildkit.dockerfile.v0)CMD ["postgres"]
2026-11-23 13:19:45 UTC (buildkit.dockerfile.v0)ARG OSS_ONLY
2026-11-23 13:19:45 UTC (buildkit.dockerfile.v0)LABEL maintainer=Timescale https://www.timescale.com
2026-11-23 13:19:45 UTC (buildkit.dockerfile.v0)ARG PG_VERSION=16
2026-11-23 13:19:45 UTC (buildkit.dockerfile.v0)ARG PG_MAJOR_VERSION=16
2026-11-23 13:19:45 UTC (buildkit.dockerfile.v0)ARG ALPINE_VERSION=3.24
2026-11-23 13:19:45 UTC (buildkit.dockerfile.v0)RUN |4 OSS_ONLY= PG_VERSION=16 PG_MAJOR_VERSION=16 ALPINE_VERSION=3.24 /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-11-23 13:19:45 UTC (buildkit.dockerfile.v0)ARG PGVECTOR_VERSION=v0.8.7
2026-11-23 13:19:45 UTC (buildkit.dockerfile.v0)ARG PG_VERSION=16
2026-11-23 13:19:45 UTC (buildkit.dockerfile.v0)ARG CLANG_VERSION=21
2026-11-23 13:19:45 UTC (buildkit.dockerfile.v0)ARG PG_MAJOR_VERSION=16
2026-11-23 13:19:51 UTC (buildkit.dockerfile.v0)RUN |6 OSS_ONLY= PG_VERSION=16 PG_MAJOR_VERSION=16 ALPINE_VERSION=3.24 PGVECTOR_VERSION=v0.8.7 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-11-23 13:19:51 UTC (buildkit.dockerfile.v0)COPY docker-entrypoint-initdb.d/* /docker-entrypoint-initdb.d/ # buildkit
2026-11-23 13:19:51 UTC (buildkit.dockerfile.v0)COPY /out/* /usr/local/bin/ # buildkit
2026-11-23 13:31:25 UTC (buildkit.dockerfile.v0)COPY /usr/local/lib/postgresql/timescaledb-*.so /usr/local/lib/postgresql/ # buildkit
2026-11-23 13:31:27 UTC (buildkit.dockerfile.v0)COPY /usr/local/share/postgresql/extension/timescaledb--*.sql /usr/local/share/postgresql/extension/ # buildkit
2026-11-23 13:31:27 UTC (buildkit.dockerfile.v0)ARG TS_VERSION=2.28.5
2026-11-23 13:31:52 UTC (buildkit.dockerfile.v0)RUN |7 OSS_ONLY= PG_VERSION=16 PG_MAJOR_VERSION=16 ALPINE_VERSION=3.24 PGVECTOR_VERSION=v0.8.7 CLANG_VERSION=21 TS_VERSION=2.28.5 /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-11-23 13:31:50 UTC
525 MB
llvm21-dev clang21
GOSU_VERSION1.20
LANGen_US.utf8
PATH/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
PGDATA/var/lib/postgresql/data
PG_MAJOR16
PG_SHA2569d5cd8633043b75740d5d59749c6b7365e6aeb53c47098b1a5e80bb18f87881a
PG_VERSION16.16
[#000] sha256:881fc932939efef04ca120ad44bbd2c0917851eb247aa4995428afb1e80ede17 - 0.7% (3.68 MB)
[#001] sha256:6cedc56424d1d9ceb77134ef0c2ef3bd2479188a64eb446f783a5c884aecc3c2 - 0.0% (994 Bytes)
[#002] sha256:59b353deb50eaa4fcd1796922026a0d8570745424c1334d6cdcf8ff4cf4c1d05 - 0.16% (880 KB)
[#003] sha256:7a36a4ed41724c00ef6ea0773253040a8f61735b5ba14f6c359cd8af9c33ccfb - 0.0% (171 Bytes)
[#004] sha256:cc382d912eb7b39fe5b6dc88dc4685bb7b321cb97cb5f072663967304e0e424e - 0.0% (116 Bytes)
[#005] sha256:576cb8ef4643cf52bd00b72f62fd7a93596a644e1897135ae6f96c6bd8b36182 - 20.26% (106 MB)
[#006] sha256:47714f1b82c2e1d4a644515bb9214b0874acd32191a99baf1d00ea9ef5c77495 - 0.0% (9.45 KB)
[#007] sha256:8e5860b895aba3f3544448e9517ee30ca16be372e90f934c4ed06a7d9a6af2de - 0.0% (170 Bytes)
[#008] sha256:b9f6a8f632b2c0aec5ca58584acea8c075fc8e4a2ded53bb090fd0ea277a4e00 - 0.0% (5.96 KB)
[#009] sha256:98e9a032676058fe224d8c481ca435f945661b3c07eac8d8df383dd2c82f7e74 - 0.0% (183 Bytes)
[#010] sha256:9e46fd31375cc1b8c2f1d4b8ea2e7a1db5a7015d9f4f5c1feac4ebcf22d51d8f - 4.58% (24 MB)
[#011] sha256:191f9d69435da30e18e0ce62e4e1eceb6a28b1db8b5ebc00e143b502b2488b8e - 1.08% (5.66 MB)
[#012] sha256:8b068d9296a9908d7a0299a3566ea19b7cc20946486a5f6926859e1e0eb588c3 - 0.0% (2.08 KB)
[#013] sha256:f122a47f62d877f4162f99ee3ec5d4d3a3b4cf6166e5b8013507c45fe9404dad - 1.82% (9.54 MB)
[#014] sha256:04aa5266413289ea45c0e6017904afc65f52a8b535a81ab67f5eb5b8c19d0ea0 - 49.47% (260 MB)
[#015] sha256:c958842a3371bb37cdae2966ff888e3d13cd7e4a8a5b199f8fa440bc6ce329e1 - 19.84% (104 MB)
[#016] sha256:e3d2889ef3fc12b9c79e02283db2bcc1fe06977cd8ca71a2fc8ccdb02db03c63 - 2.09% (11 MB)
ADD alpine-minirootfs-3.24.4-x86_64.tar.gz / # buildkit
2026-11-05 18:00:28 UTC (buildkit.dockerfile.v0)CMD ["/bin/sh"]
2026-11-18 21:30:20 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; install --verbose --directory --owner postgres --group postgres --mode 3777 /run/postgresql # buildkit
2026-11-18 21:30:23 UTC (buildkit.dockerfile.v0)ENV GOSU_VERSION=1.20
2026-11-18 21:30: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-11-18 21:30:23 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c set -eux; ln -svf gosu /usr/local/bin/su-exec; su-exec nobody true # backwards compatibility (removed in PostgreSQL 17+) # buildkit
2026-11-18 21:30:23 UTC (buildkit.dockerfile.v0)ENV LANG=en_US.utf8
2026-11-18 21:30:23 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c mkdir /docker-entrypoint-initdb.d # buildkit
2026-11-18 21:30:23 UTC (buildkit.dockerfile.v0)ENV PG_MAJOR=16
2026-11-18 21:30:23 UTC (buildkit.dockerfile.v0)ENV PG_VERSION=16.16
2026-11-18 21:30:23 UTC (buildkit.dockerfile.v0)ENV PG_SHA256=9d5cd8633043b75740d5d59749c6b7365e6aeb53c47098b1a5e80bb18f87881a
2026-11-18 21:30:23 UTC (buildkit.dockerfile.v0)ENV DOCKER_PG_LLVM_DEPS=llvm21-dev clang21
2026-11-18 21:32:50 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 = "\"/run/postgresql\""; print; next } { print }' src/include/pg_config_manual.h > src/include/pg_config_manual.h.new; grep '/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-thread-safety --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-11-18 21:32:50 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-11-18 21:32:50 UTC (buildkit.dockerfile.v0)ENV PGDATA=/var/lib/postgresql/data
2026-11-18 21:32:50 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c install --verbose --directory --owner postgres --group postgres --mode 1777 "$PGDATA" # buildkit
2026-11-18 21:32:50 UTC (buildkit.dockerfile.v0)VOLUME [/var/lib/postgresql/data]
2026-11-18 21:32:50 UTC (buildkit.dockerfile.v0)COPY docker-entrypoint.sh docker-ensure-initdb.sh /usr/local/bin/ # buildkit
2026-11-18 21:32:50 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c ln -sT docker-ensure-initdb.sh /usr/local/bin/docker-enforce-initdb.sh # buildkit
2026-11-18 21:32:50 UTC (buildkit.dockerfile.v0)ENTRYPOINT ["docker-entrypoint.sh"]
2026-11-18 21:32:50 UTC (buildkit.dockerfile.v0)STOPSIGNAL SIGINT
2026-11-18 21:32:50 UTC (buildkit.dockerfile.v0)EXPOSE map[5432/tcp:{}]
2026-11-18 21:32:50 UTC (buildkit.dockerfile.v0)CMD ["postgres"]
2026-11-22 00:18:34 UTC (buildkit.dockerfile.v0)ARG OSS_ONLY
2026-11-22 00:18:34 UTC (buildkit.dockerfile.v0)LABEL maintainer=Timescale https://www.timescale.com
2026-11-22 00:18:34 UTC (buildkit.dockerfile.v0)ARG PG_VERSION=16
2026-11-22 00:18:34 UTC (buildkit.dockerfile.v0)ARG PG_MAJOR_VERSION=16
2026-11-22 00:18:34 UTC (buildkit.dockerfile.v0)ARG ALPINE_VERSION=3.24
2026-11-22 00:18:34 UTC (buildkit.dockerfile.v0)RUN |4 OSS_ONLY= PG_VERSION=16 PG_MAJOR_VERSION=16 ALPINE_VERSION=3.24 /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-11-22 00:18:34 UTC (buildkit.dockerfile.v0)ARG PGVECTOR_VERSION=v0.8.7
2026-11-22 00:18:34 UTC (buildkit.dockerfile.v0)ARG PG_VERSION=16
2026-11-22 00:18:34 UTC (buildkit.dockerfile.v0)ARG CLANG_VERSION=21
2026-11-22 00:18:34 UTC (buildkit.dockerfile.v0)ARG PG_MAJOR_VERSION=16
2026-11-22 00:18:43 UTC (buildkit.dockerfile.v0)RUN |6 OSS_ONLY= PG_VERSION=16 PG_MAJOR_VERSION=16 ALPINE_VERSION=3.24 PGVECTOR_VERSION=v0.8.7 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-11-22 00:18:43 UTC (buildkit.dockerfile.v0)COPY docker-entrypoint-initdb.d/* /docker-entrypoint-initdb.d/ # buildkit
2026-11-22 00:18:43 UTC (buildkit.dockerfile.v0)COPY /out/* /usr/local/bin/ # buildkit
2026-11-23 13:31:25 UTC (buildkit.dockerfile.v0)COPY /usr/local/lib/postgresql/timescaledb-*.so /usr/local/lib/postgresql/ # buildkit
2026-11-23 13:31:27 UTC (buildkit.dockerfile.v0)COPY /usr/local/share/postgresql/extension/timescaledb--*.sql /usr/local/share/postgresql/extension/ # buildkit
2026-11-23 13:31:27 UTC (buildkit.dockerfile.v0)ARG TS_VERSION=2.28.5
2026-11-23 13:31:50 UTC (buildkit.dockerfile.v0)RUN |7 OSS_ONLY= PG_VERSION=16 PG_MAJOR_VERSION=16 ALPINE_VERSION=3.24 PGVECTOR_VERSION=v0.8.7 CLANG_VERSION=21 TS_VERSION=2.28.5 /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-11-23 13:35:04 UTC
513 MB
llvm21-dev clang21
GOSU_VERSION1.20
LANGen_US.utf8
PATH/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
PGDATA/var/lib/postgresql/data
PG_MAJOR16
PG_SHA2569d5cd8633043b75740d5d59749c6b7365e6aeb53c47098b1a5e80bb18f87881a
PG_VERSION16.16
[#000] sha256:bbbd9a2247710d6d877faf0dc146019901aef9271f5acb2dfc6fd59a9f3d0916 - 0.66% (3.39 MB)
[#001] sha256:bf0da44615134fbc7d7190d42dbf4f8673cc2870030e7aba2bf7c9eb07bd3b3b - 0.0% (997 Bytes)
[#002] sha256:ab91cb6fa376306176f8dc14e3436d2968090329df2c089816b2992abbcc3d06 - 0.16% (845 KB)
[#003] sha256:304e35ce49dd0f7efc962ef3bc773ab68904801b159ce22d1f178204b4bbf39c - 0.0% (171 Bytes)
[#004] sha256:3a7fdeaf9c3e988e9cb14253d54680300cecf686ad7e9c8a03eb904e74f60de7 - 0.0% (116 Bytes)
[#005] sha256:1c4a0baa2eb5661029d2c8378d8e03753c1ac4de68eb3dab5c46cd5a187c1752 - 20.06% (103 MB)
[#006] sha256:f563c66ae5785644a4e26c9ad47ae11132d77c3ffd05aa96a740a5260337ae25 - 0.0% (9.45 KB)
[#007] sha256:a3e9c160aedd609c1e8cb087e02674dde1c8156980aeba5f893cf6d4664e8668 - 0.0% (168 Bytes)
[#008] sha256:726c5fe649191c355815a6d4eab365c8a5eb8152dde4f3d55716e97526cd606f - 0.0% (5.96 KB)
[#009] sha256:86aa5f6cb3fe945edf3382c530a6c29d57bf66c221f08c9ff199b003c504c661 - 0.0% (184 Bytes)
[#010] sha256:8dc5a21e8244a965e620ffffc03bf8fa1adf5ec284800060b2b9609d12988b28 - 4.51% (23.1 MB)
[#011] sha256:fc4f062af1d5800ade2793932f5076a074c513d226b74c560d36df0fe9d31227 - 0.95% (4.9 MB)
[#012] sha256:a9aa1262db111b82d8831f57c63cc0be93021bb3f996ab9307442595778cf7ef - 0.0% (2.08 KB)
[#013] sha256:01074e730dbacb71dd315a57c24aae46c7f63627ab59a0723332c3b17d3ee375 - 1.76% (9.01 MB)
[#014] sha256:45babb28f89a0cdca66a7f78b006a3a51bdfc922ae0c8d0fa5b01d8542ea92e4 - 49.41% (254 MB)
[#015] sha256:5ca970bf91b3294141162fd73194d844d7f90a8cfccbba54bf5664a7e1489c2c - 20.27% (104 MB)
[#016] sha256:e7ae916d5d521bdb46c13747e506c26117f1c632c1308fc72a710f4a4ce31757 - 2.21% (11.4 MB)
ADD alpine-minirootfs-3.24.4-armhf.tar.gz / # buildkit
2026-11-05 18:00:33 UTC (buildkit.dockerfile.v0)CMD ["/bin/sh"]
2026-11-18 21:41:03 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; install --verbose --directory --owner postgres --group postgres --mode 3777 /run/postgresql # buildkit
2026-11-18 21:41:06 UTC (buildkit.dockerfile.v0)ENV GOSU_VERSION=1.20
2026-11-18 21:41:06 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-11-18 21:41:06 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c set -eux; ln -svf gosu /usr/local/bin/su-exec; su-exec nobody true # backwards compatibility (removed in PostgreSQL 17+) # buildkit
2026-11-18 21:41:06 UTC (buildkit.dockerfile.v0)ENV LANG=en_US.utf8
2026-11-18 21:41:07 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c mkdir /docker-entrypoint-initdb.d # buildkit
2026-11-18 21:41:07 UTC (buildkit.dockerfile.v0)ENV PG_MAJOR=16
2026-11-18 21:41:07 UTC (buildkit.dockerfile.v0)ENV PG_VERSION=16.16
2026-11-18 21:41:07 UTC (buildkit.dockerfile.v0)ENV PG_SHA256=9d5cd8633043b75740d5d59749c6b7365e6aeb53c47098b1a5e80bb18f87881a
2026-11-18 21:41:07 UTC (buildkit.dockerfile.v0)ENV DOCKER_PG_LLVM_DEPS=llvm21-dev clang21
2026-11-18 21:44: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 ; cd /usr/src/postgresql; awk '$1 == "#define" && $2 == "DEFAULT_PGSOCKET_DIR" && $3 == "\"/tmp\"" { $3 = "\"/run/postgresql\""; print; next } { print }' src/include/pg_config_manual.h > src/include/pg_config_manual.h.new; grep '/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-thread-safety --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-11-18 21:44: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-11-18 21:44:05 UTC (buildkit.dockerfile.v0)ENV PGDATA=/var/lib/postgresql/data
2026-11-18 21:44:05 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c install --verbose --directory --owner postgres --group postgres --mode 1777 "$PGDATA" # buildkit
2026-11-18 21:44:05 UTC (buildkit.dockerfile.v0)VOLUME [/var/lib/postgresql/data]
2026-11-18 21:44:05 UTC (buildkit.dockerfile.v0)COPY docker-entrypoint.sh docker-ensure-initdb.sh /usr/local/bin/ # buildkit
2026-11-18 21:44:05 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c ln -sT docker-ensure-initdb.sh /usr/local/bin/docker-enforce-initdb.sh # buildkit
2026-11-18 21:44:05 UTC (buildkit.dockerfile.v0)ENTRYPOINT ["docker-entrypoint.sh"]
2026-11-18 21:44:05 UTC (buildkit.dockerfile.v0)STOPSIGNAL SIGINT
2026-11-18 21:44:05 UTC (buildkit.dockerfile.v0)EXPOSE map[5432/tcp:{}]
2026-11-18 21:44:05 UTC (buildkit.dockerfile.v0)CMD ["postgres"]
2026-11-23 13:19:40 UTC (buildkit.dockerfile.v0)ARG OSS_ONLY
2026-11-23 13:19:40 UTC (buildkit.dockerfile.v0)LABEL maintainer=Timescale https://www.timescale.com
2026-11-23 13:19:40 UTC (buildkit.dockerfile.v0)ARG PG_VERSION=16
2026-11-23 13:19:40 UTC (buildkit.dockerfile.v0)ARG PG_MAJOR_VERSION=16
2026-11-23 13:19:40 UTC (buildkit.dockerfile.v0)ARG ALPINE_VERSION=3.24
2026-11-23 13:19:40 UTC (buildkit.dockerfile.v0)RUN |4 OSS_ONLY= PG_VERSION=16 PG_MAJOR_VERSION=16 ALPINE_VERSION=3.24 /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-11-23 13:19:40 UTC (buildkit.dockerfile.v0)ARG PGVECTOR_VERSION=v0.8.7
2026-11-23 13:19:40 UTC (buildkit.dockerfile.v0)ARG PG_VERSION=16
2026-11-23 13:19:40 UTC (buildkit.dockerfile.v0)ARG CLANG_VERSION=21
2026-11-23 13:19:40 UTC (buildkit.dockerfile.v0)ARG PG_MAJOR_VERSION=16
2026-11-23 13:20:11 UTC (buildkit.dockerfile.v0)RUN |6 OSS_ONLY= PG_VERSION=16 PG_MAJOR_VERSION=16 ALPINE_VERSION=3.24 PGVECTOR_VERSION=v0.8.7 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-11-23 13:20:11 UTC (buildkit.dockerfile.v0)COPY docker-entrypoint-initdb.d/* /docker-entrypoint-initdb.d/ # buildkit
2026-11-23 13:20:11 UTC (buildkit.dockerfile.v0)COPY /out/* /usr/local/bin/ # buildkit
2026-11-23 13:31:25 UTC (buildkit.dockerfile.v0)COPY /usr/local/lib/postgresql/timescaledb-*.so /usr/local/lib/postgresql/ # buildkit
2026-11-23 13:31:27 UTC (buildkit.dockerfile.v0)COPY /usr/local/share/postgresql/extension/timescaledb--*.sql /usr/local/share/postgresql/extension/ # buildkit
2026-11-23 13:31:27 UTC (buildkit.dockerfile.v0)ARG TS_VERSION=2.28.5
2026-11-23 13:35:04 UTC (buildkit.dockerfile.v0)RUN |7 OSS_ONLY= PG_VERSION=16 PG_MAJOR_VERSION=16 ALPINE_VERSION=3.24 PGVECTOR_VERSION=v0.8.7 CLANG_VERSION=21 TS_VERSION=2.28.5 /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-11-23 13:35:43 UTC
505 MB
llvm21-dev clang21
GOSU_VERSION1.20
LANGen_US.utf8
PATH/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
PGDATA/var/lib/postgresql/data
PG_MAJOR16
PG_SHA2569d5cd8633043b75740d5d59749c6b7365e6aeb53c47098b1a5e80bb18f87881a
PG_VERSION16.16
[#000] sha256:65a28aac190acedef9641ef1fe0a534d87761f771c07944b54d40fcab2536913 - 0.62% (3.12 MB)
[#001] sha256:cc61fdf6664a469b9046638dbd9bcbc696f65c58286588a00ccb2c7998ebd763 - 0.0% (996 Bytes)
[#002] sha256:e37424f0e4743ca4dc6c2b409c6a7117f7cc7c8e9d1efd9eae1c3ef41f009285 - 0.16% (845 KB)
[#003] sha256:00b9489f83f368fd69e1d4de86e1ee5d61bc7b57d7baa7679a0f0ae32c1f7c4b - 0.0% (170 Bytes)
[#004] sha256:a1e7ff97a04406e9765a6f909af7e16256654b175397e5a572f137c5993be6f0 - 0.0% (116 Bytes)
[#005] sha256:0700b4139925472c2c249bfcb7fbace21a9c5599c89fa814b13502ad69f9bd26 - 19.28% (97.3 MB)
[#006] sha256:fe5588f627cdb05794a08138586be0decb9dfef080da0093059deefedb45352d - 0.0% (9.45 KB)
[#007] sha256:6fcd22e0da90bdc7df878cbd0e258ead4b822e77e8e26acdb780e986f2ca06f3 - 0.0% (167 Bytes)
[#008] sha256:5bd8d10ecf97563e4d2a01fb1f787d82f656000130d795a6c3140442f9407361 - 0.0% (5.96 KB)
[#009] sha256:8f36166fd25720d0aaa97c64a0e6ed4a815cd11ba04633784a94712e9bca1f4b - 0.0% (185 Bytes)
[#010] sha256:f5552ef9d2a9c02ec1acf29903a6eab0f3745f14044e8449be60e7d01ff2bd0d - 4.45% (22.4 MB)
[#011] sha256:b4ae50035026af79f10b307c172a4a60309cd41a0917cd3aca913deaafaa1d24 - 0.98% (4.92 MB)
[#012] sha256:b14b43a76ab561c48da55adc801077eb540951181ec924cd6445f61a34a140f8 - 0.0% (2.08 KB)
[#013] sha256:b1283db4318799c25a7e0af9aa563d65476d6b0c3fddea00ac91c01165557963 - 1.78% (9 MB)
[#014] sha256:f719bdefd27fcfa3b3a8906944e55cc2d1b02c3e5f961ad9c0c4907bfb72aed6 - 49.88% (252 MB)
[#015] sha256:fc431e33dda568698a0f0326e3c65d5ad042f151e6f0ef83797d2433ab4ed69e - 20.62% (104 MB)
[#016] sha256:e6e897fa8e6c36844658b7f30b83c1fcdc4bb9a04a58edd2c8e9747068cf5ed5 - 2.24% (11.3 MB)
ADD alpine-minirootfs-3.24.4-armv7.tar.gz / # buildkit
2026-11-05 18:00:33 UTC (buildkit.dockerfile.v0)CMD ["/bin/sh"]
2026-11-18 21:46: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; install --verbose --directory --owner postgres --group postgres --mode 3777 /run/postgresql # buildkit
2026-11-18 21:46:04 UTC (buildkit.dockerfile.v0)ENV GOSU_VERSION=1.20
2026-11-18 21:46: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-11-18 21:46:04 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c set -eux; ln -svf gosu /usr/local/bin/su-exec; su-exec nobody true # backwards compatibility (removed in PostgreSQL 17+) # buildkit
2026-11-18 21:46:04 UTC (buildkit.dockerfile.v0)ENV LANG=en_US.utf8
2026-11-18 21:46:04 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c mkdir /docker-entrypoint-initdb.d # buildkit
2026-11-18 21:46:04 UTC (buildkit.dockerfile.v0)ENV PG_MAJOR=16
2026-11-18 21:46:04 UTC (buildkit.dockerfile.v0)ENV PG_VERSION=16.16
2026-11-18 21:46:04 UTC (buildkit.dockerfile.v0)ENV PG_SHA256=9d5cd8633043b75740d5d59749c6b7365e6aeb53c47098b1a5e80bb18f87881a
2026-11-18 21:46:04 UTC (buildkit.dockerfile.v0)ENV DOCKER_PG_LLVM_DEPS=llvm21-dev clang21
2026-11-18 21:48: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 = "\"/run/postgresql\""; print; next } { print }' src/include/pg_config_manual.h > src/include/pg_config_manual.h.new; grep '/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-thread-safety --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-11-18 21:48: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-11-18 21:48:54 UTC (buildkit.dockerfile.v0)ENV PGDATA=/var/lib/postgresql/data
2026-11-18 21:48:54 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c install --verbose --directory --owner postgres --group postgres --mode 1777 "$PGDATA" # buildkit
2026-11-18 21:48:54 UTC (buildkit.dockerfile.v0)VOLUME [/var/lib/postgresql/data]
2026-11-18 21:48:54 UTC (buildkit.dockerfile.v0)COPY docker-entrypoint.sh docker-ensure-initdb.sh /usr/local/bin/ # buildkit
2026-11-18 21:48:54 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c ln -sT docker-ensure-initdb.sh /usr/local/bin/docker-enforce-initdb.sh # buildkit
2026-11-18 21:48:54 UTC (buildkit.dockerfile.v0)ENTRYPOINT ["docker-entrypoint.sh"]
2026-11-18 21:48:54 UTC (buildkit.dockerfile.v0)STOPSIGNAL SIGINT
2026-11-18 21:48:54 UTC (buildkit.dockerfile.v0)EXPOSE map[5432/tcp:{}]
2026-11-18 21:48:54 UTC (buildkit.dockerfile.v0)CMD ["postgres"]
2026-11-23 13:19:38 UTC (buildkit.dockerfile.v0)ARG OSS_ONLY
2026-11-23 13:19:38 UTC (buildkit.dockerfile.v0)LABEL maintainer=Timescale https://www.timescale.com
2026-11-23 13:19:38 UTC (buildkit.dockerfile.v0)ARG PG_VERSION=16
2026-11-23 13:19:38 UTC (buildkit.dockerfile.v0)ARG PG_MAJOR_VERSION=16
2026-11-23 13:19:38 UTC (buildkit.dockerfile.v0)ARG ALPINE_VERSION=3.24
2026-11-23 13:19:38 UTC (buildkit.dockerfile.v0)RUN |4 OSS_ONLY= PG_VERSION=16 PG_MAJOR_VERSION=16 ALPINE_VERSION=3.24 /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-11-23 13:19:38 UTC (buildkit.dockerfile.v0)ARG PGVECTOR_VERSION=v0.8.7
2026-11-23 13:19:38 UTC (buildkit.dockerfile.v0)ARG PG_VERSION=16
2026-11-23 13:19:38 UTC (buildkit.dockerfile.v0)ARG CLANG_VERSION=21
2026-11-23 13:19:38 UTC (buildkit.dockerfile.v0)ARG PG_MAJOR_VERSION=16
2026-11-23 13:20:06 UTC (buildkit.dockerfile.v0)RUN |6 OSS_ONLY= PG_VERSION=16 PG_MAJOR_VERSION=16 ALPINE_VERSION=3.24 PGVECTOR_VERSION=v0.8.7 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-11-23 13:20:06 UTC (buildkit.dockerfile.v0)COPY docker-entrypoint-initdb.d/* /docker-entrypoint-initdb.d/ # buildkit
2026-11-23 13:20:06 UTC (buildkit.dockerfile.v0)COPY /out/* /usr/local/bin/ # buildkit
2026-11-23 13:31:25 UTC (buildkit.dockerfile.v0)COPY /usr/local/lib/postgresql/timescaledb-*.so /usr/local/lib/postgresql/ # buildkit
2026-11-23 13:31:27 UTC (buildkit.dockerfile.v0)COPY /usr/local/share/postgresql/extension/timescaledb--*.sql /usr/local/share/postgresql/extension/ # buildkit
2026-11-23 13:31:27 UTC (buildkit.dockerfile.v0)ARG TS_VERSION=2.28.5
2026-11-23 13:35:43 UTC (buildkit.dockerfile.v0)RUN |7 OSS_ONLY= PG_VERSION=16 PG_MAJOR_VERSION=16 ALPINE_VERSION=3.24 PGVECTOR_VERSION=v0.8.7 CLANG_VERSION=21 TS_VERSION=2.28.5 /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-11-23 13:31:57 UTC
511 MB
llvm21-dev clang21
GOSU_VERSION1.20
LANGen_US.utf8
PATH/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
PGDATA/var/lib/postgresql/data
PG_MAJOR16
PG_SHA2569d5cd8633043b75740d5d59749c6b7365e6aeb53c47098b1a5e80bb18f87881a
PG_VERSION16.16
[#000] sha256:b90627b8f4292fd3cb63f0f27f0b11c37f04ba88ef3b78d4948ea0ace18c85e9 - 0.78% (4 MB)
[#001] sha256:5a23bde8064777838f73ee19276aaba116e4a332c1373b72c77e7e2cff636d1f - 0.0% (995 Bytes)
[#002] sha256:2a4ca402b55c78ab81a8bf6a1006cda03415e26a037cea606a73c2a879d5a33b - 0.16% (833 KB)
[#003] sha256:2c4caf63822d72acba8a9a9135746980e709e38a66d4cd5590ef2a44eee4a3a0 - 0.0% (172 Bytes)
[#004] sha256:a37be121ef1ee3822d139e1f7b11544da5bca78c8fd0f4a311cd9a78665e523c - 0.0% (116 Bytes)
[#005] sha256:a2890c6b1169ec417752cb00200b6971e68969f888481241859585f3b09a3e1e - 20.35% (104 MB)
[#006] sha256:9aaf720254610a04d63648fcf43df71363f4977d27680de82403fb61566b0c1e - 0.0% (9.45 KB)
[#007] sha256:07c083e9bc2d1eadab48408bf51a2a7150c4f7b1526b9f5946d64c4287108671 - 0.0% (169 Bytes)
[#008] sha256:3293c7517e77dd1b2b6ab71d8a41848a712749ce6fab2cbda6738a1f0b591cdc - 0.0% (5.96 KB)
[#009] sha256:d07e8323be0bfef2de753e9b61658d347db1a17721b49bec44dce74be5108537 - 0.0% (184 Bytes)
[#010] sha256:541f1efd92fa68ef6f0b8ac47f0d684dcdb13b2479456aa023b96f7e241fa3aa - 4.65% (23.7 MB)
[#011] sha256:e3a232a5a370ba163860d3380a4488cf9b0af4af58bab9d941d3f957d3f8a5af - 1.16% (5.91 MB)
[#012] sha256:37303c1dc43dd2e95a8c34729cd4dc46ee381e350ae43927f5beb8e0dc3024a4 - 0.0% (2.08 KB)
[#013] sha256:26fc595f954f2ee16f301df4a2b30d1d0d6f197c7eb49e7dcbdd65053a92cd2e - 1.72% (8.78 MB)
[#014] sha256:be8137b63e629435db6f957094cfdc6323911fd5d4341f2b9fe5d0f4f2a7c6cc - 48.79% (249 MB)
[#015] sha256:5c9049907e263b426db13e98bc98d9f665e843fd250a0ca7b9e4f843c8af2871 - 20.37% (104 MB)
[#016] sha256:3167f934ceee130f39d7fc8513f9f3a626117886a8d501d46be3571e5cdd1426 - 2.02% (10.3 MB)
ADD alpine-minirootfs-3.24.4-aarch64.tar.gz / # buildkit
2026-11-05 18:00:31 UTC (buildkit.dockerfile.v0)CMD ["/bin/sh"]
2026-11-18 21:30:27 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; install --verbose --directory --owner postgres --group postgres --mode 3777 /run/postgresql # buildkit
2026-11-18 21:30:29 UTC (buildkit.dockerfile.v0)ENV GOSU_VERSION=1.20
2026-11-18 21:30:29 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-11-18 21:30:29 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c set -eux; ln -svf gosu /usr/local/bin/su-exec; su-exec nobody true # backwards compatibility (removed in PostgreSQL 17+) # buildkit
2026-11-18 21:30:29 UTC (buildkit.dockerfile.v0)ENV LANG=en_US.utf8
2026-11-18 21:30:29 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c mkdir /docker-entrypoint-initdb.d # buildkit
2026-11-18 21:30:29 UTC (buildkit.dockerfile.v0)ENV PG_MAJOR=16
2026-11-18 21:30:29 UTC (buildkit.dockerfile.v0)ENV PG_VERSION=16.16
2026-11-18 21:30:29 UTC (buildkit.dockerfile.v0)ENV PG_SHA256=9d5cd8633043b75740d5d59749c6b7365e6aeb53c47098b1a5e80bb18f87881a
2026-11-18 21:30:29 UTC (buildkit.dockerfile.v0)ENV DOCKER_PG_LLVM_DEPS=llvm21-dev clang21
2026-11-18 21:32:45 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 = "\"/run/postgresql\""; print; next } { print }' src/include/pg_config_manual.h > src/include/pg_config_manual.h.new; grep '/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-thread-safety --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-11-18 21:32:45 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-11-18 21:32:45 UTC (buildkit.dockerfile.v0)ENV PGDATA=/var/lib/postgresql/data
2026-11-18 21:32:45 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c install --verbose --directory --owner postgres --group postgres --mode 1777 "$PGDATA" # buildkit
2026-11-18 21:32:45 UTC (buildkit.dockerfile.v0)VOLUME [/var/lib/postgresql/data]
2026-11-18 21:32:45 UTC (buildkit.dockerfile.v0)COPY docker-entrypoint.sh docker-ensure-initdb.sh /usr/local/bin/ # buildkit
2026-11-18 21:32:45 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c ln -sT docker-ensure-initdb.sh /usr/local/bin/docker-enforce-initdb.sh # buildkit
2026-11-18 21:32:45 UTC (buildkit.dockerfile.v0)ENTRYPOINT ["docker-entrypoint.sh"]
2026-11-18 21:32:45 UTC (buildkit.dockerfile.v0)STOPSIGNAL SIGINT
2026-11-18 21:32:45 UTC (buildkit.dockerfile.v0)EXPOSE map[5432/tcp:{}]
2026-11-18 21:32:45 UTC (buildkit.dockerfile.v0)CMD ["postgres"]
2026-11-22 00:18:26 UTC (buildkit.dockerfile.v0)ARG OSS_ONLY
2026-11-22 00:18:26 UTC (buildkit.dockerfile.v0)LABEL maintainer=Timescale https://www.timescale.com
2026-11-22 00:18:26 UTC (buildkit.dockerfile.v0)ARG PG_VERSION=16
2026-11-22 00:18:26 UTC (buildkit.dockerfile.v0)ARG PG_MAJOR_VERSION=16
2026-11-22 00:18:26 UTC (buildkit.dockerfile.v0)ARG ALPINE_VERSION=3.24
2026-11-22 00:18:26 UTC (buildkit.dockerfile.v0)RUN |4 OSS_ONLY= PG_VERSION=16 PG_MAJOR_VERSION=16 ALPINE_VERSION=3.24 /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-11-22 00:18:26 UTC (buildkit.dockerfile.v0)ARG PGVECTOR_VERSION=v0.8.7
2026-11-22 00:18:26 UTC (buildkit.dockerfile.v0)ARG PG_VERSION=16
2026-11-22 00:18:26 UTC (buildkit.dockerfile.v0)ARG CLANG_VERSION=21
2026-11-22 00:18:26 UTC (buildkit.dockerfile.v0)ARG PG_MAJOR_VERSION=16
2026-11-22 00:18:32 UTC (buildkit.dockerfile.v0)RUN |6 OSS_ONLY= PG_VERSION=16 PG_MAJOR_VERSION=16 ALPINE_VERSION=3.24 PGVECTOR_VERSION=v0.8.7 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-11-22 00:18:32 UTC (buildkit.dockerfile.v0)COPY docker-entrypoint-initdb.d/* /docker-entrypoint-initdb.d/ # buildkit
2026-11-22 00:18:32 UTC (buildkit.dockerfile.v0)COPY /out/* /usr/local/bin/ # buildkit
2026-11-23 13:31:30 UTC (buildkit.dockerfile.v0)COPY /usr/local/lib/postgresql/timescaledb-*.so /usr/local/lib/postgresql/ # buildkit
2026-11-23 13:31:32 UTC (buildkit.dockerfile.v0)COPY /usr/local/share/postgresql/extension/timescaledb--*.sql /usr/local/share/postgresql/extension/ # buildkit
2026-11-23 13:31:32 UTC (buildkit.dockerfile.v0)ARG TS_VERSION=2.28.5
2026-11-23 13:31:57 UTC (buildkit.dockerfile.v0)RUN |7 OSS_ONLY= PG_VERSION=16 PG_MAJOR_VERSION=16 ALPINE_VERSION=3.24 PGVECTOR_VERSION=v0.8.7 CLANG_VERSION=21 TS_VERSION=2.28.5 /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.