2026-01-29 09:11:07 UTC
225 MB
llvm19-dev clang19
GOSU_VERSION1.19
LANGen_US.utf8
PATH/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
PGDATA/var/lib/postgresql/data
PG_MAJOR17
PG_SHA256ef9e343302eccd33112f1b2f0247be493cb5768313adeb558b02de8797a2e9b5
PG_VERSION17.7
[#000] sha256:bbedd1c05bb5090fc3fc2356be88d60b2a60937565b56e91fb4be42c5c73d485 - 1.47% (3.3 MB)
[#001] sha256:d91764b6f4c92b18f0f505f23ebf66d9b414faec2159cdb646041e7349d446a8 - 0.0% (974 Bytes)
[#002] sha256:cfaa0446167490f26362e0c85c9d7d472d8eb91a371285c63e54e418032416cc - 0.38% (870 KB)
[#003] sha256:9f589ce095b22533a79e45b66936305df0cc412718f02058ae4f3c2a1f27b4c7 - 0.0% (116 Bytes)
[#004] sha256:dcd2167d9a9127e55abf94b85193e73aa2056cf7758ead44427f7885215d7158 - 47.66% (107 MB)
[#005] sha256:647cccdf4d33d9fa33d1462e0430a8ccce7b13d287c06e5a18efff2ed06937c7 - 0.0% (9.65 KB)
[#006] sha256:52943f96bff117458ab16c84361fb250e63dafe5ca6ce547fa12d066e66d54e3 - 0.0% (127 Bytes)
[#007] sha256:42da4ed47c3a904fd65dbdf0fd3f343d9f98e73044f35146773d9ee1d7bda875 - 0.0% (171 Bytes)
[#008] sha256:3dbcc24479354db465a243ecb3b6d3725b899104c79fc89e7f5ae0bd4f048d43 - 0.0% (5.7 KB)
[#009] sha256:866493162013e7bda80a17f614b70192ac8e602bd710796f727f5527cc9b5efb - 0.0% (182 Bytes)
[#010] sha256:9ea820f7cd63fc0fd967588ac9998c12f3feac14cd0d25ce19355e7277828186 - 0.98% (2.22 MB)
[#011] sha256:5b8c7d0b505eda060280f156a93b119dd5ed74e47c696648ab65b6f41a148f2c - 3.2% (7.19 MB)
[#012] sha256:d478f78d57cc7996659ee9ac08a9ea3f5a1118b761aa718a8d9197da9b900198 - 0.0% (2.08 KB)
[#013] sha256:ab310689225844b0fd8f1622d8d35d0f0dec091c82f4715637a20d718baaec3e - 3.37% (7.58 MB)
[#014] sha256:87823863c9000169558944195d865fdf76c99b6b8e86dc36557f3a5b4b00d56b - 23.24% (52.3 MB)
[#015] sha256:ef87f80d26596ebf5388433549725301433f9328672077be3143d445b50190ab - 17.37% (39.1 MB)
[#016] sha256:677ba27733ec5ac04ea9f7bd6815f7af3f25a9a7b81d4f3b6bc2ba84c801c809 - 2.33% (5.25 MB)
ADD alpine-minirootfs-3.21.5-x86.tar.gz / # buildkit
2025-10-08 11:06:42 UTC (buildkit.dockerfile.v0)CMD ["/bin/sh"]
2025-11-14 19:19: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
2025-11-14 19:19:25 UTC (buildkit.dockerfile.v0)ENV GOSU_VERSION=1.19
2025-11-14 19:19: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
2025-11-14 19:19:25 UTC (buildkit.dockerfile.v0)ENV LANG=en_US.utf8
2025-11-14 19:19:25 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c mkdir /docker-entrypoint-initdb.d # buildkit
2025-11-14 19:19:25 UTC (buildkit.dockerfile.v0)ENV PG_MAJOR=17
2025-11-14 19:19:25 UTC (buildkit.dockerfile.v0)ENV PG_VERSION=17.7
2025-11-14 19:19:25 UTC (buildkit.dockerfile.v0)ENV PG_SHA256=ef9e343302eccd33112f1b2f0247be493cb5768313adeb558b02de8797a2e9b5
2025-11-14 19:19:25 UTC (buildkit.dockerfile.v0)ENV DOCKER_PG_LLVM_DEPS=llvm19-dev clang19
2025-11-14 19:22:06 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c set -eux; wget -O postgresql.tar.bz2 "https://ftp.postgresql.org/pub/source/v$PG_VERSION/postgresql-$PG_VERSION.tar.bz2"; echo "$PG_SHA256 *postgresql.tar.bz2" | sha256sum -c -; mkdir -p /usr/src/postgresql; tar --extract --file postgresql.tar.bz2 --directory /usr/src/postgresql --strip-components 1 ; rm postgresql.tar.bz2; apk add --no-cache --virtual .build-deps $DOCKER_PG_LLVM_DEPS bison coreutils dpkg-dev dpkg flex g++ gcc krb5-dev libc-dev libedit-dev libxml2-dev libxslt-dev linux-headers make openldap-dev openssl-dev perl-dev perl-ipc-run perl-utils python3-dev tcl-dev util-linux-dev zlib-dev icu-dev lz4-dev zstd-dev ; cd /usr/src/postgresql; awk '$1 == "#define" && $2 == "DEFAULT_PGSOCKET_DIR" && $3 == "\"/tmp\"" { $3 = "\"/var/run/postgresql\""; print; next } { print }' src/include/pg_config_manual.h > src/include/pg_config_manual.h.new; grep '/var/run/postgresql' src/include/pg_config_manual.h.new; mv src/include/pg_config_manual.h.new src/include/pg_config_manual.h; gnuArch="$(dpkg-architecture --query DEB_BUILD_GNU_TYPE)"; export LLVM_CONFIG="/usr/lib/llvm19/bin/llvm-config"; export CLANG=clang-19; ./configure --enable-option-checking=fatal --build="$gnuArch" --enable-integer-datetimes --enable-tap-tests --disable-rpath --with-uuid=e2fs --with-pgport=5432 --with-system-tzdata=/usr/share/zoneinfo --prefix=/usr/local --with-includes=/usr/local/include --with-libraries=/usr/local/lib --with-gssapi --with-icu --with-ldap --with-libxml --with-libxslt --with-llvm --with-lz4 --with-openssl --with-perl --with-python --with-tcl --with-zstd ; make -j "$(nproc)" world-bin; make install-world-bin; make -C contrib install; runDeps="$( scanelf --needed --nobanner --format '%n#p' --recursive /usr/local | tr ',' '\n' | sort -u | awk 'system("[ -e /usr/local/lib/" $1 " ]") == 0 { next } { print "so:" $1 }' | grep -v -e perl -e python -e tcl )"; apk add --no-cache --virtual .postgresql-rundeps $runDeps bash tzdata zstd icu-data-full $([ "$(apk --print-arch)" != 'ppc64le' ] && echo 'nss_wrapper') ; apk del --no-network .build-deps; cd /; rm -rf /usr/src/postgresql /usr/local/share/doc /usr/local/share/man ; postgres --version # buildkit
2025-11-14 19:22:06 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
2025-11-14 19:22:06 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c install --verbose --directory --owner postgres --group postgres --mode 3777 /var/run/postgresql # buildkit
2025-11-14 19:22:06 UTC (buildkit.dockerfile.v0)ENV PGDATA=/var/lib/postgresql/data
2025-11-14 19:22:06 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c install --verbose --directory --owner postgres --group postgres --mode 1777 "$PGDATA" # buildkit
2025-11-14 19:22:06 UTC (buildkit.dockerfile.v0)VOLUME [/var/lib/postgresql/data]
2025-11-14 19:22:06 UTC (buildkit.dockerfile.v0)COPY docker-entrypoint.sh docker-ensure-initdb.sh /usr/local/bin/ # buildkit
2025-11-14 19:22:06 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c ln -sT docker-ensure-initdb.sh /usr/local/bin/docker-enforce-initdb.sh # buildkit
2025-11-14 19:22:06 UTC (buildkit.dockerfile.v0)ENTRYPOINT ["docker-entrypoint.sh"]
2025-11-14 19:22:06 UTC (buildkit.dockerfile.v0)STOPSIGNAL SIGINT
2025-11-14 19:22:06 UTC (buildkit.dockerfile.v0)EXPOSE map[5432/tcp:{}]
2025-11-14 19:22:06 UTC (buildkit.dockerfile.v0)CMD ["postgres"]
2026-01-29 09:06:10 UTC (buildkit.dockerfile.v0)ARG OSS_ONLY= -DAPACHE_ONLY=1
2026-01-29 09:06:10 UTC (buildkit.dockerfile.v0)LABEL maintainer=Timescale https://www.timescale.com
2026-01-29 09:06:10 UTC (buildkit.dockerfile.v0)ARG PG_VERSION=17
2026-01-29 09:06:10 UTC (buildkit.dockerfile.v0)ARG PG_MAJOR_VERSION=17
2026-01-29 09:06:10 UTC (buildkit.dockerfile.v0)ARG ALPINE_VERSION=3.21
2026-01-29 09:06:10 UTC (buildkit.dockerfile.v0)RUN |4 OSS_ONLY= -DAPACHE_ONLY=1 PG_VERSION=17 PG_MAJOR_VERSION=17 ALPINE_VERSION=3.21 /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-01-29 09:06:10 UTC (buildkit.dockerfile.v0)ARG PGVECTOR_VERSION=v0.8.1
2026-01-29 09:06:10 UTC (buildkit.dockerfile.v0)ARG PG_VERSION=17
2026-01-29 09:06:10 UTC (buildkit.dockerfile.v0)ARG CLANG_VERSION=19
2026-01-29 09:06:10 UTC (buildkit.dockerfile.v0)ARG PG_MAJOR_VERSION=17
2026-01-29 09:07:32 UTC (buildkit.dockerfile.v0)RUN |6 OSS_ONLY= -DAPACHE_ONLY=1 PG_VERSION=17 PG_MAJOR_VERSION=17 ALPINE_VERSION=3.21 PGVECTOR_VERSION=v0.8.1 CLANG_VERSION=19 /bin/sh -c set -ex; apk update; apk add --no-cache --virtual .vector-deps postgresql${PG_VERSION}-dev git build-base clang${CLANG_VERSION} llvm${CLANG_VERSION}-dev llvm${CLANG_VERSION}; git clone --branch ${PGVECTOR_VERSION} https://github.com/pgvector/pgvector.git /build/pgvector; cd /build/pgvector; make OPTFLAGS=""; make install; apk del .vector-deps # buildkit
2026-01-29 09:07:32 UTC (buildkit.dockerfile.v0)COPY docker-entrypoint-initdb.d/* /docker-entrypoint-initdb.d/ # buildkit
2026-01-29 09:08:12 UTC (buildkit.dockerfile.v0)COPY /go/bin/* /usr/local/bin/ # buildkit
2026-01-29 09:08:12 UTC (buildkit.dockerfile.v0)COPY /usr/local/lib/postgresql/timescaledb-*.so /usr/local/lib/postgresql/ # buildkit
2026-01-29 09:08:13 UTC (buildkit.dockerfile.v0)COPY /usr/local/share/postgresql/extension/timescaledb--*.sql /usr/local/share/postgresql/extension/ # buildkit
2026-01-29 09:08:13 UTC (buildkit.dockerfile.v0)ARG TS_VERSION=2.25.0
2026-01-29 09:11:07 UTC (buildkit.dockerfile.v0)RUN |7 OSS_ONLY= -DAPACHE_ONLY=1 PG_VERSION=17 PG_MAJOR_VERSION=17 ALPINE_VERSION=3.21 PGVECTOR_VERSION=v0.8.1 CLANG_VERSION=19 TS_VERSION=2.25.0 /bin/sh -c set -ex && apk add --no-cache --virtual .fetch-deps ca-certificates git openssl openssl-dev tar && mkdir -p /build/ && git clone https://github.com/timescale/timescaledb /build/timescaledb && apk add --no-cache --virtual .build-deps coreutils dpkg-dev dpkg gcc krb5-dev libc-dev make cmake util-linux-dev && cd /build/timescaledb && rm -fr build && git checkout ${TS_VERSION} && ./bootstrap -DCMAKE_BUILD_TYPE=RelWithDebInfo -DREGRESS_CHECKS=OFF -DTAP_CHECKS=OFF -DGENERATE_DOWNGRADE_SCRIPT=ON -DWARNINGS_AS_ERRORS=OFF -DPROJECT_INSTALL_METHOD="docker"${OSS_ONLY} && cd build && make install && cd ~ && if [ "${OSS_ONLY}" != "" ]; then rm -f $(pg_config --pkglibdir)/timescaledb-tsl-*.so; fi && apk del .fetch-deps .build-deps && rm -rf /build && sed -r -i "s/[#]*\s*(shared_preload_libraries)\s*=\s*'(.*)'/\1 = 'timescaledb,\2'/;s/,'/'/" /usr/local/share/postgresql/postgresql.conf.sample # buildkit
2026-01-29 09:10:36 UTC
222 MB
llvm19-dev clang19
GOSU_VERSION1.19
LANGen_US.utf8
PATH/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
PGDATA/var/lib/postgresql/data
PG_MAJOR17
PG_SHA256ef9e343302eccd33112f1b2f0247be493cb5768313adeb558b02de8797a2e9b5
PG_VERSION17.7
[#000] sha256:f637881d1138581d892d9eb942c56e0ccc7758fe3bdc0f1e6cd66059fdfd8185 - 1.57% (3.47 MB)
[#001] sha256:bcc69d4ad680f2dc031081b31dc4fa3f7cd55de1995deabe253ce407bf700c97 - 0.0% (972 Bytes)
[#002] sha256:a5d8ea049a821820da5c6cda9d864a12cc89a49934e3141a0a418ed81ead0477 - 0.39% (897 KB)
[#003] sha256:0ff91185e6f25c5a0e5e8e8b2e87697477d5d440d5b75c2a92a5829cd68938c5 - 0.0% (116 Bytes)
[#004] sha256:f68dd8434a4e1567a50320e68a614e48b793befacc21bda69edf2a035aa3cf24 - 45.6% (101 MB)
[#005] sha256:d20037e7ec4ba46412a886953a5f36289211cc6cebc8cd1b693299d259424f5f - 0.0% (9.65 KB)
[#006] sha256:e4b8ca138a07e5f75267194b0ae7e131e4a0f314b6cb56d56f7f36b807ec549e - 0.0% (127 Bytes)
[#007] sha256:4d5720be95b206e88fa3d22d58ebe4f1dc6b6fe873e7abc5af641aa3be9ac12d - 0.0% (167 Bytes)
[#008] sha256:6a6913b133c7304484f005a36bd78ed6d24d8fd51648b22853d7f238530c44fa - 0.0% (5.7 KB)
[#009] sha256:d979604bca7fee5b2f0bc7a9bd375a9d2eafa5c5c453bfa5cd7b433c7bec48ba - 0.0% (182 Bytes)
[#010] sha256:91078a9cf5f41904dec50d774cae9085cdcb3d251d44df0b298606b81da6f986 - 1.07% (2.37 MB)
[#011] sha256:1db47471b950950632cdcbc0ab89011f4b94a932cf558b9b6af23ee6dfdf1998 - 3.39% (7.53 MB)
[#012] sha256:d9627d3dfea32343ba1d4453c8132f62c41990a31380c12c2d342b4d1d3d3879 - 0.0% (2.08 KB)
[#013] sha256:6a2b166f462b003ae8e6bd9f9ffd8a46b327f848b45fd9d71a20a24d67099d43 - 3.56% (7.89 MB)
[#014] sha256:843bd5f6305b81c0c5fbbfd0c580ac1e673d92d4cc9b540add53503c154cf3f8 - 24.38% (54.1 MB)
[#015] sha256:ccb27fe72765d748ec6c874b0cf6d67bfdc34e4c0c9bda1297c11c3c89f15169 - 17.62% (39.1 MB)
[#016] sha256:e67f205d82947b6d1f672ec5d09af15ae35fc5dbe0a863ac2cc97a99c7b9a292 - 2.41% (5.35 MB)
ADD alpine-minirootfs-3.21.5-x86_64.tar.gz / # buildkit
2025-10-08 11:06:42 UTC (buildkit.dockerfile.v0)CMD ["/bin/sh"]
2025-11-14 19:19:20 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c set -eux; addgroup -g 70 -S postgres; adduser -u 70 -S -D -G postgres -H -h /var/lib/postgresql -s /bin/sh postgres; install --verbose --directory --owner postgres --group postgres --mode 1777 /var/lib/postgresql # buildkit
2025-11-14 19:19:22 UTC (buildkit.dockerfile.v0)ENV GOSU_VERSION=1.19
2025-11-14 19:19:22 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
2025-11-14 19:19:22 UTC (buildkit.dockerfile.v0)ENV LANG=en_US.utf8
2025-11-14 19:19:22 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c mkdir /docker-entrypoint-initdb.d # buildkit
2025-11-14 19:19:22 UTC (buildkit.dockerfile.v0)ENV PG_MAJOR=17
2025-11-14 19:19:22 UTC (buildkit.dockerfile.v0)ENV PG_VERSION=17.7
2025-11-14 19:19:22 UTC (buildkit.dockerfile.v0)ENV PG_SHA256=ef9e343302eccd33112f1b2f0247be493cb5768313adeb558b02de8797a2e9b5
2025-11-14 19:19:22 UTC (buildkit.dockerfile.v0)ENV DOCKER_PG_LLVM_DEPS=llvm19-dev clang19
2025-11-14 19:21:53 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c set -eux; wget -O postgresql.tar.bz2 "https://ftp.postgresql.org/pub/source/v$PG_VERSION/postgresql-$PG_VERSION.tar.bz2"; echo "$PG_SHA256 *postgresql.tar.bz2" | sha256sum -c -; mkdir -p /usr/src/postgresql; tar --extract --file postgresql.tar.bz2 --directory /usr/src/postgresql --strip-components 1 ; rm postgresql.tar.bz2; apk add --no-cache --virtual .build-deps $DOCKER_PG_LLVM_DEPS bison coreutils dpkg-dev dpkg flex g++ gcc krb5-dev libc-dev libedit-dev libxml2-dev libxslt-dev linux-headers make openldap-dev openssl-dev perl-dev perl-ipc-run perl-utils python3-dev tcl-dev util-linux-dev zlib-dev icu-dev lz4-dev zstd-dev ; cd /usr/src/postgresql; awk '$1 == "#define" && $2 == "DEFAULT_PGSOCKET_DIR" && $3 == "\"/tmp\"" { $3 = "\"/var/run/postgresql\""; print; next } { print }' src/include/pg_config_manual.h > src/include/pg_config_manual.h.new; grep '/var/run/postgresql' src/include/pg_config_manual.h.new; mv src/include/pg_config_manual.h.new src/include/pg_config_manual.h; gnuArch="$(dpkg-architecture --query DEB_BUILD_GNU_TYPE)"; export LLVM_CONFIG="/usr/lib/llvm19/bin/llvm-config"; export CLANG=clang-19; ./configure --enable-option-checking=fatal --build="$gnuArch" --enable-integer-datetimes --enable-tap-tests --disable-rpath --with-uuid=e2fs --with-pgport=5432 --with-system-tzdata=/usr/share/zoneinfo --prefix=/usr/local --with-includes=/usr/local/include --with-libraries=/usr/local/lib --with-gssapi --with-icu --with-ldap --with-libxml --with-libxslt --with-llvm --with-lz4 --with-openssl --with-perl --with-python --with-tcl --with-zstd ; make -j "$(nproc)" world-bin; make install-world-bin; make -C contrib install; runDeps="$( scanelf --needed --nobanner --format '%n#p' --recursive /usr/local | tr ',' '\n' | sort -u | awk 'system("[ -e /usr/local/lib/" $1 " ]") == 0 { next } { print "so:" $1 }' | grep -v -e perl -e python -e tcl )"; apk add --no-cache --virtual .postgresql-rundeps $runDeps bash tzdata zstd icu-data-full $([ "$(apk --print-arch)" != 'ppc64le' ] && echo 'nss_wrapper') ; apk del --no-network .build-deps; cd /; rm -rf /usr/src/postgresql /usr/local/share/doc /usr/local/share/man ; postgres --version # buildkit
2025-11-14 19:21:53 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
2025-11-14 19:21:53 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c install --verbose --directory --owner postgres --group postgres --mode 3777 /var/run/postgresql # buildkit
2025-11-14 19:21:53 UTC (buildkit.dockerfile.v0)ENV PGDATA=/var/lib/postgresql/data
2025-11-14 19:21:53 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c install --verbose --directory --owner postgres --group postgres --mode 1777 "$PGDATA" # buildkit
2025-11-14 19:21:53 UTC (buildkit.dockerfile.v0)VOLUME [/var/lib/postgresql/data]
2025-11-14 19:21:53 UTC (buildkit.dockerfile.v0)COPY docker-entrypoint.sh docker-ensure-initdb.sh /usr/local/bin/ # buildkit
2025-11-14 19:21:53 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c ln -sT docker-ensure-initdb.sh /usr/local/bin/docker-enforce-initdb.sh # buildkit
2025-11-14 19:21:53 UTC (buildkit.dockerfile.v0)ENTRYPOINT ["docker-entrypoint.sh"]
2025-11-14 19:21:53 UTC (buildkit.dockerfile.v0)STOPSIGNAL SIGINT
2025-11-14 19:21:53 UTC (buildkit.dockerfile.v0)EXPOSE map[5432/tcp:{}]
2025-11-14 19:21:53 UTC (buildkit.dockerfile.v0)CMD ["postgres"]
2026-01-29 09:06:09 UTC (buildkit.dockerfile.v0)ARG OSS_ONLY= -DAPACHE_ONLY=1
2026-01-29 09:06:09 UTC (buildkit.dockerfile.v0)LABEL maintainer=Timescale https://www.timescale.com
2026-01-29 09:06:09 UTC (buildkit.dockerfile.v0)ARG PG_VERSION=17
2026-01-29 09:06:09 UTC (buildkit.dockerfile.v0)ARG PG_MAJOR_VERSION=17
2026-01-29 09:06:09 UTC (buildkit.dockerfile.v0)ARG ALPINE_VERSION=3.21
2026-01-29 09:06:09 UTC (buildkit.dockerfile.v0)RUN |4 OSS_ONLY= -DAPACHE_ONLY=1 PG_VERSION=17 PG_MAJOR_VERSION=17 ALPINE_VERSION=3.21 /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-01-29 09:06:09 UTC (buildkit.dockerfile.v0)ARG PGVECTOR_VERSION=v0.8.1
2026-01-29 09:06:09 UTC (buildkit.dockerfile.v0)ARG PG_VERSION=17
2026-01-29 09:06:09 UTC (buildkit.dockerfile.v0)ARG CLANG_VERSION=19
2026-01-29 09:06:09 UTC (buildkit.dockerfile.v0)ARG PG_MAJOR_VERSION=17
2026-01-29 09:07:26 UTC (buildkit.dockerfile.v0)RUN |6 OSS_ONLY= -DAPACHE_ONLY=1 PG_VERSION=17 PG_MAJOR_VERSION=17 ALPINE_VERSION=3.21 PGVECTOR_VERSION=v0.8.1 CLANG_VERSION=19 /bin/sh -c set -ex; apk update; apk add --no-cache --virtual .vector-deps postgresql${PG_VERSION}-dev git build-base clang${CLANG_VERSION} llvm${CLANG_VERSION}-dev llvm${CLANG_VERSION}; git clone --branch ${PGVECTOR_VERSION} https://github.com/pgvector/pgvector.git /build/pgvector; cd /build/pgvector; make OPTFLAGS=""; make install; apk del .vector-deps # buildkit
2026-01-29 09:07:26 UTC (buildkit.dockerfile.v0)COPY docker-entrypoint-initdb.d/* /docker-entrypoint-initdb.d/ # buildkit
2026-01-29 09:08:00 UTC (buildkit.dockerfile.v0)COPY /go/bin/* /usr/local/bin/ # buildkit
2026-01-29 09:08:00 UTC (buildkit.dockerfile.v0)COPY /usr/local/lib/postgresql/timescaledb-*.so /usr/local/lib/postgresql/ # buildkit
2026-01-29 09:08:00 UTC (buildkit.dockerfile.v0)COPY /usr/local/share/postgresql/extension/timescaledb--*.sql /usr/local/share/postgresql/extension/ # buildkit
2026-01-29 09:08:00 UTC (buildkit.dockerfile.v0)ARG TS_VERSION=2.25.0
2026-01-29 09:10:36 UTC (buildkit.dockerfile.v0)RUN |7 OSS_ONLY= -DAPACHE_ONLY=1 PG_VERSION=17 PG_MAJOR_VERSION=17 ALPINE_VERSION=3.21 PGVECTOR_VERSION=v0.8.1 CLANG_VERSION=19 TS_VERSION=2.25.0 /bin/sh -c set -ex && apk add --no-cache --virtual .fetch-deps ca-certificates git openssl openssl-dev tar && mkdir -p /build/ && git clone https://github.com/timescale/timescaledb /build/timescaledb && apk add --no-cache --virtual .build-deps coreutils dpkg-dev dpkg gcc krb5-dev libc-dev make cmake util-linux-dev && cd /build/timescaledb && rm -fr build && git checkout ${TS_VERSION} && ./bootstrap -DCMAKE_BUILD_TYPE=RelWithDebInfo -DREGRESS_CHECKS=OFF -DTAP_CHECKS=OFF -DGENERATE_DOWNGRADE_SCRIPT=ON -DWARNINGS_AS_ERRORS=OFF -DPROJECT_INSTALL_METHOD="docker"${OSS_ONLY} && cd build && make install && cd ~ && if [ "${OSS_ONLY}" != "" ]; then rm -f $(pg_config --pkglibdir)/timescaledb-tsl-*.so; fi && apk del .fetch-deps .build-deps && rm -rf /build && sed -r -i "s/[#]*\s*(shared_preload_libraries)\s*=\s*'(.*)'/\1 = 'timescaledb,\2'/;s/,'/'/" /usr/local/share/postgresql/postgresql.conf.sample # buildkit
2026-01-29 09:32:59 UTC
200 MB
llvm19-dev clang19
GOSU_VERSION1.19
LANGen_US.utf8
PATH/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
PGDATA/var/lib/postgresql/data
PG_MAJOR17
PG_SHA256ef9e343302eccd33112f1b2f0247be493cb5768313adeb558b02de8797a2e9b5
PG_VERSION17.7
[#000] sha256:f8b30cbd0fab9e5a803578a09c973d18d7450816d914e63e04e5c2edd79f8bee - 1.61% (3.21 MB)
[#001] sha256:be4ab308e55a7bf9991d2655761b276b952e9c10918951b743ae97a59673f20e - 0.0% (971 Bytes)
[#002] sha256:151c5c6109ba3c4296a1ff3880bf5c6f2defdc3cb6c91b913a1338ef3ddb4a6f - 0.42% (865 KB)
[#003] sha256:dc50695730191e5e332dd2138bc453146ea7c971667da6070f3faf829764280d - 0.0% (116 Bytes)
[#004] sha256:3d75fc1d74fa21f2084c3f8fe73e1010bea825e947dd463ca9fa7d2566c2ab35 - 41.04% (81.9 MB)
[#005] sha256:49dcf5de93e856c63548c8e0370a728f9330c2d455dc2203dc531ea23c9995fe - 0.0% (9.65 KB)
[#006] sha256:58f893f57851d71ab60b219548331d579820c5243889b37d84eaa3dff16f9e06 - 0.0% (127 Bytes)
[#007] sha256:b90c84942d650b060586496e6bacc75d807a89b280caf7f7489c593ff5ba4ae2 - 0.0% (170 Bytes)
[#008] sha256:4a0747000c623a2615c3426f8671b2b4489cde841aa3375b8eae2ae5a31e2841 - 0.0% (5.7 KB)
[#009] sha256:b6d229735e3922a1136c26e30330cc769980e13845bb0b477c1e5e568b8f907d - 0.0% (184 Bytes)
[#010] sha256:c6abd6d2306b44b11c60049c4c369500e88cfce392f565943cf214f60a277c3e - 1.0% (1.99 MB)
[#011] sha256:c9887de8b33403f164863f5a3cef69e7a851a1eebd2fa9b29064a85aef362d94 - 3.39% (6.77 MB)
[#012] sha256:92231ee460698fb711bd1e1e4e5622d42efbb9b243c5ee63ade8d9910c22b167 - 0.0% (2.08 KB)
[#013] sha256:be92ebb685bf74b6a91f8e1882532de3d5de0869505600ffb1cd3697c57c4dba - 3.67% (7.32 MB)
[#014] sha256:61621aea2c2b1ffc99dc16159b7afb6a927d48fb3c1af90f358b024121edcde5 - 26.62% (53.1 MB)
[#015] sha256:9f5cc9ffa8a5555c15bfbef96725bcced0530ec5f4952c62f868738457eb3450 - 19.58% (39.1 MB)
[#016] sha256:e9b55c103dab41f69a9fa3f78d8d6cb69e2454c03d46726ea269f1ea920b9bd5 - 2.66% (5.3 MB)
ADD alpine-minirootfs-3.21.5-armhf.tar.gz / # buildkit
2025-10-08 11:06:42 UTC (buildkit.dockerfile.v0)CMD ["/bin/sh"]
2025-11-14 19:38:09 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
2025-11-14 19:38:13 UTC (buildkit.dockerfile.v0)ENV GOSU_VERSION=1.19
2025-11-14 19:38: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
2025-11-14 19:38:13 UTC (buildkit.dockerfile.v0)ENV LANG=en_US.utf8
2025-11-14 19:38:13 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c mkdir /docker-entrypoint-initdb.d # buildkit
2025-11-14 19:38:13 UTC (buildkit.dockerfile.v0)ENV PG_MAJOR=17
2025-11-14 19:38:13 UTC (buildkit.dockerfile.v0)ENV PG_VERSION=17.7
2025-11-14 19:38:13 UTC (buildkit.dockerfile.v0)ENV PG_SHA256=ef9e343302eccd33112f1b2f0247be493cb5768313adeb558b02de8797a2e9b5
2025-11-14 19:38:13 UTC (buildkit.dockerfile.v0)ENV DOCKER_PG_LLVM_DEPS=llvm19-dev clang19
2025-11-14 19:41:17 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c set -eux; wget -O postgresql.tar.bz2 "https://ftp.postgresql.org/pub/source/v$PG_VERSION/postgresql-$PG_VERSION.tar.bz2"; echo "$PG_SHA256 *postgresql.tar.bz2" | sha256sum -c -; mkdir -p /usr/src/postgresql; tar --extract --file postgresql.tar.bz2 --directory /usr/src/postgresql --strip-components 1 ; rm postgresql.tar.bz2; apk add --no-cache --virtual .build-deps $DOCKER_PG_LLVM_DEPS bison coreutils dpkg-dev dpkg flex g++ gcc krb5-dev libc-dev libedit-dev libxml2-dev libxslt-dev linux-headers make openldap-dev openssl-dev perl-dev perl-ipc-run perl-utils python3-dev tcl-dev util-linux-dev zlib-dev icu-dev lz4-dev zstd-dev ; cd /usr/src/postgresql; awk '$1 == "#define" && $2 == "DEFAULT_PGSOCKET_DIR" && $3 == "\"/tmp\"" { $3 = "\"/var/run/postgresql\""; print; next } { print }' src/include/pg_config_manual.h > src/include/pg_config_manual.h.new; grep '/var/run/postgresql' src/include/pg_config_manual.h.new; mv src/include/pg_config_manual.h.new src/include/pg_config_manual.h; gnuArch="$(dpkg-architecture --query DEB_BUILD_GNU_TYPE)"; export LLVM_CONFIG="/usr/lib/llvm19/bin/llvm-config"; export CLANG=clang-19; ./configure --enable-option-checking=fatal --build="$gnuArch" --enable-integer-datetimes --enable-tap-tests --disable-rpath --with-uuid=e2fs --with-pgport=5432 --with-system-tzdata=/usr/share/zoneinfo --prefix=/usr/local --with-includes=/usr/local/include --with-libraries=/usr/local/lib --with-gssapi --with-icu --with-ldap --with-libxml --with-libxslt --with-llvm --with-lz4 --with-openssl --with-perl --with-python --with-tcl --with-zstd ; make -j "$(nproc)" world-bin; make install-world-bin; make -C contrib install; runDeps="$( scanelf --needed --nobanner --format '%n#p' --recursive /usr/local | tr ',' '\n' | sort -u | awk 'system("[ -e /usr/local/lib/" $1 " ]") == 0 { next } { print "so:" $1 }' | grep -v -e perl -e python -e tcl )"; apk add --no-cache --virtual .postgresql-rundeps $runDeps bash tzdata zstd icu-data-full $([ "$(apk --print-arch)" != 'ppc64le' ] && echo 'nss_wrapper') ; apk del --no-network .build-deps; cd /; rm -rf /usr/src/postgresql /usr/local/share/doc /usr/local/share/man ; postgres --version # buildkit
2025-11-14 19:41:17 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
2025-11-14 19:41:17 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c install --verbose --directory --owner postgres --group postgres --mode 3777 /var/run/postgresql # buildkit
2025-11-14 19:41:17 UTC (buildkit.dockerfile.v0)ENV PGDATA=/var/lib/postgresql/data
2025-11-14 19:41:18 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c install --verbose --directory --owner postgres --group postgres --mode 1777 "$PGDATA" # buildkit
2025-11-14 19:41:18 UTC (buildkit.dockerfile.v0)VOLUME [/var/lib/postgresql/data]
2025-11-14 19:41:18 UTC (buildkit.dockerfile.v0)COPY docker-entrypoint.sh docker-ensure-initdb.sh /usr/local/bin/ # buildkit
2025-11-14 19:41:18 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c ln -sT docker-ensure-initdb.sh /usr/local/bin/docker-enforce-initdb.sh # buildkit
2025-11-14 19:41:18 UTC (buildkit.dockerfile.v0)ENTRYPOINT ["docker-entrypoint.sh"]
2025-11-14 19:41:18 UTC (buildkit.dockerfile.v0)STOPSIGNAL SIGINT
2025-11-14 19:41:18 UTC (buildkit.dockerfile.v0)EXPOSE map[5432/tcp:{}]
2025-11-14 19:41:18 UTC (buildkit.dockerfile.v0)CMD ["postgres"]
2026-01-29 09:06:10 UTC (buildkit.dockerfile.v0)ARG OSS_ONLY= -DAPACHE_ONLY=1
2026-01-29 09:06:10 UTC (buildkit.dockerfile.v0)LABEL maintainer=Timescale https://www.timescale.com
2026-01-29 09:06:10 UTC (buildkit.dockerfile.v0)ARG PG_VERSION=17
2026-01-29 09:06:10 UTC (buildkit.dockerfile.v0)ARG PG_MAJOR_VERSION=17
2026-01-29 09:06:10 UTC (buildkit.dockerfile.v0)ARG ALPINE_VERSION=3.21
2026-01-29 09:06:10 UTC (buildkit.dockerfile.v0)RUN |4 OSS_ONLY= -DAPACHE_ONLY=1 PG_VERSION=17 PG_MAJOR_VERSION=17 ALPINE_VERSION=3.21 /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-01-29 09:06:10 UTC (buildkit.dockerfile.v0)ARG PGVECTOR_VERSION=v0.8.1
2026-01-29 09:06:10 UTC (buildkit.dockerfile.v0)ARG PG_VERSION=17
2026-01-29 09:06:10 UTC (buildkit.dockerfile.v0)ARG CLANG_VERSION=19
2026-01-29 09:06:10 UTC (buildkit.dockerfile.v0)ARG PG_MAJOR_VERSION=17
2026-01-29 09:15:43 UTC (buildkit.dockerfile.v0)RUN |6 OSS_ONLY= -DAPACHE_ONLY=1 PG_VERSION=17 PG_MAJOR_VERSION=17 ALPINE_VERSION=3.21 PGVECTOR_VERSION=v0.8.1 CLANG_VERSION=19 /bin/sh -c set -ex; apk update; apk add --no-cache --virtual .vector-deps postgresql${PG_VERSION}-dev git build-base clang${CLANG_VERSION} llvm${CLANG_VERSION}-dev llvm${CLANG_VERSION}; git clone --branch ${PGVECTOR_VERSION} https://github.com/pgvector/pgvector.git /build/pgvector; cd /build/pgvector; make OPTFLAGS=""; make install; apk del .vector-deps # buildkit
2026-01-29 09:15:43 UTC (buildkit.dockerfile.v0)COPY docker-entrypoint-initdb.d/* /docker-entrypoint-initdb.d/ # buildkit
2026-01-29 09:21:14 UTC (buildkit.dockerfile.v0)COPY /go/bin/* /usr/local/bin/ # buildkit
2026-01-29 09:21:14 UTC (buildkit.dockerfile.v0)COPY /usr/local/lib/postgresql/timescaledb-*.so /usr/local/lib/postgresql/ # buildkit
2026-01-29 09:21:15 UTC (buildkit.dockerfile.v0)COPY /usr/local/share/postgresql/extension/timescaledb--*.sql /usr/local/share/postgresql/extension/ # buildkit
2026-01-29 09:21:15 UTC (buildkit.dockerfile.v0)ARG TS_VERSION=2.25.0
2026-01-29 09:32:59 UTC (buildkit.dockerfile.v0)RUN |7 OSS_ONLY= -DAPACHE_ONLY=1 PG_VERSION=17 PG_MAJOR_VERSION=17 ALPINE_VERSION=3.21 PGVECTOR_VERSION=v0.8.1 CLANG_VERSION=19 TS_VERSION=2.25.0 /bin/sh -c set -ex && apk add --no-cache --virtual .fetch-deps ca-certificates git openssl openssl-dev tar && mkdir -p /build/ && git clone https://github.com/timescale/timescaledb /build/timescaledb && apk add --no-cache --virtual .build-deps coreutils dpkg-dev dpkg gcc krb5-dev libc-dev make cmake util-linux-dev && cd /build/timescaledb && rm -fr build && git checkout ${TS_VERSION} && ./bootstrap -DCMAKE_BUILD_TYPE=RelWithDebInfo -DREGRESS_CHECKS=OFF -DTAP_CHECKS=OFF -DGENERATE_DOWNGRADE_SCRIPT=ON -DWARNINGS_AS_ERRORS=OFF -DPROJECT_INSTALL_METHOD="docker"${OSS_ONLY} && cd build && make install && cd ~ && if [ "${OSS_ONLY}" != "" ]; then rm -f $(pg_config --pkglibdir)/timescaledb-tsl-*.so; fi && apk del .fetch-deps .build-deps && rm -rf /build && sed -r -i "s/[#]*\s*(shared_preload_libraries)\s*=\s*'(.*)'/\1 = 'timescaledb,\2'/;s/,'/'/" /usr/local/share/postgresql/postgresql.conf.sample # buildkit
2026-01-29 09:33:08 UTC
195 MB
llvm19-dev clang19
GOSU_VERSION1.19
LANGen_US.utf8
PATH/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
PGDATA/var/lib/postgresql/data
PG_MAJOR17
PG_SHA256ef9e343302eccd33112f1b2f0247be493cb5768313adeb558b02de8797a2e9b5
PG_VERSION17.7
[#000] sha256:520d06ecc3ba4ec2920319fa6f2cc6bea9a9c1d5a43808c1d2388522c37d7b30 - 1.52% (2.96 MB)
[#001] sha256:93cad30db35621476ae784dacab459455e152597fac904411058f798b6eea418 - 0.0% (973 Bytes)
[#002] sha256:3bf537d6eff6a67fa6789119442be210c161af94e4296737f7b382df34fcd6e1 - 0.43% (865 KB)
[#003] sha256:aa4011ac9e425ecf64d2c9f00c3ff787853bc9b72d79946466be8b339712f03a - 0.0% (116 Bytes)
[#004] sha256:aac5d94974aca1e13f291a1e519e7ec8032a62ea164ef6868d1e029fd5c5b372 - 39.81% (77.6 MB)
[#005] sha256:e67461c0b2df4c7955698b9ce84f00d391c10c0429a538d28c8d94ab80a9c085 - 0.0% (9.65 KB)
[#006] sha256:3ced2ec1b6e405c66ed827f12d6dcc7acb937176a6397148b70cf252d9e8275f - 0.0% (128 Bytes)
[#007] sha256:ba0411bb106fd14010faf8aaedee490350cd93fb4760acdafb8638e4f4ff9ed8 - 0.0% (170 Bytes)
[#008] sha256:1949d6fe7154e9ac8663ddd6f2fb6e3e2d029d79358ed2ae9335d0ed246e783a - 0.0% (5.7 KB)
[#009] sha256:7ba77cbb4b389c85b4978a22b9740b055c5c61620e79938eb0c9d836b04455f7 - 0.0% (186 Bytes)
[#010] sha256:9a479ff13f78211ba006ced837f1a7790c3777d235f848165879c5e76ec14e4c - 1.12% (2.19 MB)
[#011] sha256:0dbf8238a42c8ec5f98a38c704f012eac4ec5ffd8f71e59245c469219c214a92 - 3.48% (6.79 MB)
[#012] sha256:bb6e1452188465de5d4cd6db04894f59623983c2b66ef3ab87c234889e29be7f - 0.0% (2.08 KB)
[#013] sha256:7046283d011fac98ea409234a38e1ca4ddaf83d9e662cfc36edfc52fb86a9de8 - 3.75% (7.31 MB)
[#014] sha256:2d99493874e6272e40500223725fd037a4a7c61bd7f3b534ae7554e2c9071104 - 27.11% (52.8 MB)
[#015] sha256:1a9650a63543c3020b4b765e8fae8ccff24548cc3f0b9af828267c3689051008 - 20.05% (39.1 MB)
[#016] sha256:030b7d4ecd28e6aa9dee633e399b4e35b57d03d1f4a1e2c890f7feaea0819c87 - 2.71% (5.28 MB)
ADD alpine-minirootfs-3.21.5-armv7.tar.gz / # buildkit
2025-10-08 11:06:42 UTC (buildkit.dockerfile.v0)CMD ["/bin/sh"]
2025-11-14 19:16:41 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
2025-11-14 19:16:45 UTC (buildkit.dockerfile.v0)ENV GOSU_VERSION=1.19
2025-11-14 19:16:45 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
2025-11-14 19:16:45 UTC (buildkit.dockerfile.v0)ENV LANG=en_US.utf8
2025-11-14 19:34:27 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c mkdir /docker-entrypoint-initdb.d # buildkit
2025-11-14 19:34:27 UTC (buildkit.dockerfile.v0)ENV PG_MAJOR=17
2025-11-14 19:34:27 UTC (buildkit.dockerfile.v0)ENV PG_VERSION=17.7
2025-11-14 19:34:27 UTC (buildkit.dockerfile.v0)ENV PG_SHA256=ef9e343302eccd33112f1b2f0247be493cb5768313adeb558b02de8797a2e9b5
2025-11-14 19:34:27 UTC (buildkit.dockerfile.v0)ENV DOCKER_PG_LLVM_DEPS=llvm19-dev clang19
2025-11-14 19:40:35 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c set -eux; wget -O postgresql.tar.bz2 "https://ftp.postgresql.org/pub/source/v$PG_VERSION/postgresql-$PG_VERSION.tar.bz2"; echo "$PG_SHA256 *postgresql.tar.bz2" | sha256sum -c -; mkdir -p /usr/src/postgresql; tar --extract --file postgresql.tar.bz2 --directory /usr/src/postgresql --strip-components 1 ; rm postgresql.tar.bz2; apk add --no-cache --virtual .build-deps $DOCKER_PG_LLVM_DEPS bison coreutils dpkg-dev dpkg flex g++ gcc krb5-dev libc-dev libedit-dev libxml2-dev libxslt-dev linux-headers make openldap-dev openssl-dev perl-dev perl-ipc-run perl-utils python3-dev tcl-dev util-linux-dev zlib-dev icu-dev lz4-dev zstd-dev ; cd /usr/src/postgresql; awk '$1 == "#define" && $2 == "DEFAULT_PGSOCKET_DIR" && $3 == "\"/tmp\"" { $3 = "\"/var/run/postgresql\""; print; next } { print }' src/include/pg_config_manual.h > src/include/pg_config_manual.h.new; grep '/var/run/postgresql' src/include/pg_config_manual.h.new; mv src/include/pg_config_manual.h.new src/include/pg_config_manual.h; gnuArch="$(dpkg-architecture --query DEB_BUILD_GNU_TYPE)"; export LLVM_CONFIG="/usr/lib/llvm19/bin/llvm-config"; export CLANG=clang-19; ./configure --enable-option-checking=fatal --build="$gnuArch" --enable-integer-datetimes --enable-tap-tests --disable-rpath --with-uuid=e2fs --with-pgport=5432 --with-system-tzdata=/usr/share/zoneinfo --prefix=/usr/local --with-includes=/usr/local/include --with-libraries=/usr/local/lib --with-gssapi --with-icu --with-ldap --with-libxml --with-libxslt --with-llvm --with-lz4 --with-openssl --with-perl --with-python --with-tcl --with-zstd ; make -j "$(nproc)" world-bin; make install-world-bin; make -C contrib install; runDeps="$( scanelf --needed --nobanner --format '%n#p' --recursive /usr/local | tr ',' '\n' | sort -u | awk 'system("[ -e /usr/local/lib/" $1 " ]") == 0 { next } { print "so:" $1 }' | grep -v -e perl -e python -e tcl )"; apk add --no-cache --virtual .postgresql-rundeps $runDeps bash tzdata zstd icu-data-full $([ "$(apk --print-arch)" != 'ppc64le' ] && echo 'nss_wrapper') ; apk del --no-network .build-deps; cd /; rm -rf /usr/src/postgresql /usr/local/share/doc /usr/local/share/man ; postgres --version # buildkit
2025-11-14 19:40:35 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
2025-11-14 19:40:35 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c install --verbose --directory --owner postgres --group postgres --mode 3777 /var/run/postgresql # buildkit
2025-11-14 19:40:35 UTC (buildkit.dockerfile.v0)ENV PGDATA=/var/lib/postgresql/data
2025-11-14 19:40:35 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c install --verbose --directory --owner postgres --group postgres --mode 1777 "$PGDATA" # buildkit
2025-11-14 19:40:35 UTC (buildkit.dockerfile.v0)VOLUME [/var/lib/postgresql/data]
2025-11-14 19:40:35 UTC (buildkit.dockerfile.v0)COPY docker-entrypoint.sh docker-ensure-initdb.sh /usr/local/bin/ # buildkit
2025-11-14 19:40:36 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c ln -sT docker-ensure-initdb.sh /usr/local/bin/docker-enforce-initdb.sh # buildkit
2025-11-14 19:40:36 UTC (buildkit.dockerfile.v0)ENTRYPOINT ["docker-entrypoint.sh"]
2025-11-14 19:40:36 UTC (buildkit.dockerfile.v0)STOPSIGNAL SIGINT
2025-11-14 19:40:36 UTC (buildkit.dockerfile.v0)EXPOSE map[5432/tcp:{}]
2025-11-14 19:40:36 UTC (buildkit.dockerfile.v0)CMD ["postgres"]
2026-01-29 09:06:10 UTC (buildkit.dockerfile.v0)ARG OSS_ONLY= -DAPACHE_ONLY=1
2026-01-29 09:06:10 UTC (buildkit.dockerfile.v0)LABEL maintainer=Timescale https://www.timescale.com
2026-01-29 09:06:10 UTC (buildkit.dockerfile.v0)ARG PG_VERSION=17
2026-01-29 09:06:10 UTC (buildkit.dockerfile.v0)ARG PG_MAJOR_VERSION=17
2026-01-29 09:06:10 UTC (buildkit.dockerfile.v0)ARG ALPINE_VERSION=3.21
2026-01-29 09:06:10 UTC (buildkit.dockerfile.v0)RUN |4 OSS_ONLY= -DAPACHE_ONLY=1 PG_VERSION=17 PG_MAJOR_VERSION=17 ALPINE_VERSION=3.21 /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-01-29 09:06:10 UTC (buildkit.dockerfile.v0)ARG PGVECTOR_VERSION=v0.8.1
2026-01-29 09:06:10 UTC (buildkit.dockerfile.v0)ARG PG_VERSION=17
2026-01-29 09:06:10 UTC (buildkit.dockerfile.v0)ARG CLANG_VERSION=19
2026-01-29 09:06:10 UTC (buildkit.dockerfile.v0)ARG PG_MAJOR_VERSION=17
2026-01-29 09:15:36 UTC (buildkit.dockerfile.v0)RUN |6 OSS_ONLY= -DAPACHE_ONLY=1 PG_VERSION=17 PG_MAJOR_VERSION=17 ALPINE_VERSION=3.21 PGVECTOR_VERSION=v0.8.1 CLANG_VERSION=19 /bin/sh -c set -ex; apk update; apk add --no-cache --virtual .vector-deps postgresql${PG_VERSION}-dev git build-base clang${CLANG_VERSION} llvm${CLANG_VERSION}-dev llvm${CLANG_VERSION}; git clone --branch ${PGVECTOR_VERSION} https://github.com/pgvector/pgvector.git /build/pgvector; cd /build/pgvector; make OPTFLAGS=""; make install; apk del .vector-deps # buildkit
2026-01-29 09:15:36 UTC (buildkit.dockerfile.v0)COPY docker-entrypoint-initdb.d/* /docker-entrypoint-initdb.d/ # buildkit
2026-01-29 09:21:17 UTC (buildkit.dockerfile.v0)COPY /go/bin/* /usr/local/bin/ # buildkit
2026-01-29 09:21:17 UTC (buildkit.dockerfile.v0)COPY /usr/local/lib/postgresql/timescaledb-*.so /usr/local/lib/postgresql/ # buildkit
2026-01-29 09:21:17 UTC (buildkit.dockerfile.v0)COPY /usr/local/share/postgresql/extension/timescaledb--*.sql /usr/local/share/postgresql/extension/ # buildkit
2026-01-29 09:21:17 UTC (buildkit.dockerfile.v0)ARG TS_VERSION=2.25.0
2026-01-29 09:33:08 UTC (buildkit.dockerfile.v0)RUN |7 OSS_ONLY= -DAPACHE_ONLY=1 PG_VERSION=17 PG_MAJOR_VERSION=17 ALPINE_VERSION=3.21 PGVECTOR_VERSION=v0.8.1 CLANG_VERSION=19 TS_VERSION=2.25.0 /bin/sh -c set -ex && apk add --no-cache --virtual .fetch-deps ca-certificates git openssl openssl-dev tar && mkdir -p /build/ && git clone https://github.com/timescale/timescaledb /build/timescaledb && apk add --no-cache --virtual .build-deps coreutils dpkg-dev dpkg gcc krb5-dev libc-dev make cmake util-linux-dev && cd /build/timescaledb && rm -fr build && git checkout ${TS_VERSION} && ./bootstrap -DCMAKE_BUILD_TYPE=RelWithDebInfo -DREGRESS_CHECKS=OFF -DTAP_CHECKS=OFF -DGENERATE_DOWNGRADE_SCRIPT=ON -DWARNINGS_AS_ERRORS=OFF -DPROJECT_INSTALL_METHOD="docker"${OSS_ONLY} && cd build && make install && cd ~ && if [ "${OSS_ONLY}" != "" ]; then rm -f $(pg_config --pkglibdir)/timescaledb-tsl-*.so; fi && apk del .fetch-deps .build-deps && rm -rf /build && sed -r -i "s/[#]*\s*(shared_preload_libraries)\s*=\s*'(.*)'/\1 = 'timescaledb,\2'/;s/,'/'/" /usr/local/share/postgresql/postgresql.conf.sample # buildkit
2026-01-29 09:33:07 UTC
217 MB
llvm19-dev clang19
GOSU_VERSION1.19
LANGen_US.utf8
PATH/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
PGDATA/var/lib/postgresql/data
PG_MAJOR17
PG_SHA256ef9e343302eccd33112f1b2f0247be493cb5768313adeb558b02de8797a2e9b5
PG_VERSION17.7
[#000] sha256:c2fe130f4aabc917e559e7eed7d37b0e21ba13b44520101696887ca892e8c63f - 1.76% (3.81 MB)
[#001] sha256:c5adf673bcc2e8cc91c1b7e7a81103d62bcdba6a5cbbef376c0089a1c3cfcf12 - 0.0% (970 Bytes)
[#002] sha256:4d27f68fedb603cc167ae1ed9daf12b018313a9bd35dac0d5142b922eceb9d80 - 0.38% (853 KB)
[#003] sha256:a0c42e8f05199a8da8f9f3529c37dbac5dd5116f9058ff5eb0bf9715853d1658 - 0.0% (116 Bytes)
[#004] sha256:fec44d22a7a36a69ab122281d4de78e54532fb3de82aa34a4e9d712acb793ed5 - 44.7% (96.9 MB)
[#005] sha256:36d4afefed537ddfafcd7888f4bb6d193f454e527ba83b99acbfb89fc771ec6a - 0.0% (9.65 KB)
[#006] sha256:cf70f1dfb178f32a200c66c4f039ba0141bd052b8723f1150d170c114fec3adc - 0.0% (127 Bytes)
[#007] sha256:60aef60c9ffa2d8cdf3e9cd5be2b1c5db7ee504df94501e67e09106922210236 - 0.0% (170 Bytes)
[#008] sha256:1aeae8bb44c01d941f841d7533f492f99219c9ccd8e8c2925c8bf3c2e9d8b658 - 0.0% (5.7 KB)
[#009] sha256:d67e89a4842b2e5442a0396e11d8569415e4d0f2a041072ffba9403af2b4c0ad - 0.0% (183 Bytes)
[#010] sha256:040804e59d15ee1685fb54f06831aff16f025f944216567f566df249d5c053e2 - 1.08% (2.35 MB)
[#011] sha256:66d532b30cff4fcea375960ea6f7096d046e479c1ce9b0438674e1ffe742c5a1 - 3.58% (7.76 MB)
[#012] sha256:1d1c999fa1d35e71ba0b6210746c55fbb3d33a99b868a14237b09efe568bdf57 - 0.0% (2.08 KB)
[#013] sha256:d9af729f74a49a033ff17be507bea622938d51f85b9b251e6d8bb18d94c5d936 - 3.42% (7.42 MB)
[#014] sha256:2857995ee8489ca56c79a7a119c7fb06ce0a1e00089951fd3d1390ae62c7bbc9 - 24.6% (53.4 MB)
[#015] sha256:dbb29ac9ef1fb3754688cefdaeebe2f20be1cd09b835b0a1cbcedb4bb9fecb63 - 18.02% (39.1 MB)
[#016] sha256:f95c133ef67aa820d61e1cf7ce9dbebdcdb4b502e2bb091c6d69c66139658b5f - 2.45% (5.31 MB)
ADD alpine-minirootfs-3.21.5-aarch64.tar.gz / # buildkit
2025-10-08 11:06:42 UTC (buildkit.dockerfile.v0)CMD ["/bin/sh"]
2025-11-14 19:19:42 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
2025-11-14 19:19:44 UTC (buildkit.dockerfile.v0)ENV GOSU_VERSION=1.19
2025-11-14 19:19:44 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
2025-11-14 19:19:44 UTC (buildkit.dockerfile.v0)ENV LANG=en_US.utf8
2025-11-14 19:19:44 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c mkdir /docker-entrypoint-initdb.d # buildkit
2025-11-14 19:19:44 UTC (buildkit.dockerfile.v0)ENV PG_MAJOR=17
2025-11-14 19:19:44 UTC (buildkit.dockerfile.v0)ENV PG_VERSION=17.7
2025-11-14 19:19:44 UTC (buildkit.dockerfile.v0)ENV PG_SHA256=ef9e343302eccd33112f1b2f0247be493cb5768313adeb558b02de8797a2e9b5
2025-11-14 19:19:44 UTC (buildkit.dockerfile.v0)ENV DOCKER_PG_LLVM_DEPS=llvm19-dev clang19
2025-11-14 19:22: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 ; 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/llvm19/bin/llvm-config"; export CLANG=clang-19; ./configure --enable-option-checking=fatal --build="$gnuArch" --enable-integer-datetimes --enable-tap-tests --disable-rpath --with-uuid=e2fs --with-pgport=5432 --with-system-tzdata=/usr/share/zoneinfo --prefix=/usr/local --with-includes=/usr/local/include --with-libraries=/usr/local/lib --with-gssapi --with-icu --with-ldap --with-libxml --with-libxslt --with-llvm --with-lz4 --with-openssl --with-perl --with-python --with-tcl --with-zstd ; make -j "$(nproc)" world-bin; make install-world-bin; make -C contrib install; runDeps="$( scanelf --needed --nobanner --format '%n#p' --recursive /usr/local | tr ',' '\n' | sort -u | awk 'system("[ -e /usr/local/lib/" $1 " ]") == 0 { next } { print "so:" $1 }' | grep -v -e perl -e python -e tcl )"; apk add --no-cache --virtual .postgresql-rundeps $runDeps bash tzdata zstd icu-data-full $([ "$(apk --print-arch)" != 'ppc64le' ] && echo 'nss_wrapper') ; apk del --no-network .build-deps; cd /; rm -rf /usr/src/postgresql /usr/local/share/doc /usr/local/share/man ; postgres --version # buildkit
2025-11-14 19:22: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
2025-11-14 19:22:27 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c install --verbose --directory --owner postgres --group postgres --mode 3777 /var/run/postgresql # buildkit
2025-11-14 19:22:27 UTC (buildkit.dockerfile.v0)ENV PGDATA=/var/lib/postgresql/data
2025-11-14 19:22:27 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c install --verbose --directory --owner postgres --group postgres --mode 1777 "$PGDATA" # buildkit
2025-11-14 19:22:27 UTC (buildkit.dockerfile.v0)VOLUME [/var/lib/postgresql/data]
2025-11-14 19:22:27 UTC (buildkit.dockerfile.v0)COPY docker-entrypoint.sh docker-ensure-initdb.sh /usr/local/bin/ # buildkit
2025-11-14 19:22:27 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c ln -sT docker-ensure-initdb.sh /usr/local/bin/docker-enforce-initdb.sh # buildkit
2025-11-14 19:22:27 UTC (buildkit.dockerfile.v0)ENTRYPOINT ["docker-entrypoint.sh"]
2025-11-14 19:22:27 UTC (buildkit.dockerfile.v0)STOPSIGNAL SIGINT
2025-11-14 19:22:27 UTC (buildkit.dockerfile.v0)EXPOSE map[5432/tcp:{}]
2025-11-14 19:22:27 UTC (buildkit.dockerfile.v0)CMD ["postgres"]
2026-01-29 09:06:15 UTC (buildkit.dockerfile.v0)ARG OSS_ONLY= -DAPACHE_ONLY=1
2026-01-29 09:06:15 UTC (buildkit.dockerfile.v0)LABEL maintainer=Timescale https://www.timescale.com
2026-01-29 09:06:15 UTC (buildkit.dockerfile.v0)ARG PG_VERSION=17
2026-01-29 09:06:15 UTC (buildkit.dockerfile.v0)ARG PG_MAJOR_VERSION=17
2026-01-29 09:06:15 UTC (buildkit.dockerfile.v0)ARG ALPINE_VERSION=3.21
2026-01-29 09:06:15 UTC (buildkit.dockerfile.v0)RUN |4 OSS_ONLY= -DAPACHE_ONLY=1 PG_VERSION=17 PG_MAJOR_VERSION=17 ALPINE_VERSION=3.21 /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-01-29 09:06:15 UTC (buildkit.dockerfile.v0)ARG PGVECTOR_VERSION=v0.8.1
2026-01-29 09:06:15 UTC (buildkit.dockerfile.v0)ARG PG_VERSION=17
2026-01-29 09:06:15 UTC (buildkit.dockerfile.v0)ARG CLANG_VERSION=19
2026-01-29 09:06:15 UTC (buildkit.dockerfile.v0)ARG PG_MAJOR_VERSION=17
2026-01-29 09:15:48 UTC (buildkit.dockerfile.v0)RUN |6 OSS_ONLY= -DAPACHE_ONLY=1 PG_VERSION=17 PG_MAJOR_VERSION=17 ALPINE_VERSION=3.21 PGVECTOR_VERSION=v0.8.1 CLANG_VERSION=19 /bin/sh -c set -ex; apk update; apk add --no-cache --virtual .vector-deps postgresql${PG_VERSION}-dev git build-base clang${CLANG_VERSION} llvm${CLANG_VERSION}-dev llvm${CLANG_VERSION}; git clone --branch ${PGVECTOR_VERSION} https://github.com/pgvector/pgvector.git /build/pgvector; cd /build/pgvector; make OPTFLAGS=""; make install; apk del .vector-deps # buildkit
2026-01-29 09:15:48 UTC (buildkit.dockerfile.v0)COPY docker-entrypoint-initdb.d/* /docker-entrypoint-initdb.d/ # buildkit
2026-01-29 09:20:52 UTC (buildkit.dockerfile.v0)COPY /go/bin/* /usr/local/bin/ # buildkit
2026-01-29 09:20:53 UTC (buildkit.dockerfile.v0)COPY /usr/local/lib/postgresql/timescaledb-*.so /usr/local/lib/postgresql/ # buildkit
2026-01-29 09:20:53 UTC (buildkit.dockerfile.v0)COPY /usr/local/share/postgresql/extension/timescaledb--*.sql /usr/local/share/postgresql/extension/ # buildkit
2026-01-29 09:20:53 UTC (buildkit.dockerfile.v0)ARG TS_VERSION=2.25.0
2026-01-29 09:33:07 UTC (buildkit.dockerfile.v0)RUN |7 OSS_ONLY= -DAPACHE_ONLY=1 PG_VERSION=17 PG_MAJOR_VERSION=17 ALPINE_VERSION=3.21 PGVECTOR_VERSION=v0.8.1 CLANG_VERSION=19 TS_VERSION=2.25.0 /bin/sh -c set -ex && apk add --no-cache --virtual .fetch-deps ca-certificates git openssl openssl-dev tar && mkdir -p /build/ && git clone https://github.com/timescale/timescaledb /build/timescaledb && apk add --no-cache --virtual .build-deps coreutils dpkg-dev dpkg gcc krb5-dev libc-dev make cmake util-linux-dev && cd /build/timescaledb && rm -fr build && git checkout ${TS_VERSION} && ./bootstrap -DCMAKE_BUILD_TYPE=RelWithDebInfo -DREGRESS_CHECKS=OFF -DTAP_CHECKS=OFF -DGENERATE_DOWNGRADE_SCRIPT=ON -DWARNINGS_AS_ERRORS=OFF -DPROJECT_INSTALL_METHOD="docker"${OSS_ONLY} && cd build && make install && cd ~ && if [ "${OSS_ONLY}" != "" ]; then rm -f $(pg_config --pkglibdir)/timescaledb-tsl-*.so; fi && apk del .fetch-deps .build-deps && rm -rf /build && sed -r -i "s/[#]*\s*(shared_preload_libraries)\s*=\s*'(.*)'/\1 = 'timescaledb,\2'/;s/,'/'/" /usr/local/share/postgresql/postgresql.conf.sample # buildkit
Please be careful as this will not just delete the reference but also the actual content!
For example when you have latest and v1.2.3 both pointing to the same image
the deletion of latest will also permanently remove v1.2.3.