Namespace
timescale
Image / Tag
timescaledb:2.30.2-pg18
Content Digest
sha256:e72689191e1c977892c53d6f2c344dbc4a9657a867dc8cc1899229f9d3672b2e
Pull command
Details
Created

2026-09-29 15:24:29 UTC

Size

355 MB

Content Digest
Labels
  • maintainer
    Timescale https://www.timescale.com

Environment
DOCKER_PG_LLVM_DEPS

llvm21-dev clang21

GOSU_VERSION

1.19

LANG

en_US.utf8

PATH

/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin

PGDATA

/var/lib/postgresql/18/docker

PG_MAJOR

18

PG_SHA256

555610c24d53e4316da5b7d3fc25c279d96856d5e0e23ee308c328c5fa881d9f

PG_VERSION

18.6


Layers

[#000] sha256:1f89eeb8219ece88ee6dd2e7cad6761d1e9da9e18f4b7929d9ee0052902df74a - 0.99% (3.5 MB)

[#001] sha256:fba2f82026b49e0400a42de7b5c01dd1f1f241e083ea9d1eac4c2a4f2670a546 - 0.0% (967 Bytes)

[#002] sha256:41ef27e44711984e5057d8c7592b1ed2c92eb8bddecf108c1825e089c5277e3d - 0.23% (850 KB)

[#003] sha256:c1aa128387a4106437f42cee607226e45bfb8324007301b671af1005de3ab1af - 0.0% (116 Bytes)

[#004] sha256:aa3d50cb943615e403d1412923d8e66a21985e420de40b2709225dac92d516b9 - 32.75% (116 MB)

[#005] sha256:dbba3847dc98f82c5f83d7e98f837d6a00391a8e065dbaa996e2d1e8a7f961f6 - 0.01% (18.6 KB)

[#006] sha256:b3d329bd50c61675df99d7745b89f94cb549695f4edffc63d3b39933ff1aa16d - 0.0% (128 Bytes)

[#007] sha256:f89471e4ad54209878a08795eaa11694d3c9f1d55c4e965e2ca78d10dc85ae4f - 0.0% (5.97 KB)

[#008] sha256:516c7f4f59d4da2a30c7f81d41b60d18b796a3e320910cb88573b6b209a684d8 - 0.0% (184 Bytes)

[#009] sha256:9edc50701b55948415ff38ae6afa54ce408133445a1836c77a1ed78ba2cb1fbe - 0.73% (2.59 MB)

[#010] sha256:c4cd1d58bafbb42997f6b5f4a889f3ea35dd08c71d1e65d2d52cf256177f0b5a - 0.82% (2.91 MB)

[#011] sha256:a311674188573fb38e3c5ed5d0828b2b5cfa1908cbd66aa9f481c3e9498fe33f - 0.0% (2.08 KB)

[#012] sha256:adbd0684e4fb13398e8954bda113aa56efadaecbf50f9e21db05591cc5fb142b - 2.38% (8.43 MB)

[#013] sha256:2f0e96c3dc2200071f3d3bfd05cdeefa3a55e95b1d95a195b143d5b6014f9cc0 - 41.7% (148 MB)

[#014] sha256:49c4b08c9238b2e7f65951aed99e6f5184bc318891b442dff531cd9b76e076a0 - 17.12% (60.7 MB)

[#015] sha256:3fd407b4435ae36c3416b1c59afaef5c67a839e8164642ca76d6563363d098c7 - 3.28% (11.6 MB)


History
2026-09-17 20:37:28 UTC (buildkit.dockerfile.v0)

ADD alpine-minirootfs-3.23.6-x86.tar.gz / # buildkit

2026-09-17 20:37:28 UTC (buildkit.dockerfile.v0)

CMD ["/bin/sh"]

2026-09-17 21:28:59 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c set -eux; addgroup -g 70 -S postgres; adduser -u 70 -S -D -G postgres -H -h /var/lib/postgresql -s /bin/sh postgres; install --verbose --directory --owner postgres --group postgres --mode 1777 /var/lib/postgresql # buildkit

2026-09-17 21:29:02 UTC (buildkit.dockerfile.v0)

ENV GOSU_VERSION=1.19

2026-09-17 21:29:02 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c set -eux; apk add --no-cache --virtual .gosu-deps ca-certificates dpkg gnupg ; dpkgArch="$(dpkg --print-architecture | awk -F- '{ print $NF }')"; wget -O /usr/local/bin/gosu "https://github.com/tianon/gosu/releases/download/$GOSU_VERSION/gosu-$dpkgArch"; wget -O /usr/local/bin/gosu.asc "https://github.com/tianon/gosu/releases/download/$GOSU_VERSION/gosu-$dpkgArch.asc"; export GNUPGHOME="$(mktemp -d)"; gpg --batch --keyserver hkps://keys.openpgp.org --recv-keys B42F6819007F00F88E364FD4036A9C25BF357DD4; gpg --batch --verify /usr/local/bin/gosu.asc /usr/local/bin/gosu; gpgconf --kill all; rm -rf "$GNUPGHOME" /usr/local/bin/gosu.asc; apk del --no-network .gosu-deps; chmod +x /usr/local/bin/gosu; gosu --version; gosu nobody true # buildkit

2026-09-17 21:29:02 UTC (buildkit.dockerfile.v0)

ENV LANG=en_US.utf8

2026-09-17 21:29:02 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c mkdir /docker-entrypoint-initdb.d # buildkit

2026-09-17 21:29:02 UTC (buildkit.dockerfile.v0)

ENV PG_MAJOR=18

2026-09-17 21:29:02 UTC (buildkit.dockerfile.v0)

ENV PG_VERSION=18.6

2026-09-17 21:29:02 UTC (buildkit.dockerfile.v0)

ENV PG_SHA256=555610c24d53e4316da5b7d3fc25c279d96856d5e0e23ee308c328c5fa881d9f

2026-09-17 21:29:02 UTC (buildkit.dockerfile.v0)

ENV DOCKER_PG_LLVM_DEPS=llvm21-dev clang21

2026-09-17 21:31:27 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-09-17 21:31:27 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c set -eux; cp -v /usr/local/share/postgresql/postgresql.conf.sample /usr/local/share/postgresql/postgresql.conf.sample.orig; sed -ri "s!^#?(listen_addresses)\s*=\s*\S+.*!\1 = '*'!" /usr/local/share/postgresql/postgresql.conf.sample; grep -F "listen_addresses = '*'" /usr/local/share/postgresql/postgresql.conf.sample # buildkit

2026-09-17 21:31:28 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c install --verbose --directory --owner postgres --group postgres --mode 3777 /var/run/postgresql # buildkit

2026-09-17 21:31:28 UTC (buildkit.dockerfile.v0)

ENV PGDATA=/var/lib/postgresql/18/docker

2026-09-17 21:31:28 UTC (buildkit.dockerfile.v0)

VOLUME [/var/lib/postgresql]

2026-09-17 21:31:28 UTC (buildkit.dockerfile.v0)

COPY docker-entrypoint.sh docker-ensure-initdb.sh /usr/local/bin/ # buildkit

2026-09-17 21:31:28 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c ln -sT docker-ensure-initdb.sh /usr/local/bin/docker-enforce-initdb.sh # buildkit

2026-09-17 21:31:28 UTC (buildkit.dockerfile.v0)

ENTRYPOINT ["docker-entrypoint.sh"]

2026-09-17 21:31:28 UTC (buildkit.dockerfile.v0)

STOPSIGNAL SIGINT

2026-09-17 21:31:28 UTC (buildkit.dockerfile.v0)

EXPOSE map[5432/tcp:{}]

2026-09-17 21:31:28 UTC (buildkit.dockerfile.v0)

CMD ["postgres"]

2026-09-29 15:23:56 UTC (buildkit.dockerfile.v0)

ARG OSS_ONLY

2026-09-29 15:23:56 UTC (buildkit.dockerfile.v0)

LABEL maintainer=Timescale https://www.timescale.com

2026-09-29 15:23:56 UTC (buildkit.dockerfile.v0)

ARG PG_VERSION=18

2026-09-29 15:23:56 UTC (buildkit.dockerfile.v0)

ARG PG_MAJOR_VERSION=18

2026-09-29 15:23:56 UTC (buildkit.dockerfile.v0)

ARG ALPINE_VERSION=3.23

2026-09-29 15:23:56 UTC (buildkit.dockerfile.v0)

RUN |4 OSS_ONLY= 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-09-29 15:23:56 UTC (buildkit.dockerfile.v0)

ARG PGVECTOR_VERSION=v0.8.1

2026-09-29 15:23:56 UTC (buildkit.dockerfile.v0)

ARG PG_VERSION=18

2026-09-29 15:23:56 UTC (buildkit.dockerfile.v0)

ARG CLANG_VERSION=21

2026-09-29 15:23:56 UTC (buildkit.dockerfile.v0)

ARG PG_MAJOR_VERSION=18

2026-09-29 15:24:03 UTC (buildkit.dockerfile.v0)

RUN |6 OSS_ONLY= 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 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-09-29 15:24:03 UTC (buildkit.dockerfile.v0)

COPY docker-entrypoint-initdb.d/* /docker-entrypoint-initdb.d/ # buildkit

2026-09-29 15:24:03 UTC (buildkit.dockerfile.v0)

COPY /out/* /usr/local/bin/ # buildkit

2026-09-29 15:24:03 UTC (buildkit.dockerfile.v0)

COPY /usr/local/lib/postgresql/timescaledb-*.so /usr/local/lib/postgresql/ # buildkit

2026-09-29 15:24:04 UTC (buildkit.dockerfile.v0)

COPY /usr/local/share/postgresql/extension/timescaledb--*.sql /usr/local/share/postgresql/extension/ # buildkit

2026-09-29 15:24:04 UTC (buildkit.dockerfile.v0)

ARG TS_VERSION=2.30.2

2026-09-29 15:24:29 UTC (buildkit.dockerfile.v0)

RUN |7 OSS_ONLY= PG_VERSION=18 PG_MAJOR_VERSION=18 ALPINE_VERSION=3.23 PGVECTOR_VERSION=v0.8.1 CLANG_VERSION=21 TS_VERSION=2.30.2 /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

Details
Created

2026-09-29 15:24:19 UTC

Size

359 MB

Content Digest
Labels
  • maintainer
    Timescale https://www.timescale.com

Environment
DOCKER_PG_LLVM_DEPS

llvm21-dev clang21

GOSU_VERSION

1.19

LANG

en_US.utf8

PATH

/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin

PGDATA

/var/lib/postgresql/18/docker

PG_MAJOR

18

PG_SHA256

555610c24d53e4316da5b7d3fc25c279d96856d5e0e23ee308c328c5fa881d9f

PG_VERSION

18.6


Layers

[#000] sha256:d0c1d894c237d8192cbcd37e435031ad4eddec173299568a5a05869c2e40dfa3 - 1.02% (3.67 MB)

[#001] sha256:eee617705646fb5b014ccd292a934a28490a5d717f7dab003877fbe143529c4d - 0.0% (968 Bytes)

[#002] sha256:ab817f883b188e24eac653d3a551e6313474a52f08e062a20f5934b91e1e0213 - 0.24% (880 KB)

[#003] sha256:4f35d6fd2cdc424fc5c25f3b4161ee1b7094bbd9d434723faf7622404e6469f3 - 0.0% (116 Bytes)

[#004] sha256:d6597b1f49ae1a2fd486f695b07d8597dc3aa1a65378b1d1fd5d430c99351a88 - 30.51% (109 MB)

[#005] sha256:e2a7e33e0e3ced653dfda6920baf4ac3f6b75b1d0074e580402e827a0ded2213 - 0.01% (18.6 KB)

[#006] sha256:1062dbff1b86e62b8cb2e14e1e325e2cc65c099edc0c9cce6ebf5c4abfa93907 - 0.0% (128 Bytes)

[#007] sha256:322c3a77f03902334e16264ea1ead1dfab3e19128d2103449fada37fe0df0bf0 - 0.0% (5.96 KB)

[#008] sha256:6a275c3192929d5b5ba27b1d632ca4d234563eab41921ef3d1adeb127cf46d96 - 0.0% (183 Bytes)

[#009] sha256:0df4f0b3ecb2771faddcc3e27cb39aad1d60d336ae70fd79a6e70bfb8bf2aa26 - 0.77% (2.78 MB)

[#010] sha256:426f0945e3f87523f3d241ef5d61be1a15f57759bee690cbfecce56e1f925a57 - 0.87% (3.11 MB)

[#011] sha256:40e2648c860b5df35a16785112c48b3900b8d37620a7f20fcaeb90c5a8a013dd - 0.0% (2.08 KB)

[#012] sha256:1ed4e3fb32b0ad182e994d65ebe64bbe1ea06883f90cc6d7b28ff0aa9c2c36fc - 2.41% (8.65 MB)

[#013] sha256:a24b306af71b93a46656d707c0240efccb4aa92be9f8473406876726e70711da - 43.84% (157 MB)

[#014] sha256:7e284599e53c5a4d7f901d8d362f5b6e9c36a5e56ff8ff77adb3fa64a3bbe41b - 16.92% (60.7 MB)

[#015] sha256:95daa0ff2b0f89cef7e441b172bb77fb3132056b266a2e558561826a33b96b16 - 3.41% (12.3 MB)


History
2026-09-17 20:37:33 UTC (buildkit.dockerfile.v0)

ADD alpine-minirootfs-3.23.6-x86_64.tar.gz / # buildkit

2026-09-17 20:37:33 UTC (buildkit.dockerfile.v0)

CMD ["/bin/sh"]

2026-09-17 21:27:22 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c set -eux; addgroup -g 70 -S postgres; adduser -u 70 -S -D -G postgres -H -h /var/lib/postgresql -s /bin/sh postgres; install --verbose --directory --owner postgres --group postgres --mode 1777 /var/lib/postgresql # buildkit

2026-09-17 21:27:25 UTC (buildkit.dockerfile.v0)

ENV GOSU_VERSION=1.19

2026-09-17 21:27:25 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c set -eux; apk add --no-cache --virtual .gosu-deps ca-certificates dpkg gnupg ; dpkgArch="$(dpkg --print-architecture | awk -F- '{ print $NF }')"; wget -O /usr/local/bin/gosu "https://github.com/tianon/gosu/releases/download/$GOSU_VERSION/gosu-$dpkgArch"; wget -O /usr/local/bin/gosu.asc "https://github.com/tianon/gosu/releases/download/$GOSU_VERSION/gosu-$dpkgArch.asc"; export GNUPGHOME="$(mktemp -d)"; gpg --batch --keyserver hkps://keys.openpgp.org --recv-keys B42F6819007F00F88E364FD4036A9C25BF357DD4; gpg --batch --verify /usr/local/bin/gosu.asc /usr/local/bin/gosu; gpgconf --kill all; rm -rf "$GNUPGHOME" /usr/local/bin/gosu.asc; apk del --no-network .gosu-deps; chmod +x /usr/local/bin/gosu; gosu --version; gosu nobody true # buildkit

2026-09-17 21:27:25 UTC (buildkit.dockerfile.v0)

ENV LANG=en_US.utf8

2026-09-17 21:27:25 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c mkdir /docker-entrypoint-initdb.d # buildkit

2026-09-17 21:27:25 UTC (buildkit.dockerfile.v0)

ENV PG_MAJOR=18

2026-09-17 21:27:25 UTC (buildkit.dockerfile.v0)

ENV PG_VERSION=18.6

2026-09-17 21:27:25 UTC (buildkit.dockerfile.v0)

ENV PG_SHA256=555610c24d53e4316da5b7d3fc25c279d96856d5e0e23ee308c328c5fa881d9f

2026-09-17 21:27:25 UTC (buildkit.dockerfile.v0)

ENV DOCKER_PG_LLVM_DEPS=llvm21-dev clang21

2026-09-17 21:29: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 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-09-17 21:29:54 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c set -eux; cp -v /usr/local/share/postgresql/postgresql.conf.sample /usr/local/share/postgresql/postgresql.conf.sample.orig; sed -ri "s!^#?(listen_addresses)\s*=\s*\S+.*!\1 = '*'!" /usr/local/share/postgresql/postgresql.conf.sample; grep -F "listen_addresses = '*'" /usr/local/share/postgresql/postgresql.conf.sample # buildkit

2026-09-17 21:29:54 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c install --verbose --directory --owner postgres --group postgres --mode 3777 /var/run/postgresql # buildkit

2026-09-17 21:29:54 UTC (buildkit.dockerfile.v0)

ENV PGDATA=/var/lib/postgresql/18/docker

2026-09-17 21:29:54 UTC (buildkit.dockerfile.v0)

VOLUME [/var/lib/postgresql]

2026-09-17 21:29:54 UTC (buildkit.dockerfile.v0)

COPY docker-entrypoint.sh docker-ensure-initdb.sh /usr/local/bin/ # buildkit

2026-09-17 21:29:54 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c ln -sT docker-ensure-initdb.sh /usr/local/bin/docker-enforce-initdb.sh # buildkit

2026-09-17 21:29:54 UTC (buildkit.dockerfile.v0)

ENTRYPOINT ["docker-entrypoint.sh"]

2026-09-17 21:29:54 UTC (buildkit.dockerfile.v0)

STOPSIGNAL SIGINT

2026-09-17 21:29:54 UTC (buildkit.dockerfile.v0)

EXPOSE map[5432/tcp:{}]

2026-09-17 21:29:54 UTC (buildkit.dockerfile.v0)

CMD ["postgres"]

2026-09-19 00:26:02 UTC (buildkit.dockerfile.v0)

ARG OSS_ONLY

2026-09-19 00:26:02 UTC (buildkit.dockerfile.v0)

LABEL maintainer=Timescale https://www.timescale.com

2026-09-19 00:26:02 UTC (buildkit.dockerfile.v0)

ARG PG_VERSION=18

2026-09-19 00:26:02 UTC (buildkit.dockerfile.v0)

ARG PG_MAJOR_VERSION=18

2026-09-19 00:26:02 UTC (buildkit.dockerfile.v0)

ARG ALPINE_VERSION=3.23

2026-09-19 00:26:02 UTC (buildkit.dockerfile.v0)

RUN |4 OSS_ONLY= 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-09-19 00:26:02 UTC (buildkit.dockerfile.v0)

ARG PGVECTOR_VERSION=v0.8.1

2026-09-19 00:26:02 UTC (buildkit.dockerfile.v0)

ARG PG_VERSION=18

2026-09-19 00:26:02 UTC (buildkit.dockerfile.v0)

ARG CLANG_VERSION=21

2026-09-19 00:26:02 UTC (buildkit.dockerfile.v0)

ARG PG_MAJOR_VERSION=18

2026-09-19 00:26:14 UTC (buildkit.dockerfile.v0)

RUN |6 OSS_ONLY= 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 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-09-19 00:26:14 UTC (buildkit.dockerfile.v0)

COPY docker-entrypoint-initdb.d/* /docker-entrypoint-initdb.d/ # buildkit

2026-09-19 00:26:14 UTC (buildkit.dockerfile.v0)

COPY /out/* /usr/local/bin/ # buildkit

2026-09-19 00:26:14 UTC (buildkit.dockerfile.v0)

COPY /usr/local/lib/postgresql/timescaledb-*.so /usr/local/lib/postgresql/ # buildkit

2026-09-19 00:26:15 UTC (buildkit.dockerfile.v0)

COPY /usr/local/share/postgresql/extension/timescaledb--*.sql /usr/local/share/postgresql/extension/ # buildkit

2026-09-19 00:26:15 UTC (buildkit.dockerfile.v0)

ARG TS_VERSION=2.30.2

2026-09-29 15:24:19 UTC (buildkit.dockerfile.v0)

RUN |7 OSS_ONLY= PG_VERSION=18 PG_MAJOR_VERSION=18 ALPINE_VERSION=3.23 PGVECTOR_VERSION=v0.8.1 CLANG_VERSION=21 TS_VERSION=2.30.2 /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

Details
Created

2026-09-29 15:28:53 UTC

Size

355 MB

Content Digest
Labels
  • maintainer
    Timescale https://www.timescale.com

Environment
DOCKER_PG_LLVM_DEPS

llvm21-dev clang21

GOSU_VERSION

1.19

LANG

en_US.utf8

PATH

/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin

PGDATA

/var/lib/postgresql/18/docker

PG_MAJOR

18

PG_SHA256

555610c24d53e4316da5b7d3fc25c279d96856d5e0e23ee308c328c5fa881d9f

PG_VERSION

18.6


Layers

[#000] sha256:b0cea9f80ea5defd79b131eda614476b4cdbb6b45165432dd3dbf895cf504ccb - 0.96% (3.39 MB)

[#001] sha256:d489f3ea4fdd4d0d2104e0f2c85fa0514ef9f89f9d7f9dbe4c4605f3abbae8b3 - 0.0% (967 Bytes)

[#002] sha256:23f684b46f6decd9ff6bdb877d540c09aaa5e5d0bcfa8a768434f4802ed0d8c8 - 0.23% (845 KB)

[#003] sha256:dcba413beed36a12ce4456ab9100f2456cfbb8c1839174c65e24a7a47ce146aa - 0.0% (116 Bytes)

[#004] sha256:908711a684a8131b657fb20fc5d393934b0530171b4d987eb83babcf6883cf3c - 29.9% (106 MB)

[#005] sha256:ea10f1f5a9faba22291c96dc4bfe86c795c551a05e5a1956b4250549212d907a - 0.01% (18.6 KB)

[#006] sha256:431013b8a27f8fa00820ae227993ab59ac8aae059c311009230d743c38fc976c - 0.0% (128 Bytes)

[#007] sha256:5388f86a26bef6686ac69f38acbe7f8edd24b46d7e0b8fe0ba9216871f29272d - 0.0% (5.96 KB)

[#008] sha256:c1760d490d986c4c4534c8c3215ef36444efdd07ff9c7fdf6f1cca7acba97aba - 0.0% (184 Bytes)

[#009] sha256:8c7b787667b4159d714b51a9ed8977ebfb29145a0597fcbadda4f2f4c79577af - 0.68% (2.4 MB)

[#010] sha256:fc90a915767f8569019e4b39bd2b98be107e6fbe998a17a2b244bffe2dce106e - 0.76% (2.7 MB)

[#011] sha256:fbcc41d0cf4e4b3950bb3fc0f8990df0ffa77ba217223c297cbc84f3cc02273c - 0.0% (2.08 KB)

[#012] sha256:b3afb43c870fcb56d81c41e27e5298f93c1401bac40ed0cfdf57d58fef5d811f - 2.3% (8.17 MB)

[#013] sha256:71bcdd9f19446bfcbc3a2613d4019455550c7f2f5ca6ace198a6b03c9ba35d16 - 44.49% (158 MB)

[#014] sha256:63b96885d59566be09f1d6a46d89776eea7ce4443c9ee21a68ccedd4ec3cf9fa - 17.11% (60.7 MB)

[#015] sha256:d497b3350d246cba279baf3f2d40389341383b7b347eca3561e7786c988c32aa - 3.56% (12.7 MB)


History
2026-09-17 20:37:42 UTC (buildkit.dockerfile.v0)

ADD alpine-minirootfs-3.23.6-armhf.tar.gz / # buildkit

2026-09-17 20:37:42 UTC (buildkit.dockerfile.v0)

CMD ["/bin/sh"]

2026-09-17 21:44:24 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c set -eux; addgroup -g 70 -S postgres; adduser -u 70 -S -D -G postgres -H -h /var/lib/postgresql -s /bin/sh postgres; install --verbose --directory --owner postgres --group postgres --mode 1777 /var/lib/postgresql # buildkit

2026-09-17 21:44:27 UTC (buildkit.dockerfile.v0)

ENV GOSU_VERSION=1.19

2026-09-17 21:44:27 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c set -eux; apk add --no-cache --virtual .gosu-deps ca-certificates dpkg gnupg ; dpkgArch="$(dpkg --print-architecture | awk -F- '{ print $NF }')"; wget -O /usr/local/bin/gosu "https://github.com/tianon/gosu/releases/download/$GOSU_VERSION/gosu-$dpkgArch"; wget -O /usr/local/bin/gosu.asc "https://github.com/tianon/gosu/releases/download/$GOSU_VERSION/gosu-$dpkgArch.asc"; export GNUPGHOME="$(mktemp -d)"; gpg --batch --keyserver hkps://keys.openpgp.org --recv-keys B42F6819007F00F88E364FD4036A9C25BF357DD4; gpg --batch --verify /usr/local/bin/gosu.asc /usr/local/bin/gosu; gpgconf --kill all; rm -rf "$GNUPGHOME" /usr/local/bin/gosu.asc; apk del --no-network .gosu-deps; chmod +x /usr/local/bin/gosu; gosu --version; gosu nobody true # buildkit

2026-09-17 21:44:27 UTC (buildkit.dockerfile.v0)

ENV LANG=en_US.utf8

2026-09-17 21:44:27 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c mkdir /docker-entrypoint-initdb.d # buildkit

2026-09-17 21:44:27 UTC (buildkit.dockerfile.v0)

ENV PG_MAJOR=18

2026-09-17 21:44:27 UTC (buildkit.dockerfile.v0)

ENV PG_VERSION=18.6

2026-09-17 21:44:27 UTC (buildkit.dockerfile.v0)

ENV PG_SHA256=555610c24d53e4316da5b7d3fc25c279d96856d5e0e23ee308c328c5fa881d9f

2026-09-17 21:44:27 UTC (buildkit.dockerfile.v0)

ENV DOCKER_PG_LLVM_DEPS=llvm21-dev clang21

2026-09-17 21:47:29 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-09-17 21:47:29 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c set -eux; cp -v /usr/local/share/postgresql/postgresql.conf.sample /usr/local/share/postgresql/postgresql.conf.sample.orig; sed -ri "s!^#?(listen_addresses)\s*=\s*\S+.*!\1 = '*'!" /usr/local/share/postgresql/postgresql.conf.sample; grep -F "listen_addresses = '*'" /usr/local/share/postgresql/postgresql.conf.sample # buildkit

2026-09-17 21:47:29 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c install --verbose --directory --owner postgres --group postgres --mode 3777 /var/run/postgresql # buildkit

2026-09-17 21:47:29 UTC (buildkit.dockerfile.v0)

ENV PGDATA=/var/lib/postgresql/18/docker

2026-09-17 21:47:29 UTC (buildkit.dockerfile.v0)

VOLUME [/var/lib/postgresql]

2026-09-17 21:47:29 UTC (buildkit.dockerfile.v0)

COPY docker-entrypoint.sh docker-ensure-initdb.sh /usr/local/bin/ # buildkit

2026-09-17 21:47:29 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c ln -sT docker-ensure-initdb.sh /usr/local/bin/docker-enforce-initdb.sh # buildkit

2026-09-17 21:47:29 UTC (buildkit.dockerfile.v0)

ENTRYPOINT ["docker-entrypoint.sh"]

2026-09-17 21:47:29 UTC (buildkit.dockerfile.v0)

STOPSIGNAL SIGINT

2026-09-17 21:47:29 UTC (buildkit.dockerfile.v0)

EXPOSE map[5432/tcp:{}]

2026-09-17 21:47:29 UTC (buildkit.dockerfile.v0)

CMD ["postgres"]

2026-09-29 15:24:08 UTC (buildkit.dockerfile.v0)

ARG OSS_ONLY

2026-09-29 15:24:08 UTC (buildkit.dockerfile.v0)

LABEL maintainer=Timescale https://www.timescale.com

2026-09-29 15:24:08 UTC (buildkit.dockerfile.v0)

ARG PG_VERSION=18

2026-09-29 15:24:08 UTC (buildkit.dockerfile.v0)

ARG PG_MAJOR_VERSION=18

2026-09-29 15:24:08 UTC (buildkit.dockerfile.v0)

ARG ALPINE_VERSION=3.23

2026-09-29 15:24:08 UTC (buildkit.dockerfile.v0)

RUN |4 OSS_ONLY= 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-09-29 15:24:08 UTC (buildkit.dockerfile.v0)

ARG PGVECTOR_VERSION=v0.8.1

2026-09-29 15:24:08 UTC (buildkit.dockerfile.v0)

ARG PG_VERSION=18

2026-09-29 15:24:08 UTC (buildkit.dockerfile.v0)

ARG CLANG_VERSION=21

2026-09-29 15:24:08 UTC (buildkit.dockerfile.v0)

ARG PG_MAJOR_VERSION=18

2026-09-29 15:24:42 UTC (buildkit.dockerfile.v0)

RUN |6 OSS_ONLY= 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 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-09-29 15:24:42 UTC (buildkit.dockerfile.v0)

COPY docker-entrypoint-initdb.d/* /docker-entrypoint-initdb.d/ # buildkit

2026-09-29 15:24:42 UTC (buildkit.dockerfile.v0)

COPY /out/* /usr/local/bin/ # buildkit

2026-09-29 15:24:42 UTC (buildkit.dockerfile.v0)

COPY /usr/local/lib/postgresql/timescaledb-*.so /usr/local/lib/postgresql/ # buildkit

2026-09-29 15:24:43 UTC (buildkit.dockerfile.v0)

COPY /usr/local/share/postgresql/extension/timescaledb--*.sql /usr/local/share/postgresql/extension/ # buildkit

2026-09-29 15:24:43 UTC (buildkit.dockerfile.v0)

ARG TS_VERSION=2.30.2

2026-09-29 15:28:53 UTC (buildkit.dockerfile.v0)

RUN |7 OSS_ONLY= PG_VERSION=18 PG_MAJOR_VERSION=18 ALPINE_VERSION=3.23 PGVECTOR_VERSION=v0.8.1 CLANG_VERSION=21 TS_VERSION=2.30.2 /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

Details
Created

2026-09-29 15:28:53 UTC

Size

348 MB

Content Digest
Labels
  • maintainer
    Timescale https://www.timescale.com

Environment
DOCKER_PG_LLVM_DEPS

llvm21-dev clang21

GOSU_VERSION

1.19

LANG

en_US.utf8

PATH

/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin

PGDATA

/var/lib/postgresql/18/docker

PG_MAJOR

18

PG_SHA256

555610c24d53e4316da5b7d3fc25c279d96856d5e0e23ee308c328c5fa881d9f

PG_VERSION

18.6


Layers

[#000] sha256:f2ac4546f23daefce222f4e05cc66a337ed28b1df07bac959470bc4e25c1218d - 0.89% (3.11 MB)

[#001] sha256:75a10d929e81d17729671433b0dd8dffda9c61dd8ea3aae292b7799326ecd03c - 0.0% (969 Bytes)

[#002] sha256:25d201f374933abdf29958ca595fe886dcded8ac32ddde235dea64a32b7ff278 - 0.24% (845 KB)

[#003] sha256:5a64ae5249d672a9dccd01ed51b5b647594f6d87fc3b77550f3fcf3dfbe71abe - 0.0% (116 Bytes)

[#004] sha256:298ac85096b8b9a5ea432e69ebd039039fb555f928515624dd37e0332cfb3f7b - 28.82% (100 MB)

[#005] sha256:e8f032e2c6d6c1ad9f2ab2e524c0caef6450406645c137589d9696ef5324141e - 0.01% (18.6 KB)

[#006] sha256:77fb02b1de36080b4d85203e2d0eaf88d4b17f0e7a360e307186acc4f7a32785 - 0.0% (128 Bytes)

[#007] sha256:a8866c3c0508d709c033245b846a4197d2e3d93834b625bc60a304e5fd07e8a9 - 0.0% (5.97 KB)

[#008] sha256:f2531e441f34dd7ef63c1c50a2b5fe089166e67da064471690b74f6370166575 - 0.0% (184 Bytes)

[#009] sha256:a1ee1c871cf674517e506138196c134bc60fc330cacd70499e2a22ed122cdd43 - 0.75% (2.61 MB)

[#010] sha256:eb8a78795e3db13163fef1ff9d42662173737d96bc164afa59edba82a117f34c - 0.84% (2.91 MB)

[#011] sha256:46d6682908d77cf2681c61e71437753ee39a0399e00e77ea546181150ba58be6 - 0.0% (2.08 KB)

[#012] sha256:cbe07aee3c809c796c10c593b8c63daf27ec25d41f45f36f349a38af2e9351c0 - 2.35% (8.16 MB)

[#013] sha256:d1c93c8c21c0e1f88ee50a77ccae8886a63d664b39367af6465f6c929c9dbc54 - 45.04% (157 MB)

[#014] sha256:fb6651a373b7f57780b6a77eaff2c2abe51742ade803217c55f8f2b659461c38 - 17.45% (60.7 MB)

[#015] sha256:0be357ab8f51014cf88178d3965de752639f22dbc164e80bd1052fb9257a1633 - 3.61% (12.6 MB)


History
2026-09-17 20:37:02 UTC (buildkit.dockerfile.v0)

ADD alpine-minirootfs-3.23.6-armv7.tar.gz / # buildkit

2026-09-17 20:37:02 UTC (buildkit.dockerfile.v0)

CMD ["/bin/sh"]

2026-09-17 21:43:58 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c set -eux; addgroup -g 70 -S postgres; adduser -u 70 -S -D -G postgres -H -h /var/lib/postgresql -s /bin/sh postgres; install --verbose --directory --owner postgres --group postgres --mode 1777 /var/lib/postgresql # buildkit

2026-09-17 21:44:01 UTC (buildkit.dockerfile.v0)

ENV GOSU_VERSION=1.19

2026-09-17 21:44:01 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c set -eux; apk add --no-cache --virtual .gosu-deps ca-certificates dpkg gnupg ; dpkgArch="$(dpkg --print-architecture | awk -F- '{ print $NF }')"; wget -O /usr/local/bin/gosu "https://github.com/tianon/gosu/releases/download/$GOSU_VERSION/gosu-$dpkgArch"; wget -O /usr/local/bin/gosu.asc "https://github.com/tianon/gosu/releases/download/$GOSU_VERSION/gosu-$dpkgArch.asc"; export GNUPGHOME="$(mktemp -d)"; gpg --batch --keyserver hkps://keys.openpgp.org --recv-keys B42F6819007F00F88E364FD4036A9C25BF357DD4; gpg --batch --verify /usr/local/bin/gosu.asc /usr/local/bin/gosu; gpgconf --kill all; rm -rf "$GNUPGHOME" /usr/local/bin/gosu.asc; apk del --no-network .gosu-deps; chmod +x /usr/local/bin/gosu; gosu --version; gosu nobody true # buildkit

2026-09-17 21:44:01 UTC (buildkit.dockerfile.v0)

ENV LANG=en_US.utf8

2026-09-17 21:44:01 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c mkdir /docker-entrypoint-initdb.d # buildkit

2026-09-17 21:44:01 UTC (buildkit.dockerfile.v0)

ENV PG_MAJOR=18

2026-09-17 21:44:01 UTC (buildkit.dockerfile.v0)

ENV PG_VERSION=18.6

2026-09-17 21:44:01 UTC (buildkit.dockerfile.v0)

ENV PG_SHA256=555610c24d53e4316da5b7d3fc25c279d96856d5e0e23ee308c328c5fa881d9f

2026-09-17 21:44:01 UTC (buildkit.dockerfile.v0)

ENV DOCKER_PG_LLVM_DEPS=llvm21-dev clang21

2026-09-17 21:46: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 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-09-17 21:46: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-09-17 21:46:45 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c install --verbose --directory --owner postgres --group postgres --mode 3777 /var/run/postgresql # buildkit

2026-09-17 21:46:45 UTC (buildkit.dockerfile.v0)

ENV PGDATA=/var/lib/postgresql/18/docker

2026-09-17 21:46:45 UTC (buildkit.dockerfile.v0)

VOLUME [/var/lib/postgresql]

2026-09-17 21:46:46 UTC (buildkit.dockerfile.v0)

COPY docker-entrypoint.sh docker-ensure-initdb.sh /usr/local/bin/ # buildkit

2026-09-17 21:46:46 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c ln -sT docker-ensure-initdb.sh /usr/local/bin/docker-enforce-initdb.sh # buildkit

2026-09-17 21:46:46 UTC (buildkit.dockerfile.v0)

ENTRYPOINT ["docker-entrypoint.sh"]

2026-09-17 21:46:46 UTC (buildkit.dockerfile.v0)

STOPSIGNAL SIGINT

2026-09-17 21:46:46 UTC (buildkit.dockerfile.v0)

EXPOSE map[5432/tcp:{}]

2026-09-17 21:46:46 UTC (buildkit.dockerfile.v0)

CMD ["postgres"]

2026-09-29 15:24:01 UTC (buildkit.dockerfile.v0)

ARG OSS_ONLY

2026-09-29 15:24:01 UTC (buildkit.dockerfile.v0)

LABEL maintainer=Timescale https://www.timescale.com

2026-09-29 15:24:01 UTC (buildkit.dockerfile.v0)

ARG PG_VERSION=18

2026-09-29 15:24:01 UTC (buildkit.dockerfile.v0)

ARG PG_MAJOR_VERSION=18

2026-09-29 15:24:01 UTC (buildkit.dockerfile.v0)

ARG ALPINE_VERSION=3.23

2026-09-29 15:24:01 UTC (buildkit.dockerfile.v0)

RUN |4 OSS_ONLY= 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-09-29 15:24:01 UTC (buildkit.dockerfile.v0)

ARG PGVECTOR_VERSION=v0.8.1

2026-09-29 15:24:01 UTC (buildkit.dockerfile.v0)

ARG PG_VERSION=18

2026-09-29 15:24:01 UTC (buildkit.dockerfile.v0)

ARG CLANG_VERSION=21

2026-09-29 15:24:01 UTC (buildkit.dockerfile.v0)

ARG PG_MAJOR_VERSION=18

2026-09-29 15:24:29 UTC (buildkit.dockerfile.v0)

RUN |6 OSS_ONLY= 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 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-09-29 15:24:29 UTC (buildkit.dockerfile.v0)

COPY docker-entrypoint-initdb.d/* /docker-entrypoint-initdb.d/ # buildkit

2026-09-29 15:24:30 UTC (buildkit.dockerfile.v0)

COPY /out/* /usr/local/bin/ # buildkit

2026-09-29 15:24:30 UTC (buildkit.dockerfile.v0)

COPY /usr/local/lib/postgresql/timescaledb-*.so /usr/local/lib/postgresql/ # buildkit

2026-09-29 15:24:30 UTC (buildkit.dockerfile.v0)

COPY /usr/local/share/postgresql/extension/timescaledb--*.sql /usr/local/share/postgresql/extension/ # buildkit

2026-09-29 15:24:30 UTC (buildkit.dockerfile.v0)

ARG TS_VERSION=2.30.2

2026-09-29 15:28:53 UTC (buildkit.dockerfile.v0)

RUN |7 OSS_ONLY= PG_VERSION=18 PG_MAJOR_VERSION=18 ALPINE_VERSION=3.23 PGVECTOR_VERSION=v0.8.1 CLANG_VERSION=21 TS_VERSION=2.30.2 /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

Details
Created

2026-09-29 15:24:22 UTC

Size

346 MB

Content Digest
Labels
  • maintainer
    Timescale https://www.timescale.com

Environment
DOCKER_PG_LLVM_DEPS

llvm21-dev clang21

GOSU_VERSION

1.19

LANG

en_US.utf8

PATH

/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin

PGDATA

/var/lib/postgresql/18/docker

PG_MAJOR

18

PG_SHA256

555610c24d53e4316da5b7d3fc25c279d96856d5e0e23ee308c328c5fa881d9f

PG_VERSION

18.6


Layers

[#000] sha256:ace1621be7ff15b54252f68393ac33181df7f3e095e36a5d9a9892031b357d31 - 1.15% (3.99 MB)

[#001] sha256:fcf39f2f4e91d2957cd1cf98e58a4e3c58c61fb05cac19cc8f52436c2b61ee4f - 0.0% (968 Bytes)

[#002] sha256:d0bd38c1e4c469d00ca346d9704ddfcc102fd2759490cfc65a6f494811b685b3 - 0.24% (833 KB)

[#003] sha256:c0b118f2c42661699b2fd5da3aa8a72ef3dc702cf7e85f8f6424da43ca247ecf - 0.0% (116 Bytes)

[#004] sha256:8aaacd1b534b4c3a0969e9c0fbc5e01f629e311c277ea0021828b5f6b5b314fb - 30.94% (107 MB)

[#005] sha256:7f9adeca8f3b12cc53fff366725b5b6480ec7fd1c7a7fc66c19354e6ac4cd088 - 0.01% (18.6 KB)

[#006] sha256:7098235fdb6ff05bfb94739d44e12149433f31bee70933135ae6dcfb5c6e24fa - 0.0% (128 Bytes)

[#007] sha256:54dc94a3d14abb32bf5096cde37d23249f35e1cc159b62e7285d3f15fe02d069 - 0.0% (5.96 KB)

[#008] sha256:7b9f81988dffe4bdcb95e126e960e09e81ee6822aec6c3a91338f9923de4712e - 0.0% (182 Bytes)

[#009] sha256:2733e1a9ff5ade7720f2896b2c5afe9a579817ceb9ea224a63dd09c2e0f0f4f6 - 0.8% (2.76 MB)

[#010] sha256:2b8ba08e2bdedb9b02348da79da890bf1007827c3b28181e3b9bca550838ad27 - 0.89% (3.07 MB)

[#011] sha256:9d23e8d2ec7e747d0319743cd5176490bc77bf031da64ef88f6de2aef6a5786b - 0.0% (2.08 KB)

[#012] sha256:b62fa0edbe687a095280942df509277cd1a581b5717ae21f16e4c4596f879844 - 2.31% (7.98 MB)

[#013] sha256:c6db898fe1f122641469d5d55e0addfca0fd8ea5e330e7cecf1e1f88c783b0c1 - 42.78% (148 MB)

[#014] sha256:953a8ea6a8aa4645f0a86e0a0647017c0cae09e5c2f09ff32e2ee00dc8112cd0 - 17.54% (60.7 MB)

[#015] sha256:861045a13685a51179d46322f34d7fa6eccbd201bb66063cec87507f4f10dc84 - 3.35% (11.6 MB)


History
2026-09-17 20:37:18 UTC (buildkit.dockerfile.v0)

ADD alpine-minirootfs-3.23.6-aarch64.tar.gz / # buildkit

2026-09-17 20:37:18 UTC (buildkit.dockerfile.v0)

CMD ["/bin/sh"]

2026-09-17 21: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 # buildkit

2026-09-17 21:28:36 UTC (buildkit.dockerfile.v0)

ENV GOSU_VERSION=1.19

2026-09-17 21:28:36 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c set -eux; apk add --no-cache --virtual .gosu-deps ca-certificates dpkg gnupg ; dpkgArch="$(dpkg --print-architecture | awk -F- '{ print $NF }')"; wget -O /usr/local/bin/gosu "https://github.com/tianon/gosu/releases/download/$GOSU_VERSION/gosu-$dpkgArch"; wget -O /usr/local/bin/gosu.asc "https://github.com/tianon/gosu/releases/download/$GOSU_VERSION/gosu-$dpkgArch.asc"; export GNUPGHOME="$(mktemp -d)"; gpg --batch --keyserver hkps://keys.openpgp.org --recv-keys B42F6819007F00F88E364FD4036A9C25BF357DD4; gpg --batch --verify /usr/local/bin/gosu.asc /usr/local/bin/gosu; gpgconf --kill all; rm -rf "$GNUPGHOME" /usr/local/bin/gosu.asc; apk del --no-network .gosu-deps; chmod +x /usr/local/bin/gosu; gosu --version; gosu nobody true # buildkit

2026-09-17 21:28:36 UTC (buildkit.dockerfile.v0)

ENV LANG=en_US.utf8

2026-09-17 21:28:36 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c mkdir /docker-entrypoint-initdb.d # buildkit

2026-09-17 21:28:36 UTC (buildkit.dockerfile.v0)

ENV PG_MAJOR=18

2026-09-17 21:28:36 UTC (buildkit.dockerfile.v0)

ENV PG_VERSION=18.6

2026-09-17 21:28:36 UTC (buildkit.dockerfile.v0)

ENV PG_SHA256=555610c24d53e4316da5b7d3fc25c279d96856d5e0e23ee308c328c5fa881d9f

2026-09-17 21:28:36 UTC (buildkit.dockerfile.v0)

ENV DOCKER_PG_LLVM_DEPS=llvm21-dev clang21

2026-09-17 21:31:03 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-09-17 21:31:03 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c set -eux; cp -v /usr/local/share/postgresql/postgresql.conf.sample /usr/local/share/postgresql/postgresql.conf.sample.orig; sed -ri "s!^#?(listen_addresses)\s*=\s*\S+.*!\1 = '*'!" /usr/local/share/postgresql/postgresql.conf.sample; grep -F "listen_addresses = '*'" /usr/local/share/postgresql/postgresql.conf.sample # buildkit

2026-09-17 21:31:03 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c install --verbose --directory --owner postgres --group postgres --mode 3777 /var/run/postgresql # buildkit

2026-09-17 21:31:03 UTC (buildkit.dockerfile.v0)

ENV PGDATA=/var/lib/postgresql/18/docker

2026-09-17 21:31:03 UTC (buildkit.dockerfile.v0)

VOLUME [/var/lib/postgresql]

2026-09-17 21:31:03 UTC (buildkit.dockerfile.v0)

COPY docker-entrypoint.sh docker-ensure-initdb.sh /usr/local/bin/ # buildkit

2026-09-17 21:31:03 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c ln -sT docker-ensure-initdb.sh /usr/local/bin/docker-enforce-initdb.sh # buildkit

2026-09-17 21:31:03 UTC (buildkit.dockerfile.v0)

ENTRYPOINT ["docker-entrypoint.sh"]

2026-09-17 21:31:03 UTC (buildkit.dockerfile.v0)

STOPSIGNAL SIGINT

2026-09-17 21:31:03 UTC (buildkit.dockerfile.v0)

EXPOSE map[5432/tcp:{}]

2026-09-17 21:31:03 UTC (buildkit.dockerfile.v0)

CMD ["postgres"]

2026-09-20 00:29:26 UTC (buildkit.dockerfile.v0)

ARG OSS_ONLY

2026-09-20 00:29:26 UTC (buildkit.dockerfile.v0)

LABEL maintainer=Timescale https://www.timescale.com

2026-09-20 00:29:26 UTC (buildkit.dockerfile.v0)

ARG PG_VERSION=18

2026-09-20 00:29:26 UTC (buildkit.dockerfile.v0)

ARG PG_MAJOR_VERSION=18

2026-09-20 00:29:26 UTC (buildkit.dockerfile.v0)

ARG ALPINE_VERSION=3.23

2026-09-20 00:29:26 UTC (buildkit.dockerfile.v0)

RUN |4 OSS_ONLY= 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-09-20 00:29:26 UTC (buildkit.dockerfile.v0)

ARG PGVECTOR_VERSION=v0.8.1

2026-09-20 00:29:26 UTC (buildkit.dockerfile.v0)

ARG PG_VERSION=18

2026-09-20 00:29:26 UTC (buildkit.dockerfile.v0)

ARG CLANG_VERSION=21

2026-09-20 00:29:26 UTC (buildkit.dockerfile.v0)

ARG PG_MAJOR_VERSION=18

2026-09-20 00:29:34 UTC (buildkit.dockerfile.v0)

RUN |6 OSS_ONLY= 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 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-09-20 00:29:34 UTC (buildkit.dockerfile.v0)

COPY docker-entrypoint-initdb.d/* /docker-entrypoint-initdb.d/ # buildkit

2026-09-20 00:29:34 UTC (buildkit.dockerfile.v0)

COPY /out/* /usr/local/bin/ # buildkit

2026-09-20 00:29:35 UTC (buildkit.dockerfile.v0)

COPY /usr/local/lib/postgresql/timescaledb-*.so /usr/local/lib/postgresql/ # buildkit

2026-09-20 00:29:36 UTC (buildkit.dockerfile.v0)

COPY /usr/local/share/postgresql/extension/timescaledb--*.sql /usr/local/share/postgresql/extension/ # buildkit

2026-09-20 00:29:36 UTC (buildkit.dockerfile.v0)

ARG TS_VERSION=2.30.2

2026-09-29 15:24:22 UTC (buildkit.dockerfile.v0)

RUN |7 OSS_ONLY= PG_VERSION=18 PG_MAJOR_VERSION=18 ALPINE_VERSION=3.23 PGVECTOR_VERSION=v0.8.1 CLANG_VERSION=21 TS_VERSION=2.30.2 /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

Danger Zone
Delete Tag

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.

Delete