2026-11-23 13:50:29 UTC
281 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/18/docker
PG_MAJOR18
PG_SHA256441dfae4280cae3e0425e5f876f80559fb0731c140f1aae22b3e5a54d0411bfd
PG_VERSION18.7
[#000] sha256:06411751d8457a2918efa7465118355ef368f933fb66e52d872db258f1e92e7e - 1.25% (3.51 MB)
[#001] sha256:76f2d6eec7828d3bc549fcfc5c5d1e1bc6b6f31039e8dcc55e3bb574d11e6e6d - 0.0% (995 Bytes)
[#002] sha256:0d904392a0c113554e91e1a0acc618ee57de78d144b318af0ac1ff04658d22ce - 0.3% (849 KB)
[#003] sha256:024b375b00e745737e37f58ea507a2af2de9b5c70ddf4964c1f2ba01f1f1cd41 - 0.0% (116 Bytes)
[#004] sha256:9f50a0e693a703a18327043aed12e95d5bee1817e8d42d22a553ce301a5541b6 - 41.6% (117 MB)
[#005] sha256:b5e0792631f804ef2c57a5dfd963f0ca84226900b117fae05dcf37d772cf7be4 - 0.01% (18.6 KB)
[#006] sha256:375f22c09d20132aa85c41d486330bb7095c12f679b474fec6e5c88b02b91878 - 0.0% (5.96 KB)
[#007] sha256:0fc8d765a05037e710edf505cba843f50d1d6958a540609792328033a582e1f1 - 0.0% (185 Bytes)
[#008] sha256:ca8e9632ecfe1f593c50e44425083b727ed9683a813308e83dfa3b55c351a889 - 0.97% (2.71 MB)
[#009] sha256:6f87af4bfaa641922a01cdf5070678f5de016152b9a4fd06c998f3837f00b8ad - 1.86% (5.23 MB)
[#010] sha256:f7bcac265c0dd3c4844af4ff43b05c4173f54a621a8da9bacaa8fc36d176e110 - 0.0% (2.08 KB)
[#011] sha256:46ff179e11488555916f63d8c35b5901ea1c48f00649809872f72e03318315a4 - 3.31% (9.3 MB)
[#012] sha256:b6502cbe9d6c5aeba9c3298c9699216efc673a9d0ebd1fef15e1e5530cb22a3e - 25.37% (71.2 MB)
[#013] sha256:077d0bc9b91129943c8b5a0ea10f30efc2fb814ffbd1cca26a4f2dd065879547 - 22.84% (64.1 MB)
[#014] sha256:cf474c79edb13efe700551e9dd28f8cb0405d81dcc260c11660f03b8f9580dda - 2.5% (7.01 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:28:37 UTC (buildkit.dockerfile.v0)ENV LANG=en_US.utf8
2026-11-18 21:28:37 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c mkdir /docker-entrypoint-initdb.d # buildkit
2026-11-18 21:28:37 UTC (buildkit.dockerfile.v0)ENV PG_MAJOR=18
2026-11-18 21:28:37 UTC (buildkit.dockerfile.v0)ENV PG_VERSION=18.7
2026-11-18 21:28:37 UTC (buildkit.dockerfile.v0)ENV PG_SHA256=441dfae4280cae3e0425e5f876f80559fb0731c140f1aae22b3e5a54d0411bfd
2026-11-18 21:28:37 UTC (buildkit.dockerfile.v0)ENV DOCKER_PG_LLVM_DEPS=llvm21-dev clang21
2026-11-18 21:31:33 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 = "\"/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-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-11-18 21:31:33 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:31:33 UTC (buildkit.dockerfile.v0)ENV PGDATA=/var/lib/postgresql/18/docker
2026-11-18 21:31:33 UTC (buildkit.dockerfile.v0)VOLUME [/var/lib/postgresql]
2026-11-18 21:31:33 UTC (buildkit.dockerfile.v0)COPY docker-entrypoint.sh docker-ensure-initdb.sh /usr/local/bin/ # buildkit
2026-11-18 21:31:33 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:31:33 UTC (buildkit.dockerfile.v0)ENTRYPOINT ["docker-entrypoint.sh"]
2026-11-18 21:31:33 UTC (buildkit.dockerfile.v0)STOPSIGNAL SIGINT
2026-11-18 21:31:33 UTC (buildkit.dockerfile.v0)EXPOSE map[5432/tcp:{}]
2026-11-18 21:31:33 UTC (buildkit.dockerfile.v0)CMD ["postgres"]
2026-11-23 13:19:35 UTC (buildkit.dockerfile.v0)ARG OSS_ONLY= -DAPACHE_ONLY=1
2026-11-23 13:19:35 UTC (buildkit.dockerfile.v0)LABEL maintainer=Timescale https://www.timescale.com
2026-11-23 13:19:35 UTC (buildkit.dockerfile.v0)ARG PG_VERSION=18
2026-11-23 13:19:35 UTC (buildkit.dockerfile.v0)ARG PG_MAJOR_VERSION=18
2026-11-23 13:19:35 UTC (buildkit.dockerfile.v0)ARG ALPINE_VERSION=3.24
2026-11-23 13:19:35 UTC (buildkit.dockerfile.v0)RUN |4 OSS_ONLY= -DAPACHE_ONLY=1 PG_VERSION=18 PG_MAJOR_VERSION=18 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:35 UTC (buildkit.dockerfile.v0)ARG PGVECTOR_VERSION=v0.8.7
2026-11-23 13:19:35 UTC (buildkit.dockerfile.v0)ARG PG_VERSION=18
2026-11-23 13:19:35 UTC (buildkit.dockerfile.v0)ARG CLANG_VERSION=21
2026-11-23 13:19:35 UTC (buildkit.dockerfile.v0)ARG PG_MAJOR_VERSION=18
2026-11-23 13:19:41 UTC (buildkit.dockerfile.v0)RUN |6 OSS_ONLY= -DAPACHE_ONLY=1 PG_VERSION=18 PG_MAJOR_VERSION=18 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:41 UTC (buildkit.dockerfile.v0)COPY docker-entrypoint-initdb.d/* /docker-entrypoint-initdb.d/ # buildkit
2026-11-23 13:19:41 UTC (buildkit.dockerfile.v0)COPY /out/* /usr/local/bin/ # buildkit
2026-11-23 13:50:21 UTC (buildkit.dockerfile.v0)COPY /usr/local/lib/postgresql/timescaledb-*.so /usr/local/lib/postgresql/ # buildkit
2026-11-23 13:50:22 UTC (buildkit.dockerfile.v0)COPY /usr/local/share/postgresql/extension/timescaledb--*.sql /usr/local/share/postgresql/extension/ # buildkit
2026-11-23 13:50:22 UTC (buildkit.dockerfile.v0)ARG TS_VERSION=2.30.3
2026-11-23 13:50:29 UTC (buildkit.dockerfile.v0)RUN |7 OSS_ONLY= -DAPACHE_ONLY=1 PG_VERSION=18 PG_MAJOR_VERSION=18 ALPINE_VERSION=3.24 PGVECTOR_VERSION=v0.8.7 CLANG_VERSION=21 TS_VERSION=2.30.3 /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:50:38 UTC
278 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/18/docker
PG_MAJOR18
PG_SHA256441dfae4280cae3e0425e5f876f80559fb0731c140f1aae22b3e5a54d0411bfd
PG_VERSION18.7
[#000] sha256:881fc932939efef04ca120ad44bbd2c0917851eb247aa4995428afb1e80ede17 - 1.32% (3.68 MB)
[#001] sha256:e69a9c2fdea76d5411bf7d21d7d4260cd03c04a138cd775b6a81c414a9923e17 - 0.0% (993 Bytes)
[#002] sha256:4721f81aac5e08c532b0d4f3e115c074b78130b24487728409f8a8448155ae85 - 0.31% (880 KB)
[#003] sha256:3f4dea45886b97f3a7aecac7578d50e3d7a8ec9977eab39bb9f664ce021c094c - 0.0% (116 Bytes)
[#004] sha256:1645cfdb7f22bb45b94c477d850ed2fb947bda5163ca44bc35fc5c51c9906cc5 - 39.67% (110 MB)
[#005] sha256:f2d7cafd5afdc9f2a6bed9b32c10a3a7a34ca7318fdb71ec14614a12e8dc41db - 0.01% (18.6 KB)
[#006] sha256:bbd27b019c4a006f29109120f5476acf28d270da33025631c87d87904ce60956 - 0.0% (5.96 KB)
[#007] sha256:45e02dc2fee3c9da4bf2b7f6a7ae24013bd2bae96d453cf607972981257c7533 - 0.0% (184 Bytes)
[#008] sha256:e2e343174fa7783d8e466a80e04d9707ef5c62b14ae4cad9788f00c634c37057 - 1.05% (2.91 MB)
[#009] sha256:e1c6833ab6046b318977ad886befacdeb1c3df9496c12c5485d0a1aaecbf57ce - 2.02% (5.62 MB)
[#010] sha256:5624be30d6796a4af8975527eff08933b6198cc4d2f6ca5debb6d42c86d98831 - 0.0% (2.08 KB)
[#011] sha256:24d74428138b46cb0d2ef13611637bf0a6f48b998c24ee6f9e480956d68e31fc - 3.44% (9.54 MB)
[#012] sha256:d437e52e8a2a13b4aecb7959c2d54a0549dc8ab3622bfd13e7a510a1548f895a - 26.51% (73.6 MB)
[#013] sha256:0000b3560c36c5d70a6666a1211f733633c7c7bd14ccc1510be14a31b46ff661 - 23.1% (64.1 MB)
[#014] sha256:231dc84d2dd22bca8e646981fdd549339741da1ffd3357a6579231e0e622a04f - 2.56% (7.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:29:10 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:29:13 UTC (buildkit.dockerfile.v0)ENV GOSU_VERSION=1.20
2026-11-18 21:29:13 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:29:13 UTC (buildkit.dockerfile.v0)ENV LANG=en_US.utf8
2026-11-18 21:29:13 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c mkdir /docker-entrypoint-initdb.d # buildkit
2026-11-18 21:29:13 UTC (buildkit.dockerfile.v0)ENV PG_MAJOR=18
2026-11-18 21:29:13 UTC (buildkit.dockerfile.v0)ENV PG_VERSION=18.7
2026-11-18 21:29:13 UTC (buildkit.dockerfile.v0)ENV PG_SHA256=441dfae4280cae3e0425e5f876f80559fb0731c140f1aae22b3e5a54d0411bfd
2026-11-18 21:29:13 UTC (buildkit.dockerfile.v0)ENV DOCKER_PG_LLVM_DEPS=llvm21-dev clang21
2026-11-18 21:31:25 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 = "\"/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-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-11-18 21:31:25 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:31:25 UTC (buildkit.dockerfile.v0)ENV PGDATA=/var/lib/postgresql/18/docker
2026-11-18 21:31:25 UTC (buildkit.dockerfile.v0)VOLUME [/var/lib/postgresql]
2026-11-18 21:31:26 UTC (buildkit.dockerfile.v0)COPY docker-entrypoint.sh docker-ensure-initdb.sh /usr/local/bin/ # buildkit
2026-11-18 21:31:26 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:31:26 UTC (buildkit.dockerfile.v0)ENTRYPOINT ["docker-entrypoint.sh"]
2026-11-18 21:31:26 UTC (buildkit.dockerfile.v0)STOPSIGNAL SIGINT
2026-11-18 21:31:26 UTC (buildkit.dockerfile.v0)EXPOSE map[5432/tcp:{}]
2026-11-18 21:31:26 UTC (buildkit.dockerfile.v0)CMD ["postgres"]
2026-11-23 13:19:35 UTC (buildkit.dockerfile.v0)ARG OSS_ONLY= -DAPACHE_ONLY=1
2026-11-23 13:19:35 UTC (buildkit.dockerfile.v0)LABEL maintainer=Timescale https://www.timescale.com
2026-11-23 13:19:35 UTC (buildkit.dockerfile.v0)ARG PG_VERSION=18
2026-11-23 13:19:35 UTC (buildkit.dockerfile.v0)ARG PG_MAJOR_VERSION=18
2026-11-23 13:19:35 UTC (buildkit.dockerfile.v0)ARG ALPINE_VERSION=3.24
2026-11-23 13:19:35 UTC (buildkit.dockerfile.v0)RUN |4 OSS_ONLY= -DAPACHE_ONLY=1 PG_VERSION=18 PG_MAJOR_VERSION=18 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:35 UTC (buildkit.dockerfile.v0)ARG PGVECTOR_VERSION=v0.8.7
2026-11-23 13:19:35 UTC (buildkit.dockerfile.v0)ARG PG_VERSION=18
2026-11-23 13:19:35 UTC (buildkit.dockerfile.v0)ARG CLANG_VERSION=21
2026-11-23 13:19:35 UTC (buildkit.dockerfile.v0)ARG PG_MAJOR_VERSION=18
2026-11-23 13:19:41 UTC (buildkit.dockerfile.v0)RUN |6 OSS_ONLY= -DAPACHE_ONLY=1 PG_VERSION=18 PG_MAJOR_VERSION=18 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:41 UTC (buildkit.dockerfile.v0)COPY docker-entrypoint-initdb.d/* /docker-entrypoint-initdb.d/ # buildkit
2026-11-23 13:19:41 UTC (buildkit.dockerfile.v0)COPY /out/* /usr/local/bin/ # buildkit
2026-11-23 13:50:31 UTC (buildkit.dockerfile.v0)COPY /usr/local/lib/postgresql/timescaledb-*.so /usr/local/lib/postgresql/ # buildkit
2026-11-23 13:50:32 UTC (buildkit.dockerfile.v0)COPY /usr/local/share/postgresql/extension/timescaledb--*.sql /usr/local/share/postgresql/extension/ # buildkit
2026-11-23 13:50:32 UTC (buildkit.dockerfile.v0)ARG TS_VERSION=2.30.3
2026-11-23 13:50:38 UTC (buildkit.dockerfile.v0)RUN |7 OSS_ONLY= -DAPACHE_ONLY=1 PG_VERSION=18 PG_MAJOR_VERSION=18 ALPINE_VERSION=3.24 PGVECTOR_VERSION=v0.8.7 CLANG_VERSION=21 TS_VERSION=2.30.3 /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:51:24 UTC
271 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/18/docker
PG_MAJOR18
PG_SHA256441dfae4280cae3e0425e5f876f80559fb0731c140f1aae22b3e5a54d0411bfd
PG_VERSION18.7
[#000] sha256:bbbd9a2247710d6d877faf0dc146019901aef9271f5acb2dfc6fd59a9f3d0916 - 1.25% (3.39 MB)
[#001] sha256:40f5e33779b293abdb600f7efcfc6815a52a7e1e46ce7785f5529ab81ebbe274 - 0.0% (996 Bytes)
[#002] sha256:f64c26587f68573f85cebfe4142d7cc6d6cacf0eb1fe14940b483fae56a1110d - 0.3% (845 KB)
[#003] sha256:2c7d4486e9bcbb632a9aebe5d0b860cc2f85dafead703b5d3811ab6a5eae43a5 - 0.0% (116 Bytes)
[#004] sha256:08576dc79695814e40914181b8d79331e4b94908f998e8c6f99e50345d04a661 - 39.38% (107 MB)
[#005] sha256:37f5fb9939dd0d593551be036702ecc2f714c4e656e703ba16795ac0ff303cf2 - 0.01% (18.6 KB)
[#006] sha256:62a5343b37a1c27276010c74c4315fd5cb315b0a4b900210d08aa26379e3594e - 0.0% (5.96 KB)
[#007] sha256:15c53462ab7de2864c9bc60e146bfca985bbd3d6dec3a8ef7c278de27a1163b8 - 0.0% (182 Bytes)
[#008] sha256:e4cf1b9d89d4edc885c222436541b628916cdd15638bcb451cb2894db9a0b400 - 0.93% (2.53 MB)
[#009] sha256:33e6add7dd85bad6f146649242b495f4b0dc1e8ebc430f8c2e82a3cce20d4c2e - 1.79% (4.86 MB)
[#010] sha256:b89e647b2afe7ca122bb76246dbd79a5779d9cddc9eaf6dc79258e2d9ca38590 - 0.0% (2.08 KB)
[#011] sha256:55567195207623847e0995c0904f6e3c9da5f8708f240cc31716aea4b65a326f - 3.33% (9.01 MB)
[#012] sha256:8e5974ea1d3a530e5a1a209c46dffed9f4024d91e80b205e4bfbe5d7d545139c - 26.74% (72.5 MB)
[#013] sha256:61ebcd54fe28f500fe5b87374634752b3a820fa0420c5b5c3a0807d1336fb92b - 23.65% (64.1 MB)
[#014] sha256:7f39f60aaf289b00bc4312297dc728f66a5067051e275cb65ec9c32fa94d53a8 - 2.61% (7.06 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:28:31 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:34 UTC (buildkit.dockerfile.v0)ENV GOSU_VERSION=1.20
2026-11-18 21:28:34 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:28:34 UTC (buildkit.dockerfile.v0)ENV LANG=en_US.utf8
2026-11-18 21:28:34 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c mkdir /docker-entrypoint-initdb.d # buildkit
2026-11-18 21:28:34 UTC (buildkit.dockerfile.v0)ENV PG_MAJOR=18
2026-11-18 21:28:34 UTC (buildkit.dockerfile.v0)ENV PG_VERSION=18.7
2026-11-18 21:28:34 UTC (buildkit.dockerfile.v0)ENV PG_SHA256=441dfae4280cae3e0425e5f876f80559fb0731c140f1aae22b3e5a54d0411bfd
2026-11-18 21:28:34 UTC (buildkit.dockerfile.v0)ENV DOCKER_PG_LLVM_DEPS=llvm21-dev clang21
2026-11-18 21:31:25 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 = "\"/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-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-11-18 21:31:25 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:31:25 UTC (buildkit.dockerfile.v0)ENV PGDATA=/var/lib/postgresql/18/docker
2026-11-18 21:31:25 UTC (buildkit.dockerfile.v0)VOLUME [/var/lib/postgresql]
2026-11-18 21:31:25 UTC (buildkit.dockerfile.v0)COPY docker-entrypoint.sh docker-ensure-initdb.sh /usr/local/bin/ # buildkit
2026-11-18 21:31:25 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:31:25 UTC (buildkit.dockerfile.v0)ENTRYPOINT ["docker-entrypoint.sh"]
2026-11-18 21:31:25 UTC (buildkit.dockerfile.v0)STOPSIGNAL SIGINT
2026-11-18 21:31:25 UTC (buildkit.dockerfile.v0)EXPOSE map[5432/tcp:{}]
2026-11-18 21:31:25 UTC (buildkit.dockerfile.v0)CMD ["postgres"]
2026-11-23 13:19:51 UTC (buildkit.dockerfile.v0)ARG OSS_ONLY= -DAPACHE_ONLY=1
2026-11-23 13:19:51 UTC (buildkit.dockerfile.v0)LABEL maintainer=Timescale https://www.timescale.com
2026-11-23 13:19:51 UTC (buildkit.dockerfile.v0)ARG PG_VERSION=18
2026-11-23 13:19:51 UTC (buildkit.dockerfile.v0)ARG PG_MAJOR_VERSION=18
2026-11-23 13:19:51 UTC (buildkit.dockerfile.v0)ARG ALPINE_VERSION=3.24
2026-11-23 13:19:51 UTC (buildkit.dockerfile.v0)RUN |4 OSS_ONLY= -DAPACHE_ONLY=1 PG_VERSION=18 PG_MAJOR_VERSION=18 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:51 UTC (buildkit.dockerfile.v0)ARG PGVECTOR_VERSION=v0.8.7
2026-11-23 13:19:51 UTC (buildkit.dockerfile.v0)ARG PG_VERSION=18
2026-11-23 13:19:51 UTC (buildkit.dockerfile.v0)ARG CLANG_VERSION=21
2026-11-23 13:19:51 UTC (buildkit.dockerfile.v0)ARG PG_MAJOR_VERSION=18
2026-11-23 13:20:24 UTC (buildkit.dockerfile.v0)RUN |6 OSS_ONLY= -DAPACHE_ONLY=1 PG_VERSION=18 PG_MAJOR_VERSION=18 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:24 UTC (buildkit.dockerfile.v0)COPY docker-entrypoint-initdb.d/* /docker-entrypoint-initdb.d/ # buildkit
2026-11-23 13:20:24 UTC (buildkit.dockerfile.v0)COPY /out/* /usr/local/bin/ # buildkit
2026-11-23 13:50:23 UTC (buildkit.dockerfile.v0)COPY /usr/local/lib/postgresql/timescaledb-*.so /usr/local/lib/postgresql/ # buildkit
2026-11-23 13:50:24 UTC (buildkit.dockerfile.v0)COPY /usr/local/share/postgresql/extension/timescaledb--*.sql /usr/local/share/postgresql/extension/ # buildkit
2026-11-23 13:50:24 UTC (buildkit.dockerfile.v0)ARG TS_VERSION=2.30.3
2026-11-23 13:51:24 UTC (buildkit.dockerfile.v0)RUN |7 OSS_ONLY= -DAPACHE_ONLY=1 PG_VERSION=18 PG_MAJOR_VERSION=18 ALPINE_VERSION=3.24 PGVECTOR_VERSION=v0.8.7 CLANG_VERSION=21 TS_VERSION=2.30.3 /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:51:23 UTC
265 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/18/docker
PG_MAJOR18
PG_SHA256441dfae4280cae3e0425e5f876f80559fb0731c140f1aae22b3e5a54d0411bfd
PG_VERSION18.7
[#000] sha256:65a28aac190acedef9641ef1fe0a534d87761f771c07944b54d40fcab2536913 - 1.18% (3.12 MB)
[#001] sha256:cc61fdf6664a469b9046638dbd9bcbc696f65c58286588a00ccb2c7998ebd763 - 0.0% (996 Bytes)
[#002] sha256:aad3b7fff26d8024f3a43f09fee58d0761ecb0a0801f99cbf870da985fa0b1ee - 0.31% (845 KB)
[#003] sha256:12cf1f3950713ef7be59aa30583a45fd2c366c2d57bb18f8984ec28d593e195e - 0.0% (116 Bytes)
[#004] sha256:b110aed1408a83174d3c70d648569fd189098ea89cd8a24067612c2ada798542 - 38.11% (101 MB)
[#005] sha256:10e4faf2f0ebde03d4bc16f7d17718e71ab6722a2581061366cda146ba01e72d - 0.01% (18.6 KB)
[#006] sha256:3b7da7ecf3047d5ec6f77f55b992376c3281248ca0d1ecc393035e0c61937427 - 0.0% (5.96 KB)
[#007] sha256:acb17f919b8081fe732b9ce5b47cd5450459b82a0765d4cb5344a99ceafe2d3f - 0.0% (186 Bytes)
[#008] sha256:1bbcfe107eda3ff52c77a32754a4b984e37d53054cbaa7d73c6bf4c196052918 - 1.03% (2.72 MB)
[#009] sha256:5d447bf6a30963aeb98af84556068aac6e6c6f0062129a81be0401f8f8f31593 - 1.85% (4.89 MB)
[#010] sha256:a4a021d9a60bc945d8df92ea483834657db7d19888c6b770d69fa8b4303c3ea3 - 0.0% (2.08 KB)
[#011] sha256:b6e5c4f3be49a29794e458b43ee3bf1c2ba30312f4e7a66c6ca278aea3f90411 - 3.4% (9 MB)
[#012] sha256:74dda6ff8e0ca12f7cfa3427710873c65babbbc7489ea24baf1515775b0c9718 - 27.23% (72.1 MB)
[#013] sha256:4e275b70518635ae4a9e18d1e27db3466aaf39bc662025ebbfd8314ce38df401 - 24.22% (64.1 MB)
[#014] sha256:fd3be30565e43bed83718fea24f336c4a47d563aebfee3c0e00e74b97355e06e - 2.66% (7.04 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:05 UTC (buildkit.dockerfile.v0)ENV GOSU_VERSION=1.20
2026-11-18 21:46:05 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:05 UTC (buildkit.dockerfile.v0)ENV LANG=en_US.utf8
2026-11-18 21:46:05 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c mkdir /docker-entrypoint-initdb.d # buildkit
2026-11-18 21:46:05 UTC (buildkit.dockerfile.v0)ENV PG_MAJOR=18
2026-11-18 21:46:05 UTC (buildkit.dockerfile.v0)ENV PG_VERSION=18.7
2026-11-18 21:46:05 UTC (buildkit.dockerfile.v0)ENV PG_SHA256=441dfae4280cae3e0425e5f876f80559fb0731c140f1aae22b3e5a54d0411bfd
2026-11-18 21:46:05 UTC (buildkit.dockerfile.v0)ENV DOCKER_PG_LLVM_DEPS=llvm21-dev clang21
2026-11-18 21:48:51 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 = "\"/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-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-11-18 21:48:51 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:51 UTC (buildkit.dockerfile.v0)ENV PGDATA=/var/lib/postgresql/18/docker
2026-11-18 21:48:51 UTC (buildkit.dockerfile.v0)VOLUME [/var/lib/postgresql]
2026-11-18 21:48:51 UTC (buildkit.dockerfile.v0)COPY docker-entrypoint.sh docker-ensure-initdb.sh /usr/local/bin/ # buildkit
2026-11-18 21:48:51 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:51 UTC (buildkit.dockerfile.v0)ENTRYPOINT ["docker-entrypoint.sh"]
2026-11-18 21:48:51 UTC (buildkit.dockerfile.v0)STOPSIGNAL SIGINT
2026-11-18 21:48:51 UTC (buildkit.dockerfile.v0)EXPOSE map[5432/tcp:{}]
2026-11-18 21:48:51 UTC (buildkit.dockerfile.v0)CMD ["postgres"]
2026-11-23 13:19:34 UTC (buildkit.dockerfile.v0)ARG OSS_ONLY= -DAPACHE_ONLY=1
2026-11-23 13:19:34 UTC (buildkit.dockerfile.v0)LABEL maintainer=Timescale https://www.timescale.com
2026-11-23 13:19:34 UTC (buildkit.dockerfile.v0)ARG PG_VERSION=18
2026-11-23 13:19:34 UTC (buildkit.dockerfile.v0)ARG PG_MAJOR_VERSION=18
2026-11-23 13:19:34 UTC (buildkit.dockerfile.v0)ARG ALPINE_VERSION=3.24
2026-11-23 13:19:34 UTC (buildkit.dockerfile.v0)RUN |4 OSS_ONLY= -DAPACHE_ONLY=1 PG_VERSION=18 PG_MAJOR_VERSION=18 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:34 UTC (buildkit.dockerfile.v0)ARG PGVECTOR_VERSION=v0.8.7
2026-11-23 13:19:34 UTC (buildkit.dockerfile.v0)ARG PG_VERSION=18
2026-11-23 13:19:34 UTC (buildkit.dockerfile.v0)ARG CLANG_VERSION=21
2026-11-23 13:19:34 UTC (buildkit.dockerfile.v0)ARG PG_MAJOR_VERSION=18
2026-11-23 13:20:05 UTC (buildkit.dockerfile.v0)RUN |6 OSS_ONLY= -DAPACHE_ONLY=1 PG_VERSION=18 PG_MAJOR_VERSION=18 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:05 UTC (buildkit.dockerfile.v0)COPY docker-entrypoint-initdb.d/* /docker-entrypoint-initdb.d/ # buildkit
2026-11-23 13:20:05 UTC (buildkit.dockerfile.v0)COPY /out/* /usr/local/bin/ # buildkit
2026-11-23 13:50:23 UTC (buildkit.dockerfile.v0)COPY /usr/local/lib/postgresql/timescaledb-*.so /usr/local/lib/postgresql/ # buildkit
2026-11-23 13:50:24 UTC (buildkit.dockerfile.v0)COPY /usr/local/share/postgresql/extension/timescaledb--*.sql /usr/local/share/postgresql/extension/ # buildkit
2026-11-23 13:50:24 UTC (buildkit.dockerfile.v0)ARG TS_VERSION=2.30.3
2026-11-23 13:51:23 UTC (buildkit.dockerfile.v0)RUN |7 OSS_ONLY= -DAPACHE_ONLY=1 PG_VERSION=18 PG_MAJOR_VERSION=18 ALPINE_VERSION=3.24 PGVECTOR_VERSION=v0.8.7 CLANG_VERSION=21 TS_VERSION=2.30.3 /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 14:04:30 UTC
274 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/18/docker
PG_MAJOR18
PG_SHA256441dfae4280cae3e0425e5f876f80559fb0731c140f1aae22b3e5a54d0411bfd
PG_VERSION18.7
[#000] sha256:b90627b8f4292fd3cb63f0f27f0b11c37f04ba88ef3b78d4948ea0ace18c85e9 - 1.46% (4 MB)
[#001] sha256:1b0b1d055e126be167dab33b2b79c44b53bf2016eae9fa22a9877880c28e3ebe - 0.0% (995 Bytes)
[#002] sha256:01acffd4f219818c8d3a854ca59656d92524b25c595975787a989f7f266f2541 - 0.3% (833 KB)
[#003] sha256:58a0cec7cd301f93d70b1a4549ab1cbf827ae77ca158fdfce2beb462e9a32710 - 0.0% (116 Bytes)
[#004] sha256:fb122fe74ba3ac4cd56ff2740c69b0b486b8827023ccb53070355a2e4ba9b71f - 39.36% (108 MB)
[#005] sha256:7d278de35e046ee4e19be363dee7ff37e2e1685157eef12db4be6450b4995234 - 0.01% (18.6 KB)
[#006] sha256:f8f41da56e429ed0ac436f041d955813dcb0bca020573f8388639684fe650107 - 0.0% (5.96 KB)
[#007] sha256:a4fe6e50b85227d7f9cdcc00897ccdfbe8d1ab164b9b67c722181333a5fdf154 - 0.0% (183 Bytes)
[#008] sha256:9b34cd7de95a7f78ee975580146faf0ed9ae3d6acaf303d0598831b7269c2432 - 1.06% (2.9 MB)
[#009] sha256:a88b7239a27056fe2f2d766822ac1c9fd643d6bc837a02102ed2146b1f986d15 - 2.14% (5.87 MB)
[#010] sha256:47dc04547e19b6c53f744c31c815db88963378bd7717da4469caf5d4a2b622e4 - 0.0% (2.08 KB)
[#011] sha256:008e33b8181114237aec3efe435333fb1fe14d5b09b4ccbe704cfc56565f2409 - 3.21% (8.78 MB)
[#012] sha256:8ab4e452097948a9f8b5d9074f6409a70b6dfecb4c89387b33921a47bf767f2b - 26.46% (72.4 MB)
[#013] sha256:994355ac3fc8d050ab642e49d1c492d2b78eb993a132dea0f056986da23e5dbe - 23.42% (64.1 MB)
[#014] sha256:5ec789b71ea892e45d3504283bdbe31efa09057c930adf3470ec4d5cd2fabc6b - 2.58% (7.06 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:29:21 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c set -eux; addgroup -g 70 -S postgres; adduser -u 70 -S -D -G postgres -H -h /var/lib/postgresql -s /bin/sh postgres; install --verbose --directory --owner postgres --group postgres --mode 1777 /var/lib/postgresql; install --verbose --directory --owner postgres --group postgres --mode 3777 /run/postgresql # buildkit
2026-11-18 21:29:24 UTC (buildkit.dockerfile.v0)ENV GOSU_VERSION=1.20
2026-11-18 21:29:24 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:29:24 UTC (buildkit.dockerfile.v0)ENV LANG=en_US.utf8
2026-11-18 21:29:24 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c mkdir /docker-entrypoint-initdb.d # buildkit
2026-11-18 21:29:24 UTC (buildkit.dockerfile.v0)ENV PG_MAJOR=18
2026-11-18 21:29:24 UTC (buildkit.dockerfile.v0)ENV PG_VERSION=18.7
2026-11-18 21:29:24 UTC (buildkit.dockerfile.v0)ENV PG_SHA256=441dfae4280cae3e0425e5f876f80559fb0731c140f1aae22b3e5a54d0411bfd
2026-11-18 21:29:24 UTC (buildkit.dockerfile.v0)ENV DOCKER_PG_LLVM_DEPS=llvm21-dev clang21
2026-11-18 21:31:49 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 = "\"/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-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-11-18 21:31:49 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:31:49 UTC (buildkit.dockerfile.v0)ENV PGDATA=/var/lib/postgresql/18/docker
2026-11-18 21:31:49 UTC (buildkit.dockerfile.v0)VOLUME [/var/lib/postgresql]
2026-11-18 21:31:49 UTC (buildkit.dockerfile.v0)COPY docker-entrypoint.sh docker-ensure-initdb.sh /usr/local/bin/ # buildkit
2026-11-18 21:31:49 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:31:49 UTC (buildkit.dockerfile.v0)ENTRYPOINT ["docker-entrypoint.sh"]
2026-11-18 21:31:49 UTC (buildkit.dockerfile.v0)STOPSIGNAL SIGINT
2026-11-18 21:31:49 UTC (buildkit.dockerfile.v0)EXPOSE map[5432/tcp:{}]
2026-11-18 21:31:49 UTC (buildkit.dockerfile.v0)CMD ["postgres"]
2026-11-23 13:19:38 UTC (buildkit.dockerfile.v0)ARG OSS_ONLY= -DAPACHE_ONLY=1
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=18
2026-11-23 13:19:38 UTC (buildkit.dockerfile.v0)ARG PG_MAJOR_VERSION=18
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= -DAPACHE_ONLY=1 PG_VERSION=18 PG_MAJOR_VERSION=18 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=18
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=18
2026-11-23 13:19:44 UTC (buildkit.dockerfile.v0)RUN |6 OSS_ONLY= -DAPACHE_ONLY=1 PG_VERSION=18 PG_MAJOR_VERSION=18 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:44 UTC (buildkit.dockerfile.v0)COPY docker-entrypoint-initdb.d/* /docker-entrypoint-initdb.d/ # buildkit
2026-11-23 13:19:44 UTC (buildkit.dockerfile.v0)COPY /out/* /usr/local/bin/ # buildkit
2026-11-23 14:04:23 UTC (buildkit.dockerfile.v0)COPY /usr/local/lib/postgresql/timescaledb-*.so /usr/local/lib/postgresql/ # buildkit
2026-11-23 14:04:24 UTC (buildkit.dockerfile.v0)COPY /usr/local/share/postgresql/extension/timescaledb--*.sql /usr/local/share/postgresql/extension/ # buildkit
2026-11-23 14:04:24 UTC (buildkit.dockerfile.v0)ARG TS_VERSION=2.30.3
2026-11-23 14:04:30 UTC (buildkit.dockerfile.v0)RUN |7 OSS_ONLY= -DAPACHE_ONLY=1 PG_VERSION=18 PG_MAJOR_VERSION=18 ALPINE_VERSION=3.24 PGVECTOR_VERSION=v0.8.7 CLANG_VERSION=21 TS_VERSION=2.30.3 /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.