2026-07-16 13:03:30 UTC
235 MB
llvm21-dev clang21
GOSU_VERSION1.19
LANGen_US.utf8
PATH/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
PGDATA/var/lib/postgresql/18/docker
PG_MAJOR18
PG_SHA25681a81ec695fb0c7901407defaa1d2f7973617154cf27ba74e3a7ab8e64436094
PG_VERSION18.4
[#000] sha256:732d51f3795f48d3898f2f5895e6c5a28a5feea9889892adc95157ed714ca693 - 1.49% (3.5 MB)
[#001] sha256:5e5df143b165ad4cda4cd0ff02c2b8fb1451cdf59f1d992fd8c1177f807e8a66 - 0.0% (971 Bytes)
[#002] sha256:a6b8ee638051a09f53d6d8458f9acff4a811361d930c222a927f6defa7ae961b - 0.35% (848 KB)
[#003] sha256:cd2cadc3e81e880c8ac8a02dc12c39e51d8edee89053bdaba024d23d142bb139 - 0.0% (116 Bytes)
[#004] sha256:b05ad443b1b01371a5d12adcc2decc33816f748eb787918f41ab53b84a8c1e30 - 49.49% (116 MB)
[#005] sha256:a6cb8a362229405998317e9d1afa133693d6b0b0d7031e01983d3c93c96971a5 - 0.01% (18.5 KB)
[#006] sha256:558630996ec639415aac3275f6dc94c192d64cfd870fd41525e533803a0b7f3e - 0.0% (128 Bytes)
[#007] sha256:b1c933ebe41de94b1b72396e5a49c74da85c952a67c3522d746285422ca619e8 - 0.0% (5.97 KB)
[#008] sha256:13c6c084dbf075810c6afbaeb25004119f319b22783304c91c62d7d51f1deeb1 - 0.0% (183 Bytes)
[#009] sha256:24f4152929335e616cb4f9897c5f249ddbaac92f9d33932a0b92144ddc423eca - 1.1% (2.59 MB)
[#010] sha256:b1dffa06c4022a663ee84a1faa41353ed0ffd77c8e78d929dbd2839e3b42274c - 2.43% (5.71 MB)
[#011] sha256:fe914959782d8d818999216156b038ad51d5a58d964efb306f88950f03ac6e13 - 0.0% (2.08 KB)
[#012] sha256:da7b7f3ef7323a12e2c4da33b675df90776d171aef59fcb9075dc58bc0f5d5c6 - 3.61% (8.47 MB)
[#013] sha256:85bec113e980d19eb00d26753240896b9730c89521c5d54a078200e0ee6cb34b - 21.15% (49.6 MB)
[#014] sha256:218adfd5e570464efc38a28abeeda197518dc2109481426b567e14b9b4a7d92d - 17.71% (41.5 MB)
[#015] sha256:5462fa332c9f4c144e008479e066cc9960d2dfa9664f436aa4b09965d71525f0 - 2.65% (6.22 MB)
ADD alpine-minirootfs-3.23.5-x86.tar.gz / # buildkit
2026-06-22 19:20:08 UTC (buildkit.dockerfile.v0)CMD ["/bin/sh"]
2026-07-07 17:44:18 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c set -eux; addgroup -g 70 -S postgres; adduser -u 70 -S -D -G postgres -H -h /var/lib/postgresql -s /bin/sh postgres; install --verbose --directory --owner postgres --group postgres --mode 1777 /var/lib/postgresql # buildkit
2026-07-07 17:44:21 UTC (buildkit.dockerfile.v0)ENV GOSU_VERSION=1.19
2026-07-07 17:44:21 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-07-07 17:44:21 UTC (buildkit.dockerfile.v0)ENV LANG=en_US.utf8
2026-07-07 17:44:21 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c mkdir /docker-entrypoint-initdb.d # buildkit
2026-07-07 17:44:21 UTC (buildkit.dockerfile.v0)ENV PG_MAJOR=18
2026-07-07 17:44:21 UTC (buildkit.dockerfile.v0)ENV PG_VERSION=18.4
2026-07-07 17:44:21 UTC (buildkit.dockerfile.v0)ENV PG_SHA256=81a81ec695fb0c7901407defaa1d2f7973617154cf27ba74e3a7ab8e64436094
2026-07-07 17:44:21 UTC (buildkit.dockerfile.v0)ENV DOCKER_PG_LLVM_DEPS=llvm21-dev clang21
2026-07-07 17:47:22 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c set -eux; wget -O postgresql.tar.bz2 "https://ftp.postgresql.org/pub/source/v$PG_VERSION/postgresql-$PG_VERSION.tar.bz2"; echo "$PG_SHA256 *postgresql.tar.bz2" | sha256sum -c -; mkdir -p /usr/src/postgresql; tar --extract --file postgresql.tar.bz2 --directory /usr/src/postgresql --strip-components 1 ; rm postgresql.tar.bz2; apk add --no-cache --virtual .build-deps $DOCKER_PG_LLVM_DEPS bison coreutils dpkg-dev dpkg flex g++ gcc krb5-dev libc-dev libedit-dev libxml2-dev libxslt-dev linux-headers make openldap-dev openssl-dev perl-dev perl-ipc-run perl-utils python3-dev tcl-dev util-linux-dev zlib-dev icu-dev lz4-dev zstd-dev curl-dev liburing-dev ; cd /usr/src/postgresql; awk '$1 == "#define" && $2 == "DEFAULT_PGSOCKET_DIR" && $3 == "\"/tmp\"" { $3 = "\"/var/run/postgresql\""; print; next } { print }' src/include/pg_config_manual.h > src/include/pg_config_manual.h.new; grep '/var/run/postgresql' src/include/pg_config_manual.h.new; mv src/include/pg_config_manual.h.new src/include/pg_config_manual.h; gnuArch="$(dpkg-architecture --query DEB_BUILD_GNU_TYPE)"; export LLVM_CONFIG="/usr/lib/llvm21/bin/llvm-config"; export CLANG=clang-21; ./configure --enable-option-checking=fatal --build="$gnuArch" --enable-integer-datetimes --enable-tap-tests --disable-rpath --with-uuid=e2fs --with-pgport=5432 --with-system-tzdata=/usr/share/zoneinfo --prefix=/usr/local --with-includes=/usr/local/include --with-libraries=/usr/local/lib --with-gssapi --with-icu --with-ldap --with-libcurl --with-liburing --with-libxml --with-libxslt --with-llvm --with-lz4 --with-openssl --with-perl --with-python --with-tcl --with-zstd ; make -j "$(nproc)" world-bin; make install-world-bin; make -C contrib install; runDeps="$( scanelf --needed --nobanner --format '%n#p' --recursive /usr/local | tr ',' '\n' | sort -u | awk 'system("[ -e /usr/local/lib/" $1 " ]") == 0 { next } { print "so:" $1 }' | grep -v -e perl -e python -e tcl )"; apk add --no-cache --virtual .postgresql-rundeps $runDeps bash tzdata zstd icu-data-full $([ "$(apk --print-arch)" != 'ppc64le' ] && echo 'nss_wrapper') ; apk del --no-network .build-deps; cd /; rm -rf /usr/src/postgresql /usr/local/share/doc /usr/local/share/man ; postgres --version # buildkit
2026-07-07 17:47:22 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c set -eux; cp -v /usr/local/share/postgresql/postgresql.conf.sample /usr/local/share/postgresql/postgresql.conf.sample.orig; sed -ri "s!^#?(listen_addresses)\s*=\s*\S+.*!\1 = '*'!" /usr/local/share/postgresql/postgresql.conf.sample; grep -F "listen_addresses = '*'" /usr/local/share/postgresql/postgresql.conf.sample # buildkit
2026-07-07 17:47:22 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c install --verbose --directory --owner postgres --group postgres --mode 3777 /var/run/postgresql # buildkit
2026-07-07 17:47:22 UTC (buildkit.dockerfile.v0)ENV PGDATA=/var/lib/postgresql/18/docker
2026-07-07 17:47:22 UTC (buildkit.dockerfile.v0)VOLUME [/var/lib/postgresql]
2026-07-07 17:47:22 UTC (buildkit.dockerfile.v0)COPY docker-entrypoint.sh docker-ensure-initdb.sh /usr/local/bin/ # buildkit
2026-07-07 17:47:22 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c ln -sT docker-ensure-initdb.sh /usr/local/bin/docker-enforce-initdb.sh # buildkit
2026-07-07 17:47:22 UTC (buildkit.dockerfile.v0)ENTRYPOINT ["docker-entrypoint.sh"]
2026-07-07 17:47:22 UTC (buildkit.dockerfile.v0)STOPSIGNAL SIGINT
2026-07-07 17:47:22 UTC (buildkit.dockerfile.v0)EXPOSE map[5432/tcp:{}]
2026-07-07 17:47:22 UTC (buildkit.dockerfile.v0)CMD ["postgres"]
2026-07-16 12:56:44 UTC (buildkit.dockerfile.v0)ARG OSS_ONLY= -DAPACHE_ONLY=1
2026-07-16 12:56:44 UTC (buildkit.dockerfile.v0)LABEL maintainer=Timescale https://www.timescale.com
2026-07-16 12:56:44 UTC (buildkit.dockerfile.v0)ARG PG_VERSION=18
2026-07-16 12:56:44 UTC (buildkit.dockerfile.v0)ARG PG_MAJOR_VERSION=18
2026-07-16 12:56:44 UTC (buildkit.dockerfile.v0)ARG ALPINE_VERSION=3.23
2026-07-16 12:56:44 UTC (buildkit.dockerfile.v0)RUN |4 OSS_ONLY= -DAPACHE_ONLY=1 PG_VERSION=18 PG_MAJOR_VERSION=18 ALPINE_VERSION=3.23 /bin/sh -c set -ex; echo "https://dl-cdn.alpinelinux.org/alpine/v${ALPINE_VERSION}/community/" >> /etc/apk/repositories; apk update; if [ "$PG_MAJOR_VERSION" -ge 16 ] && [ "$PG_MAJOR_VERSION" -lt 18 ] ; then apk add --no-cache postgresql${PG_VERSION}-plpython3; fi # buildkit
2026-07-16 12:56:44 UTC (buildkit.dockerfile.v0)ARG PGVECTOR_VERSION=v0.8.1
2026-07-16 12:56:44 UTC (buildkit.dockerfile.v0)ARG PG_VERSION=18
2026-07-16 12:56:44 UTC (buildkit.dockerfile.v0)ARG CLANG_VERSION=21
2026-07-16 12:56:44 UTC (buildkit.dockerfile.v0)ARG PG_MAJOR_VERSION=18
2026-07-16 12:58:22 UTC (buildkit.dockerfile.v0)RUN |6 OSS_ONLY= -DAPACHE_ONLY=1 PG_VERSION=18 PG_MAJOR_VERSION=18 ALPINE_VERSION=3.23 PGVECTOR_VERSION=v0.8.1 CLANG_VERSION=21 /bin/sh -c set -ex; apk update; apk add --no-cache --virtual .vector-deps postgresql${PG_VERSION}-dev git build-base clang${CLANG_VERSION} llvm${CLANG_VERSION}-dev llvm${CLANG_VERSION}; git clone --branch ${PGVECTOR_VERSION} https://github.com/pgvector/pgvector.git /build/pgvector; cd /build/pgvector; make OPTFLAGS=""; make install; apk del .vector-deps # buildkit
2026-07-16 12:58:22 UTC (buildkit.dockerfile.v0)COPY docker-entrypoint-initdb.d/* /docker-entrypoint-initdb.d/ # buildkit
2026-07-16 12:59:42 UTC (buildkit.dockerfile.v0)COPY /go/bin/* /usr/local/bin/ # buildkit
2026-07-16 12:59:42 UTC (buildkit.dockerfile.v0)COPY /usr/local/lib/postgresql/timescaledb-*.so /usr/local/lib/postgresql/ # buildkit
2026-07-16 12:59:43 UTC (buildkit.dockerfile.v0)COPY /usr/local/share/postgresql/extension/timescaledb--*.sql /usr/local/share/postgresql/extension/ # buildkit
2026-07-16 12:59:43 UTC (buildkit.dockerfile.v0)ARG TS_VERSION=2.28.3
2026-07-16 13:03:30 UTC (buildkit.dockerfile.v0)RUN |7 OSS_ONLY= -DAPACHE_ONLY=1 PG_VERSION=18 PG_MAJOR_VERSION=18 ALPINE_VERSION=3.23 PGVECTOR_VERSION=v0.8.1 CLANG_VERSION=21 TS_VERSION=2.28.3 /bin/sh -c set -ex && apk add --no-cache --virtual .fetch-deps ca-certificates git openssl openssl-dev tar && mkdir -p /build/ && git clone https://github.com/timescale/timescaledb /build/timescaledb && apk add --no-cache --virtual .build-deps coreutils dpkg-dev dpkg icu-dev gcc libc-dev make cmake util-linux-dev && cd /build/timescaledb && rm -fr build && git checkout ${TS_VERSION} && ./bootstrap -DCMAKE_BUILD_TYPE=RelWithDebInfo -DREGRESS_CHECKS=OFF -DTAP_CHECKS=OFF -DGENERATE_DOWNGRADE_SCRIPT=ON -DWARNINGS_AS_ERRORS=OFF -DPROJECT_INSTALL_METHOD="docker"${OSS_ONLY} && cd build && make install && cd ~ && if [ "${OSS_ONLY}" != "" ]; then rm -f $(pg_config --pkglibdir)/timescaledb-tsl-*.so; fi && apk del .fetch-deps .build-deps && rm -rf /build && sed -r -i "s/[#]*\s*(shared_preload_libraries)\s*=\s*'(.*)'/\1 = 'timescaledb,\2'/;s/,'/'/" /usr/local/share/postgresql/postgresql.conf.sample # buildkit
2026-07-16 13:02:43 UTC
230 MB
llvm21-dev clang21
GOSU_VERSION1.19
LANGen_US.utf8
PATH/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
PGDATA/var/lib/postgresql/18/docker
PG_MAJOR18
PG_SHA25681a81ec695fb0c7901407defaa1d2f7973617154cf27ba74e3a7ab8e64436094
PG_VERSION18.4
[#000] sha256:e6f31ffc071e5560b82a8685fba8214954e5721e3e49269d00958316edbe89fe - 1.59% (3.67 MB)
[#001] sha256:631bbf9e8dea966cb86e79c088477814014aa65fb27a6dfed0cd9143ea1c69a1 - 0.0% (973 Bytes)
[#002] sha256:5e69f5eef83440b91e16779523a721ee14052457049614330b7b31b82759d3c5 - 0.37% (879 KB)
[#003] sha256:3e4595423804c389e78cc2d8b4c12aff8b3ded21db4b4f116912af4d1695045c - 0.0% (116 Bytes)
[#004] sha256:5e24fcc8aa9f683590b3ca206b09ac744d24cf3bf51659991e85704aedfed582 - 47.47% (109 MB)
[#005] sha256:85b6281929c3754b6393b4ff70281adbea395b3da6f064cbcdfb7138a2165dc9 - 0.01% (18.5 KB)
[#006] sha256:2a3953138496619d3f2f16a012bc00f8468fa9528e85991e99907be37c1c1104 - 0.0% (128 Bytes)
[#007] sha256:6a06ce8e8d0c46dff9b55358bf19b57f56a3c29863ef4a75ebcb01b71a0457ae - 0.0% (5.97 KB)
[#008] sha256:dfc1be22420ad46872516085aee00664021a4599a716a4c2445ac46a86ccfa8c - 0.0% (184 Bytes)
[#009] sha256:c18d1406e5c05c7e2547c3b8aaed99dfc45f0743f06a64ed303bb680f5057490 - 1.21% (2.78 MB)
[#010] sha256:1db80babe6b3b426fc514c2370c450bfb6757b55b76ac19e07d0f152547f2493 - 2.57% (5.91 MB)
[#011] sha256:53dc72010954e4de1a95866ff90fb5043733a6e278cf12b9df5f7884907d76af - 0.0% (2.08 KB)
[#012] sha256:d6cf59e909fc8e5fc7a59e370846202b9b2427652e61c38c4cf3ff30aa311c00 - 3.77% (8.69 MB)
[#013] sha256:92fc3c8d39dd7f03bdc1059372281f7e255ebe179bca62a60a366b2c756c9f78 - 22.25% (51.3 MB)
[#014] sha256:c1ff35fe0355bb5e2252cc93593d4d139e354982c831fbcbf33d06cf95314ca3 - 18.02% (41.5 MB)
[#015] sha256:20ba50943c6b41c06eb58e11ff8b0f96aa51b5612fe60968200f21cb94910701 - 2.74% (6.32 MB)
ADD alpine-minirootfs-3.23.5-x86_64.tar.gz / # buildkit
2026-06-22 19:20:09 UTC (buildkit.dockerfile.v0)CMD ["/bin/sh"]
2026-07-07 17:44:03 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c set -eux; addgroup -g 70 -S postgres; adduser -u 70 -S -D -G postgres -H -h /var/lib/postgresql -s /bin/sh postgres; install --verbose --directory --owner postgres --group postgres --mode 1777 /var/lib/postgresql # buildkit
2026-07-07 17:44:05 UTC (buildkit.dockerfile.v0)ENV GOSU_VERSION=1.19
2026-07-07 17:44: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-07-07 17:44:05 UTC (buildkit.dockerfile.v0)ENV LANG=en_US.utf8
2026-07-07 17:44:05 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c mkdir /docker-entrypoint-initdb.d # buildkit
2026-07-07 17:44:05 UTC (buildkit.dockerfile.v0)ENV PG_MAJOR=18
2026-07-07 17:44:05 UTC (buildkit.dockerfile.v0)ENV PG_VERSION=18.4
2026-07-07 17:44:05 UTC (buildkit.dockerfile.v0)ENV PG_SHA256=81a81ec695fb0c7901407defaa1d2f7973617154cf27ba74e3a7ab8e64436094
2026-07-07 17:44:05 UTC (buildkit.dockerfile.v0)ENV DOCKER_PG_LLVM_DEPS=llvm21-dev clang21
2026-07-07 17:46:34 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c set -eux; wget -O postgresql.tar.bz2 "https://ftp.postgresql.org/pub/source/v$PG_VERSION/postgresql-$PG_VERSION.tar.bz2"; echo "$PG_SHA256 *postgresql.tar.bz2" | sha256sum -c -; mkdir -p /usr/src/postgresql; tar --extract --file postgresql.tar.bz2 --directory /usr/src/postgresql --strip-components 1 ; rm postgresql.tar.bz2; apk add --no-cache --virtual .build-deps $DOCKER_PG_LLVM_DEPS bison coreutils dpkg-dev dpkg flex g++ gcc krb5-dev libc-dev libedit-dev libxml2-dev libxslt-dev linux-headers make openldap-dev openssl-dev perl-dev perl-ipc-run perl-utils python3-dev tcl-dev util-linux-dev zlib-dev icu-dev lz4-dev zstd-dev curl-dev liburing-dev ; cd /usr/src/postgresql; awk '$1 == "#define" && $2 == "DEFAULT_PGSOCKET_DIR" && $3 == "\"/tmp\"" { $3 = "\"/var/run/postgresql\""; print; next } { print }' src/include/pg_config_manual.h > src/include/pg_config_manual.h.new; grep '/var/run/postgresql' src/include/pg_config_manual.h.new; mv src/include/pg_config_manual.h.new src/include/pg_config_manual.h; gnuArch="$(dpkg-architecture --query DEB_BUILD_GNU_TYPE)"; export LLVM_CONFIG="/usr/lib/llvm21/bin/llvm-config"; export CLANG=clang-21; ./configure --enable-option-checking=fatal --build="$gnuArch" --enable-integer-datetimes --enable-tap-tests --disable-rpath --with-uuid=e2fs --with-pgport=5432 --with-system-tzdata=/usr/share/zoneinfo --prefix=/usr/local --with-includes=/usr/local/include --with-libraries=/usr/local/lib --with-gssapi --with-icu --with-ldap --with-libcurl --with-liburing --with-libxml --with-libxslt --with-llvm --with-lz4 --with-openssl --with-perl --with-python --with-tcl --with-zstd ; make -j "$(nproc)" world-bin; make install-world-bin; make -C contrib install; runDeps="$( scanelf --needed --nobanner --format '%n#p' --recursive /usr/local | tr ',' '\n' | sort -u | awk 'system("[ -e /usr/local/lib/" $1 " ]") == 0 { next } { print "so:" $1 }' | grep -v -e perl -e python -e tcl )"; apk add --no-cache --virtual .postgresql-rundeps $runDeps bash tzdata zstd icu-data-full $([ "$(apk --print-arch)" != 'ppc64le' ] && echo 'nss_wrapper') ; apk del --no-network .build-deps; cd /; rm -rf /usr/src/postgresql /usr/local/share/doc /usr/local/share/man ; postgres --version # buildkit
2026-07-07 17:46:34 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-07-07 17:46:34 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c install --verbose --directory --owner postgres --group postgres --mode 3777 /var/run/postgresql # buildkit
2026-07-07 17:46:34 UTC (buildkit.dockerfile.v0)ENV PGDATA=/var/lib/postgresql/18/docker
2026-07-07 17:46:34 UTC (buildkit.dockerfile.v0)VOLUME [/var/lib/postgresql]
2026-07-07 17:46:34 UTC (buildkit.dockerfile.v0)COPY docker-entrypoint.sh docker-ensure-initdb.sh /usr/local/bin/ # buildkit
2026-07-07 17:46:34 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c ln -sT docker-ensure-initdb.sh /usr/local/bin/docker-enforce-initdb.sh # buildkit
2026-07-07 17:46:34 UTC (buildkit.dockerfile.v0)ENTRYPOINT ["docker-entrypoint.sh"]
2026-07-07 17:46:34 UTC (buildkit.dockerfile.v0)STOPSIGNAL SIGINT
2026-07-07 17:46:34 UTC (buildkit.dockerfile.v0)EXPOSE map[5432/tcp:{}]
2026-07-07 17:46:34 UTC (buildkit.dockerfile.v0)CMD ["postgres"]
2026-07-16 12:56:48 UTC (buildkit.dockerfile.v0)ARG OSS_ONLY= -DAPACHE_ONLY=1
2026-07-16 12:56:48 UTC (buildkit.dockerfile.v0)LABEL maintainer=Timescale https://www.timescale.com
2026-07-16 12:56:48 UTC (buildkit.dockerfile.v0)ARG PG_VERSION=18
2026-07-16 12:56:48 UTC (buildkit.dockerfile.v0)ARG PG_MAJOR_VERSION=18
2026-07-16 12:56:48 UTC (buildkit.dockerfile.v0)ARG ALPINE_VERSION=3.23
2026-07-16 12:56:48 UTC (buildkit.dockerfile.v0)RUN |4 OSS_ONLY= -DAPACHE_ONLY=1 PG_VERSION=18 PG_MAJOR_VERSION=18 ALPINE_VERSION=3.23 /bin/sh -c set -ex; echo "https://dl-cdn.alpinelinux.org/alpine/v${ALPINE_VERSION}/community/" >> /etc/apk/repositories; apk update; if [ "$PG_MAJOR_VERSION" -ge 16 ] && [ "$PG_MAJOR_VERSION" -lt 18 ] ; then apk add --no-cache postgresql${PG_VERSION}-plpython3; fi # buildkit
2026-07-16 12:56:48 UTC (buildkit.dockerfile.v0)ARG PGVECTOR_VERSION=v0.8.1
2026-07-16 12:56:48 UTC (buildkit.dockerfile.v0)ARG PG_VERSION=18
2026-07-16 12:56:48 UTC (buildkit.dockerfile.v0)ARG CLANG_VERSION=21
2026-07-16 12:56:48 UTC (buildkit.dockerfile.v0)ARG PG_MAJOR_VERSION=18
2026-07-16 12:58:28 UTC (buildkit.dockerfile.v0)RUN |6 OSS_ONLY= -DAPACHE_ONLY=1 PG_VERSION=18 PG_MAJOR_VERSION=18 ALPINE_VERSION=3.23 PGVECTOR_VERSION=v0.8.1 CLANG_VERSION=21 /bin/sh -c set -ex; apk update; apk add --no-cache --virtual .vector-deps postgresql${PG_VERSION}-dev git build-base clang${CLANG_VERSION} llvm${CLANG_VERSION}-dev llvm${CLANG_VERSION}; git clone --branch ${PGVECTOR_VERSION} https://github.com/pgvector/pgvector.git /build/pgvector; cd /build/pgvector; make OPTFLAGS=""; make install; apk del .vector-deps # buildkit
2026-07-16 12:58:28 UTC (buildkit.dockerfile.v0)COPY docker-entrypoint-initdb.d/* /docker-entrypoint-initdb.d/ # buildkit
2026-07-16 12:59:12 UTC (buildkit.dockerfile.v0)COPY /go/bin/* /usr/local/bin/ # buildkit
2026-07-16 12:59:12 UTC (buildkit.dockerfile.v0)COPY /usr/local/lib/postgresql/timescaledb-*.so /usr/local/lib/postgresql/ # buildkit
2026-07-16 12:59:13 UTC (buildkit.dockerfile.v0)COPY /usr/local/share/postgresql/extension/timescaledb--*.sql /usr/local/share/postgresql/extension/ # buildkit
2026-07-16 12:59:13 UTC (buildkit.dockerfile.v0)ARG TS_VERSION=2.28.3
2026-07-16 13:02:43 UTC (buildkit.dockerfile.v0)RUN |7 OSS_ONLY= -DAPACHE_ONLY=1 PG_VERSION=18 PG_MAJOR_VERSION=18 ALPINE_VERSION=3.23 PGVECTOR_VERSION=v0.8.1 CLANG_VERSION=21 TS_VERSION=2.28.3 /bin/sh -c set -ex && apk add --no-cache --virtual .fetch-deps ca-certificates git openssl openssl-dev tar && mkdir -p /build/ && git clone https://github.com/timescale/timescaledb /build/timescaledb && apk add --no-cache --virtual .build-deps coreutils dpkg-dev dpkg icu-dev gcc libc-dev make cmake util-linux-dev && cd /build/timescaledb && rm -fr build && git checkout ${TS_VERSION} && ./bootstrap -DCMAKE_BUILD_TYPE=RelWithDebInfo -DREGRESS_CHECKS=OFF -DTAP_CHECKS=OFF -DGENERATE_DOWNGRADE_SCRIPT=ON -DWARNINGS_AS_ERRORS=OFF -DPROJECT_INSTALL_METHOD="docker"${OSS_ONLY} && cd build && make install && cd ~ && if [ "${OSS_ONLY}" != "" ]; then rm -f $(pg_config --pkglibdir)/timescaledb-tsl-*.so; fi && apk del .fetch-deps .build-deps && rm -rf /build && sed -r -i "s/[#]*\s*(shared_preload_libraries)\s*=\s*'(.*)'/\1 = 'timescaledb,\2'/;s/,'/'/" /usr/local/share/postgresql/postgresql.conf.sample # buildkit
2026-07-16 13:26:17 UTC
225 MB
llvm21-dev clang21
GOSU_VERSION1.19
LANGen_US.utf8
PATH/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
PGDATA/var/lib/postgresql/18/docker
PG_MAJOR18
PG_SHA25681a81ec695fb0c7901407defaa1d2f7973617154cf27ba74e3a7ab8e64436094
PG_VERSION18.4
[#000] sha256:e10b64a07fc8ab4702bfbad629edb6572f190358cdb4b2b7392040bdef454c0f - 1.51% (3.39 MB)
[#001] sha256:abca7890667e3682f1cc2f24e827d2a62456e29ad35bb810b5869c082431ed9b - 0.0% (971 Bytes)
[#002] sha256:e22bb62b1a55edfaa87f8c32944c47b8ce69bd6731d7f886f2e12803364599ff - 0.37% (844 KB)
[#003] sha256:f3ba97dc509063438e19f891f6187a96c4e575d52d7901bf63c93d5a60f0cd6a - 0.0% (116 Bytes)
[#004] sha256:4f3d6c48bb96977eb965995f3850edf4090d654db50411f880303e5c2b584d3f - 47.19% (106 MB)
[#005] sha256:9e6a548522716214d4f0b7471a5c7ce63343dc36353a81161eac198aee40f44e - 0.01% (18.5 KB)
[#006] sha256:5635b2c7f90fc2678bba09ea4dda939c3532f90752e59f619715f53bc339a4b7 - 0.0% (128 Bytes)
[#007] sha256:10de071a5f7ad4ec59ca9e016fb7a8502b100c0fb5e07c371a85d0f25909d4bf - 0.0% (5.97 KB)
[#008] sha256:c11e835c6120fe234b625dc44c7febbdb1f2a23af4d4e1062ca2c38da16cdb4b - 0.0% (183 Bytes)
[#009] sha256:739c81ff3a72a278de9ea6511416b074e80eac825ee95af334995100d5db6fc2 - 1.07% (2.4 MB)
[#010] sha256:f13f8d10c29ba86e446f5a7da24eaa4e40e1e829f5d9afdf48f1b361c758a9e7 - 2.46% (5.52 MB)
[#011] sha256:a03e6e7de099b3a52486716006b664d55ea3283639892e1e68376851050f1af5 - 0.0% (2.08 KB)
[#012] sha256:2153a2355ec7a68e4197cafd9d39564ba67402ed9fbe67fa9d021394c30898bb - 3.65% (8.21 MB)
[#013] sha256:f2a55f7558488bb013857e13f640d2c27f562fd390767ecbf0fd03995e4ae724 - 22.47% (50.5 MB)
[#014] sha256:6adc6dbc8b935dc18b0bac52639ca0ce595c0d90b8b74a14a0727cfa3cc2fbba - 18.48% (41.5 MB)
[#015] sha256:8980d682a891bd71ef2717ac79d1c47bbc2a626c51d55cbc39f955e44ea283dc - 2.79% (6.27 MB)
ADD alpine-minirootfs-3.23.5-armhf.tar.gz / # buildkit
2026-06-22 19:20:21 UTC (buildkit.dockerfile.v0)CMD ["/bin/sh"]
2026-07-07 17:43:08 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c set -eux; addgroup -g 70 -S postgres; adduser -u 70 -S -D -G postgres -H -h /var/lib/postgresql -s /bin/sh postgres; install --verbose --directory --owner postgres --group postgres --mode 1777 /var/lib/postgresql # buildkit
2026-07-07 17:43:12 UTC (buildkit.dockerfile.v0)ENV GOSU_VERSION=1.19
2026-07-07 17:43:12 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-07-07 17:43:12 UTC (buildkit.dockerfile.v0)ENV LANG=en_US.utf8
2026-07-07 17:43:12 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c mkdir /docker-entrypoint-initdb.d # buildkit
2026-07-07 17:43:12 UTC (buildkit.dockerfile.v0)ENV PG_MAJOR=18
2026-07-07 17:43:12 UTC (buildkit.dockerfile.v0)ENV PG_VERSION=18.4
2026-07-07 17:43:12 UTC (buildkit.dockerfile.v0)ENV PG_SHA256=81a81ec695fb0c7901407defaa1d2f7973617154cf27ba74e3a7ab8e64436094
2026-07-07 17:43:12 UTC (buildkit.dockerfile.v0)ENV DOCKER_PG_LLVM_DEPS=llvm21-dev clang21
2026-07-07 17:46:32 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c set -eux; wget -O postgresql.tar.bz2 "https://ftp.postgresql.org/pub/source/v$PG_VERSION/postgresql-$PG_VERSION.tar.bz2"; echo "$PG_SHA256 *postgresql.tar.bz2" | sha256sum -c -; mkdir -p /usr/src/postgresql; tar --extract --file postgresql.tar.bz2 --directory /usr/src/postgresql --strip-components 1 ; rm postgresql.tar.bz2; apk add --no-cache --virtual .build-deps $DOCKER_PG_LLVM_DEPS bison coreutils dpkg-dev dpkg flex g++ gcc krb5-dev libc-dev libedit-dev libxml2-dev libxslt-dev linux-headers make openldap-dev openssl-dev perl-dev perl-ipc-run perl-utils python3-dev tcl-dev util-linux-dev zlib-dev icu-dev lz4-dev zstd-dev curl-dev liburing-dev ; cd /usr/src/postgresql; awk '$1 == "#define" && $2 == "DEFAULT_PGSOCKET_DIR" && $3 == "\"/tmp\"" { $3 = "\"/var/run/postgresql\""; print; next } { print }' src/include/pg_config_manual.h > src/include/pg_config_manual.h.new; grep '/var/run/postgresql' src/include/pg_config_manual.h.new; mv src/include/pg_config_manual.h.new src/include/pg_config_manual.h; gnuArch="$(dpkg-architecture --query DEB_BUILD_GNU_TYPE)"; export LLVM_CONFIG="/usr/lib/llvm21/bin/llvm-config"; export CLANG=clang-21; ./configure --enable-option-checking=fatal --build="$gnuArch" --enable-integer-datetimes --enable-tap-tests --disable-rpath --with-uuid=e2fs --with-pgport=5432 --with-system-tzdata=/usr/share/zoneinfo --prefix=/usr/local --with-includes=/usr/local/include --with-libraries=/usr/local/lib --with-gssapi --with-icu --with-ldap --with-libcurl --with-liburing --with-libxml --with-libxslt --with-llvm --with-lz4 --with-openssl --with-perl --with-python --with-tcl --with-zstd ; make -j "$(nproc)" world-bin; make install-world-bin; make -C contrib install; runDeps="$( scanelf --needed --nobanner --format '%n#p' --recursive /usr/local | tr ',' '\n' | sort -u | awk 'system("[ -e /usr/local/lib/" $1 " ]") == 0 { next } { print "so:" $1 }' | grep -v -e perl -e python -e tcl )"; apk add --no-cache --virtual .postgresql-rundeps $runDeps bash tzdata zstd icu-data-full $([ "$(apk --print-arch)" != 'ppc64le' ] && echo 'nss_wrapper') ; apk del --no-network .build-deps; cd /; rm -rf /usr/src/postgresql /usr/local/share/doc /usr/local/share/man ; postgres --version # buildkit
2026-07-07 17:46:32 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-07-07 17:46:32 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c install --verbose --directory --owner postgres --group postgres --mode 3777 /var/run/postgresql # buildkit
2026-07-07 17:46:32 UTC (buildkit.dockerfile.v0)ENV PGDATA=/var/lib/postgresql/18/docker
2026-07-07 17:46:32 UTC (buildkit.dockerfile.v0)VOLUME [/var/lib/postgresql]
2026-07-07 17:46:32 UTC (buildkit.dockerfile.v0)COPY docker-entrypoint.sh docker-ensure-initdb.sh /usr/local/bin/ # buildkit
2026-07-07 17:46:32 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c ln -sT docker-ensure-initdb.sh /usr/local/bin/docker-enforce-initdb.sh # buildkit
2026-07-07 17:46:32 UTC (buildkit.dockerfile.v0)ENTRYPOINT ["docker-entrypoint.sh"]
2026-07-07 17:46:32 UTC (buildkit.dockerfile.v0)STOPSIGNAL SIGINT
2026-07-07 17:46:32 UTC (buildkit.dockerfile.v0)EXPOSE map[5432/tcp:{}]
2026-07-07 17:46:32 UTC (buildkit.dockerfile.v0)CMD ["postgres"]
2026-07-16 12:56:48 UTC (buildkit.dockerfile.v0)ARG OSS_ONLY= -DAPACHE_ONLY=1
2026-07-16 12:56:48 UTC (buildkit.dockerfile.v0)LABEL maintainer=Timescale https://www.timescale.com
2026-07-16 12:56:48 UTC (buildkit.dockerfile.v0)ARG PG_VERSION=18
2026-07-16 12:56:48 UTC (buildkit.dockerfile.v0)ARG PG_MAJOR_VERSION=18
2026-07-16 12:56:48 UTC (buildkit.dockerfile.v0)ARG ALPINE_VERSION=3.23
2026-07-16 12:56:48 UTC (buildkit.dockerfile.v0)RUN |4 OSS_ONLY= -DAPACHE_ONLY=1 PG_VERSION=18 PG_MAJOR_VERSION=18 ALPINE_VERSION=3.23 /bin/sh -c set -ex; echo "https://dl-cdn.alpinelinux.org/alpine/v${ALPINE_VERSION}/community/" >> /etc/apk/repositories; apk update; if [ "$PG_MAJOR_VERSION" -ge 16 ] && [ "$PG_MAJOR_VERSION" -lt 18 ] ; then apk add --no-cache postgresql${PG_VERSION}-plpython3; fi # buildkit
2026-07-16 12:56:48 UTC (buildkit.dockerfile.v0)ARG PGVECTOR_VERSION=v0.8.1
2026-07-16 12:56:48 UTC (buildkit.dockerfile.v0)ARG PG_VERSION=18
2026-07-16 12:56:48 UTC (buildkit.dockerfile.v0)ARG CLANG_VERSION=21
2026-07-16 12:56:48 UTC (buildkit.dockerfile.v0)ARG PG_MAJOR_VERSION=18
2026-07-16 13:08:04 UTC (buildkit.dockerfile.v0)RUN |6 OSS_ONLY= -DAPACHE_ONLY=1 PG_VERSION=18 PG_MAJOR_VERSION=18 ALPINE_VERSION=3.23 PGVECTOR_VERSION=v0.8.1 CLANG_VERSION=21 /bin/sh -c set -ex; apk update; apk add --no-cache --virtual .vector-deps postgresql${PG_VERSION}-dev git build-base clang${CLANG_VERSION} llvm${CLANG_VERSION}-dev llvm${CLANG_VERSION}; git clone --branch ${PGVECTOR_VERSION} https://github.com/pgvector/pgvector.git /build/pgvector; cd /build/pgvector; make OPTFLAGS=""; make install; apk del .vector-deps # buildkit
2026-07-16 13:08:04 UTC (buildkit.dockerfile.v0)COPY docker-entrypoint-initdb.d/* /docker-entrypoint-initdb.d/ # buildkit
2026-07-16 13:13:49 UTC (buildkit.dockerfile.v0)COPY /go/bin/* /usr/local/bin/ # buildkit
2026-07-16 13:13:49 UTC (buildkit.dockerfile.v0)COPY /usr/local/lib/postgresql/timescaledb-*.so /usr/local/lib/postgresql/ # buildkit
2026-07-16 13:13:50 UTC (buildkit.dockerfile.v0)COPY /usr/local/share/postgresql/extension/timescaledb--*.sql /usr/local/share/postgresql/extension/ # buildkit
2026-07-16 13:13:50 UTC (buildkit.dockerfile.v0)ARG TS_VERSION=2.28.3
2026-07-16 13:26:17 UTC (buildkit.dockerfile.v0)RUN |7 OSS_ONLY= -DAPACHE_ONLY=1 PG_VERSION=18 PG_MAJOR_VERSION=18 ALPINE_VERSION=3.23 PGVECTOR_VERSION=v0.8.1 CLANG_VERSION=21 TS_VERSION=2.28.3 /bin/sh -c set -ex && apk add --no-cache --virtual .fetch-deps ca-certificates git openssl openssl-dev tar && mkdir -p /build/ && git clone https://github.com/timescale/timescaledb /build/timescaledb && apk add --no-cache --virtual .build-deps coreutils dpkg-dev dpkg icu-dev gcc libc-dev make cmake util-linux-dev && cd /build/timescaledb && rm -fr build && git checkout ${TS_VERSION} && ./bootstrap -DCMAKE_BUILD_TYPE=RelWithDebInfo -DREGRESS_CHECKS=OFF -DTAP_CHECKS=OFF -DGENERATE_DOWNGRADE_SCRIPT=ON -DWARNINGS_AS_ERRORS=OFF -DPROJECT_INSTALL_METHOD="docker"${OSS_ONLY} && cd build && make install && cd ~ && if [ "${OSS_ONLY}" != "" ]; then rm -f $(pg_config --pkglibdir)/timescaledb-tsl-*.so; fi && apk del .fetch-deps .build-deps && rm -rf /build && sed -r -i "s/[#]*\s*(shared_preload_libraries)\s*=\s*'(.*)'/\1 = 'timescaledb,\2'/;s/,'/'/" /usr/local/share/postgresql/postgresql.conf.sample # buildkit
2026-07-16 13:26:18 UTC
219 MB
llvm21-dev clang21
GOSU_VERSION1.19
LANGen_US.utf8
PATH/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
PGDATA/var/lib/postgresql/18/docker
PG_MAJOR18
PG_SHA25681a81ec695fb0c7901407defaa1d2f7973617154cf27ba74e3a7ab8e64436094
PG_VERSION18.4
[#000] sha256:177f8e1e6f831989320cf2b59b7eabd21cbf36804c79506912f3a81caff426f2 - 1.42% (3.11 MB)
[#001] sha256:e47293f69212a788de38439975f4229697e702a894bf417154c5992860b06842 - 0.0% (973 Bytes)
[#002] sha256:07c883cdac544e9ccaaa246e1321f11857e676a0cb0ee161bc9a21a8fea62f7b - 0.38% (844 KB)
[#003] sha256:24dff72bfa468b3fe93ef112dc6a9cfac581c913f3d8f959552b3f3e835cf487 - 0.0% (116 Bytes)
[#004] sha256:0ea484c195af33832f9ae9189af3d9b0e666493232d3e7041e6df8a1685560b5 - 45.83% (100 MB)
[#005] sha256:a85df93ba4951e7e91180b0e0075bcb40a45488ded07a8a1c501dba6b963365d - 0.01% (18.5 KB)
[#006] sha256:889de120b00f2a6c0ea9c4c4e4e1cc2a49e034580e6c7765e143d0e18fb3e388 - 0.0% (128 Bytes)
[#007] sha256:301949b41530020a089891483314b6d83e553104734ad6eb9659facf6b78d802 - 0.0% (5.97 KB)
[#008] sha256:8893c6c8dbcf663d090ac37bd78d17dfaa357a5f69ef208ca27b84ce713bd612 - 0.0% (184 Bytes)
[#009] sha256:840e34ddcec346d204420555417ed77f255116f188786c8b0ad74fc3faef11ee - 1.19% (2.61 MB)
[#010] sha256:eb3a03b587c1aef5a2057aeb5df86bcbc32da35614af873ba8d2e26e70be53de - 2.58% (5.64 MB)
[#011] sha256:be856146b598840464a3a0dd8918129ef4aa14ebf1646f82ed206826f9ec4c0c - 0.0% (2.08 KB)
[#012] sha256:1077bf2c9d650376414bbf3f0afd9bd1774c5cf5032512e59df89516e8bf445d - 3.75% (8.19 MB)
[#013] sha256:00b80535d80b0ec6c404ba581bb83addf2e329cd43ef05989ccf84dee5a8605b - 22.97% (50.2 MB)
[#014] sha256:36d8db89314e6a3fb97f4f12e804782fe135134c5270ceba391736400015403a - 19.0% (41.5 MB)
[#015] sha256:815d4b9a39d18f24bf20d2e74da0d26a1dc5a205406725f272754c173e9c5dad - 2.86% (6.25 MB)
ADD alpine-minirootfs-3.23.5-armv7.tar.gz / # buildkit
2026-06-22 19:20:18 UTC (buildkit.dockerfile.v0)CMD ["/bin/sh"]
2026-07-07 18:11:15 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c set -eux; addgroup -g 70 -S postgres; adduser -u 70 -S -D -G postgres -H -h /var/lib/postgresql -s /bin/sh postgres; install --verbose --directory --owner postgres --group postgres --mode 1777 /var/lib/postgresql # buildkit
2026-07-07 18:11:18 UTC (buildkit.dockerfile.v0)ENV GOSU_VERSION=1.19
2026-07-07 18:11:18 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-07-07 18:11:18 UTC (buildkit.dockerfile.v0)ENV LANG=en_US.utf8
2026-07-07 18:11:18 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c mkdir /docker-entrypoint-initdb.d # buildkit
2026-07-07 18:11:18 UTC (buildkit.dockerfile.v0)ENV PG_MAJOR=18
2026-07-07 18:11:18 UTC (buildkit.dockerfile.v0)ENV PG_VERSION=18.4
2026-07-07 18:11:18 UTC (buildkit.dockerfile.v0)ENV PG_SHA256=81a81ec695fb0c7901407defaa1d2f7973617154cf27ba74e3a7ab8e64436094
2026-07-07 18:11:18 UTC (buildkit.dockerfile.v0)ENV DOCKER_PG_LLVM_DEPS=llvm21-dev clang21
2026-07-07 18:14:09 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c set -eux; wget -O postgresql.tar.bz2 "https://ftp.postgresql.org/pub/source/v$PG_VERSION/postgresql-$PG_VERSION.tar.bz2"; echo "$PG_SHA256 *postgresql.tar.bz2" | sha256sum -c -; mkdir -p /usr/src/postgresql; tar --extract --file postgresql.tar.bz2 --directory /usr/src/postgresql --strip-components 1 ; rm postgresql.tar.bz2; apk add --no-cache --virtual .build-deps $DOCKER_PG_LLVM_DEPS bison coreutils dpkg-dev dpkg flex g++ gcc krb5-dev libc-dev libedit-dev libxml2-dev libxslt-dev linux-headers make openldap-dev openssl-dev perl-dev perl-ipc-run perl-utils python3-dev tcl-dev util-linux-dev zlib-dev icu-dev lz4-dev zstd-dev curl-dev liburing-dev ; cd /usr/src/postgresql; awk '$1 == "#define" && $2 == "DEFAULT_PGSOCKET_DIR" && $3 == "\"/tmp\"" { $3 = "\"/var/run/postgresql\""; print; next } { print }' src/include/pg_config_manual.h > src/include/pg_config_manual.h.new; grep '/var/run/postgresql' src/include/pg_config_manual.h.new; mv src/include/pg_config_manual.h.new src/include/pg_config_manual.h; gnuArch="$(dpkg-architecture --query DEB_BUILD_GNU_TYPE)"; export LLVM_CONFIG="/usr/lib/llvm21/bin/llvm-config"; export CLANG=clang-21; ./configure --enable-option-checking=fatal --build="$gnuArch" --enable-integer-datetimes --enable-tap-tests --disable-rpath --with-uuid=e2fs --with-pgport=5432 --with-system-tzdata=/usr/share/zoneinfo --prefix=/usr/local --with-includes=/usr/local/include --with-libraries=/usr/local/lib --with-gssapi --with-icu --with-ldap --with-libcurl --with-liburing --with-libxml --with-libxslt --with-llvm --with-lz4 --with-openssl --with-perl --with-python --with-tcl --with-zstd ; make -j "$(nproc)" world-bin; make install-world-bin; make -C contrib install; runDeps="$( scanelf --needed --nobanner --format '%n#p' --recursive /usr/local | tr ',' '\n' | sort -u | awk 'system("[ -e /usr/local/lib/" $1 " ]") == 0 { next } { print "so:" $1 }' | grep -v -e perl -e python -e tcl )"; apk add --no-cache --virtual .postgresql-rundeps $runDeps bash tzdata zstd icu-data-full $([ "$(apk --print-arch)" != 'ppc64le' ] && echo 'nss_wrapper') ; apk del --no-network .build-deps; cd /; rm -rf /usr/src/postgresql /usr/local/share/doc /usr/local/share/man ; postgres --version # buildkit
2026-07-07 18:14:09 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-07-07 18:14:09 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c install --verbose --directory --owner postgres --group postgres --mode 3777 /var/run/postgresql # buildkit
2026-07-07 18:14:09 UTC (buildkit.dockerfile.v0)ENV PGDATA=/var/lib/postgresql/18/docker
2026-07-07 18:14:09 UTC (buildkit.dockerfile.v0)VOLUME [/var/lib/postgresql]
2026-07-07 18:14:09 UTC (buildkit.dockerfile.v0)COPY docker-entrypoint.sh docker-ensure-initdb.sh /usr/local/bin/ # buildkit
2026-07-07 18:14:09 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c ln -sT docker-ensure-initdb.sh /usr/local/bin/docker-enforce-initdb.sh # buildkit
2026-07-07 18:14:09 UTC (buildkit.dockerfile.v0)ENTRYPOINT ["docker-entrypoint.sh"]
2026-07-07 18:14:09 UTC (buildkit.dockerfile.v0)STOPSIGNAL SIGINT
2026-07-07 18:14:09 UTC (buildkit.dockerfile.v0)EXPOSE map[5432/tcp:{}]
2026-07-07 18:14:09 UTC (buildkit.dockerfile.v0)CMD ["postgres"]
2026-07-16 12:56:48 UTC (buildkit.dockerfile.v0)ARG OSS_ONLY= -DAPACHE_ONLY=1
2026-07-16 12:56:48 UTC (buildkit.dockerfile.v0)LABEL maintainer=Timescale https://www.timescale.com
2026-07-16 12:56:48 UTC (buildkit.dockerfile.v0)ARG PG_VERSION=18
2026-07-16 12:56:48 UTC (buildkit.dockerfile.v0)ARG PG_MAJOR_VERSION=18
2026-07-16 12:56:48 UTC (buildkit.dockerfile.v0)ARG ALPINE_VERSION=3.23
2026-07-16 12:56:48 UTC (buildkit.dockerfile.v0)RUN |4 OSS_ONLY= -DAPACHE_ONLY=1 PG_VERSION=18 PG_MAJOR_VERSION=18 ALPINE_VERSION=3.23 /bin/sh -c set -ex; echo "https://dl-cdn.alpinelinux.org/alpine/v${ALPINE_VERSION}/community/" >> /etc/apk/repositories; apk update; if [ "$PG_MAJOR_VERSION" -ge 16 ] && [ "$PG_MAJOR_VERSION" -lt 18 ] ; then apk add --no-cache postgresql${PG_VERSION}-plpython3; fi # buildkit
2026-07-16 12:56:48 UTC (buildkit.dockerfile.v0)ARG PGVECTOR_VERSION=v0.8.1
2026-07-16 12:56:48 UTC (buildkit.dockerfile.v0)ARG PG_VERSION=18
2026-07-16 12:56:48 UTC (buildkit.dockerfile.v0)ARG CLANG_VERSION=21
2026-07-16 12:56:48 UTC (buildkit.dockerfile.v0)ARG PG_MAJOR_VERSION=18
2026-07-16 13:08:12 UTC (buildkit.dockerfile.v0)RUN |6 OSS_ONLY= -DAPACHE_ONLY=1 PG_VERSION=18 PG_MAJOR_VERSION=18 ALPINE_VERSION=3.23 PGVECTOR_VERSION=v0.8.1 CLANG_VERSION=21 /bin/sh -c set -ex; apk update; apk add --no-cache --virtual .vector-deps postgresql${PG_VERSION}-dev git build-base clang${CLANG_VERSION} llvm${CLANG_VERSION}-dev llvm${CLANG_VERSION}; git clone --branch ${PGVECTOR_VERSION} https://github.com/pgvector/pgvector.git /build/pgvector; cd /build/pgvector; make OPTFLAGS=""; make install; apk del .vector-deps # buildkit
2026-07-16 13:08:12 UTC (buildkit.dockerfile.v0)COPY docker-entrypoint-initdb.d/* /docker-entrypoint-initdb.d/ # buildkit
2026-07-16 13:13:52 UTC (buildkit.dockerfile.v0)COPY /go/bin/* /usr/local/bin/ # buildkit
2026-07-16 13:13:52 UTC (buildkit.dockerfile.v0)COPY /usr/local/lib/postgresql/timescaledb-*.so /usr/local/lib/postgresql/ # buildkit
2026-07-16 13:13:53 UTC (buildkit.dockerfile.v0)COPY /usr/local/share/postgresql/extension/timescaledb--*.sql /usr/local/share/postgresql/extension/ # buildkit
2026-07-16 13:13:53 UTC (buildkit.dockerfile.v0)ARG TS_VERSION=2.28.3
2026-07-16 13:26:18 UTC (buildkit.dockerfile.v0)RUN |7 OSS_ONLY= -DAPACHE_ONLY=1 PG_VERSION=18 PG_MAJOR_VERSION=18 ALPINE_VERSION=3.23 PGVECTOR_VERSION=v0.8.1 CLANG_VERSION=21 TS_VERSION=2.28.3 /bin/sh -c set -ex && apk add --no-cache --virtual .fetch-deps ca-certificates git openssl openssl-dev tar && mkdir -p /build/ && git clone https://github.com/timescale/timescaledb /build/timescaledb && apk add --no-cache --virtual .build-deps coreutils dpkg-dev dpkg icu-dev gcc libc-dev make cmake util-linux-dev && cd /build/timescaledb && rm -fr build && git checkout ${TS_VERSION} && ./bootstrap -DCMAKE_BUILD_TYPE=RelWithDebInfo -DREGRESS_CHECKS=OFF -DTAP_CHECKS=OFF -DGENERATE_DOWNGRADE_SCRIPT=ON -DWARNINGS_AS_ERRORS=OFF -DPROJECT_INSTALL_METHOD="docker"${OSS_ONLY} && cd build && make install && cd ~ && if [ "${OSS_ONLY}" != "" ]; then rm -f $(pg_config --pkglibdir)/timescaledb-tsl-*.so; fi && apk del .fetch-deps .build-deps && rm -rf /build && sed -r -i "s/[#]*\s*(shared_preload_libraries)\s*=\s*'(.*)'/\1 = 'timescaledb,\2'/;s/,'/'/" /usr/local/share/postgresql/postgresql.conf.sample # buildkit
2026-07-16 13:26:47 UTC
227 MB
llvm21-dev clang21
GOSU_VERSION1.19
LANGen_US.utf8
PATH/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
PGDATA/var/lib/postgresql/18/docker
PG_MAJOR18
PG_SHA25681a81ec695fb0c7901407defaa1d2f7973617154cf27ba74e3a7ab8e64436094
PG_VERSION18.4
[#000] sha256:14a4754c352fba4c6c0da8e4f01bb990463c19f7ff63e090073c385bd2bc5046 - 1.76% (3.99 MB)
[#001] sha256:9d09e774dd1543c29ba0b092d1b85650f0d69886239883c8666f26d0a67c9b4a - 0.0% (971 Bytes)
[#002] sha256:624176527f9170b6258c2c28f2af5cdf43afa5ab3e26afdf36f6912f9e10d18c - 0.36% (832 KB)
[#003] sha256:03b07a4b0c035165854047e9d1bf19f9d1398cb1c743a37a0d9acea7bda5821f - 0.0% (116 Bytes)
[#004] sha256:78191dda5c39801441eb79424c752df7cdc6f5b21c862accad1e56431e89a75a - 47.2% (107 MB)
[#005] sha256:39cde87d956b9bbe8e08d6085942a2da773a65aa74ebb41ad0832164b87dfa8d - 0.01% (18.5 KB)
[#006] sha256:a88ddaf20e358c2f1006f813a16c1ac5a5570becae06cb0896e7dde69de3d297 - 0.0% (128 Bytes)
[#007] sha256:2380c3cdc5bf1e68eefe1546fb816c50e98c58e14039a7853f3af48ee6b4ec9e - 0.0% (5.96 KB)
[#008] sha256:284b09ad26ce93f773359acac0fa4254632e9c73fdd6c811efff40a9df90c869 - 0.0% (185 Bytes)
[#009] sha256:5c04184a56246e3edbbb2b5a533721ea7b740298593792a29a1ea2ea7ab05bfd - 1.22% (2.76 MB)
[#010] sha256:9f51c78bfefe4ad86e34ea7b0de121039bca4600ae73b94a72a6e25482cf218c - 2.57% (5.84 MB)
[#011] sha256:be856146b598840464a3a0dd8918129ef4aa14ebf1646f82ed206826f9ec4c0c - 0.0% (2.08 KB)
[#012] sha256:96df49065bf2137511be3b7621131781efeb0c24ae85333b08ea6d18108e7598 - 3.54% (8.02 MB)
[#013] sha256:15750a2226df72f15f210eda6364ca96af539ddde5fce83d42711b1b07ac7d55 - 22.26% (50.5 MB)
[#014] sha256:aaace8919f024268340eae87d6fdefbfa1273318660a9a259bf5c8e32a5bf4b2 - 18.32% (41.5 MB)
[#015] sha256:240d7e7a473a79e465927573de8db56f0dc9d20acda4afa0970bf7fcb539e82e - 2.76% (6.27 MB)
ADD alpine-minirootfs-3.23.5-aarch64.tar.gz / # buildkit
2026-06-22 19:19:57 UTC (buildkit.dockerfile.v0)CMD ["/bin/sh"]
2026-07-07 17:43:33 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c set -eux; addgroup -g 70 -S postgres; adduser -u 70 -S -D -G postgres -H -h /var/lib/postgresql -s /bin/sh postgres; install --verbose --directory --owner postgres --group postgres --mode 1777 /var/lib/postgresql # buildkit
2026-07-07 17:43:35 UTC (buildkit.dockerfile.v0)ENV GOSU_VERSION=1.19
2026-07-07 17:43:35 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-07-07 17:43:35 UTC (buildkit.dockerfile.v0)ENV LANG=en_US.utf8
2026-07-07 17:43:35 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c mkdir /docker-entrypoint-initdb.d # buildkit
2026-07-07 17:43:35 UTC (buildkit.dockerfile.v0)ENV PG_MAJOR=18
2026-07-07 17:43:35 UTC (buildkit.dockerfile.v0)ENV PG_VERSION=18.4
2026-07-07 17:43:35 UTC (buildkit.dockerfile.v0)ENV PG_SHA256=81a81ec695fb0c7901407defaa1d2f7973617154cf27ba74e3a7ab8e64436094
2026-07-07 17:43:35 UTC (buildkit.dockerfile.v0)ENV DOCKER_PG_LLVM_DEPS=llvm21-dev clang21
2026-07-07 17:46:02 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c set -eux; wget -O postgresql.tar.bz2 "https://ftp.postgresql.org/pub/source/v$PG_VERSION/postgresql-$PG_VERSION.tar.bz2"; echo "$PG_SHA256 *postgresql.tar.bz2" | sha256sum -c -; mkdir -p /usr/src/postgresql; tar --extract --file postgresql.tar.bz2 --directory /usr/src/postgresql --strip-components 1 ; rm postgresql.tar.bz2; apk add --no-cache --virtual .build-deps $DOCKER_PG_LLVM_DEPS bison coreutils dpkg-dev dpkg flex g++ gcc krb5-dev libc-dev libedit-dev libxml2-dev libxslt-dev linux-headers make openldap-dev openssl-dev perl-dev perl-ipc-run perl-utils python3-dev tcl-dev util-linux-dev zlib-dev icu-dev lz4-dev zstd-dev curl-dev liburing-dev ; cd /usr/src/postgresql; awk '$1 == "#define" && $2 == "DEFAULT_PGSOCKET_DIR" && $3 == "\"/tmp\"" { $3 = "\"/var/run/postgresql\""; print; next } { print }' src/include/pg_config_manual.h > src/include/pg_config_manual.h.new; grep '/var/run/postgresql' src/include/pg_config_manual.h.new; mv src/include/pg_config_manual.h.new src/include/pg_config_manual.h; gnuArch="$(dpkg-architecture --query DEB_BUILD_GNU_TYPE)"; export LLVM_CONFIG="/usr/lib/llvm21/bin/llvm-config"; export CLANG=clang-21; ./configure --enable-option-checking=fatal --build="$gnuArch" --enable-integer-datetimes --enable-tap-tests --disable-rpath --with-uuid=e2fs --with-pgport=5432 --with-system-tzdata=/usr/share/zoneinfo --prefix=/usr/local --with-includes=/usr/local/include --with-libraries=/usr/local/lib --with-gssapi --with-icu --with-ldap --with-libcurl --with-liburing --with-libxml --with-libxslt --with-llvm --with-lz4 --with-openssl --with-perl --with-python --with-tcl --with-zstd ; make -j "$(nproc)" world-bin; make install-world-bin; make -C contrib install; runDeps="$( scanelf --needed --nobanner --format '%n#p' --recursive /usr/local | tr ',' '\n' | sort -u | awk 'system("[ -e /usr/local/lib/" $1 " ]") == 0 { next } { print "so:" $1 }' | grep -v -e perl -e python -e tcl )"; apk add --no-cache --virtual .postgresql-rundeps $runDeps bash tzdata zstd icu-data-full $([ "$(apk --print-arch)" != 'ppc64le' ] && echo 'nss_wrapper') ; apk del --no-network .build-deps; cd /; rm -rf /usr/src/postgresql /usr/local/share/doc /usr/local/share/man ; postgres --version # buildkit
2026-07-07 17:46:02 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-07-07 17:46:03 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c install --verbose --directory --owner postgres --group postgres --mode 3777 /var/run/postgresql # buildkit
2026-07-07 17:46:03 UTC (buildkit.dockerfile.v0)ENV PGDATA=/var/lib/postgresql/18/docker
2026-07-07 17:46:03 UTC (buildkit.dockerfile.v0)VOLUME [/var/lib/postgresql]
2026-07-07 17:46:03 UTC (buildkit.dockerfile.v0)COPY docker-entrypoint.sh docker-ensure-initdb.sh /usr/local/bin/ # buildkit
2026-07-07 17:46:03 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c ln -sT docker-ensure-initdb.sh /usr/local/bin/docker-enforce-initdb.sh # buildkit
2026-07-07 17:46:03 UTC (buildkit.dockerfile.v0)ENTRYPOINT ["docker-entrypoint.sh"]
2026-07-07 17:46:03 UTC (buildkit.dockerfile.v0)STOPSIGNAL SIGINT
2026-07-07 17:46:03 UTC (buildkit.dockerfile.v0)EXPOSE map[5432/tcp:{}]
2026-07-07 17:46:03 UTC (buildkit.dockerfile.v0)CMD ["postgres"]
2026-07-16 12:56:48 UTC (buildkit.dockerfile.v0)ARG OSS_ONLY= -DAPACHE_ONLY=1
2026-07-16 12:56:48 UTC (buildkit.dockerfile.v0)LABEL maintainer=Timescale https://www.timescale.com
2026-07-16 12:56:48 UTC (buildkit.dockerfile.v0)ARG PG_VERSION=18
2026-07-16 12:56:48 UTC (buildkit.dockerfile.v0)ARG PG_MAJOR_VERSION=18
2026-07-16 12:56:48 UTC (buildkit.dockerfile.v0)ARG ALPINE_VERSION=3.23
2026-07-16 12:56:48 UTC (buildkit.dockerfile.v0)RUN |4 OSS_ONLY= -DAPACHE_ONLY=1 PG_VERSION=18 PG_MAJOR_VERSION=18 ALPINE_VERSION=3.23 /bin/sh -c set -ex; echo "https://dl-cdn.alpinelinux.org/alpine/v${ALPINE_VERSION}/community/" >> /etc/apk/repositories; apk update; if [ "$PG_MAJOR_VERSION" -ge 16 ] && [ "$PG_MAJOR_VERSION" -lt 18 ] ; then apk add --no-cache postgresql${PG_VERSION}-plpython3; fi # buildkit
2026-07-16 12:56:48 UTC (buildkit.dockerfile.v0)ARG PGVECTOR_VERSION=v0.8.1
2026-07-16 12:56:48 UTC (buildkit.dockerfile.v0)ARG PG_VERSION=18
2026-07-16 12:56:48 UTC (buildkit.dockerfile.v0)ARG CLANG_VERSION=21
2026-07-16 12:56:48 UTC (buildkit.dockerfile.v0)ARG PG_MAJOR_VERSION=18
2026-07-16 13:08:12 UTC (buildkit.dockerfile.v0)RUN |6 OSS_ONLY= -DAPACHE_ONLY=1 PG_VERSION=18 PG_MAJOR_VERSION=18 ALPINE_VERSION=3.23 PGVECTOR_VERSION=v0.8.1 CLANG_VERSION=21 /bin/sh -c set -ex; apk update; apk add --no-cache --virtual .vector-deps postgresql${PG_VERSION}-dev git build-base clang${CLANG_VERSION} llvm${CLANG_VERSION}-dev llvm${CLANG_VERSION}; git clone --branch ${PGVECTOR_VERSION} https://github.com/pgvector/pgvector.git /build/pgvector; cd /build/pgvector; make OPTFLAGS=""; make install; apk del .vector-deps # buildkit
2026-07-16 13:08:12 UTC (buildkit.dockerfile.v0)COPY docker-entrypoint-initdb.d/* /docker-entrypoint-initdb.d/ # buildkit
2026-07-16 13:14:13 UTC (buildkit.dockerfile.v0)COPY /go/bin/* /usr/local/bin/ # buildkit
2026-07-16 13:14:13 UTC (buildkit.dockerfile.v0)COPY /usr/local/lib/postgresql/timescaledb-*.so /usr/local/lib/postgresql/ # buildkit
2026-07-16 13:14:14 UTC (buildkit.dockerfile.v0)COPY /usr/local/share/postgresql/extension/timescaledb--*.sql /usr/local/share/postgresql/extension/ # buildkit
2026-07-16 13:14:14 UTC (buildkit.dockerfile.v0)ARG TS_VERSION=2.28.3
2026-07-16 13:26:47 UTC (buildkit.dockerfile.v0)RUN |7 OSS_ONLY= -DAPACHE_ONLY=1 PG_VERSION=18 PG_MAJOR_VERSION=18 ALPINE_VERSION=3.23 PGVECTOR_VERSION=v0.8.1 CLANG_VERSION=21 TS_VERSION=2.28.3 /bin/sh -c set -ex && apk add --no-cache --virtual .fetch-deps ca-certificates git openssl openssl-dev tar && mkdir -p /build/ && git clone https://github.com/timescale/timescaledb /build/timescaledb && apk add --no-cache --virtual .build-deps coreutils dpkg-dev dpkg icu-dev gcc libc-dev make cmake util-linux-dev && cd /build/timescaledb && rm -fr build && git checkout ${TS_VERSION} && ./bootstrap -DCMAKE_BUILD_TYPE=RelWithDebInfo -DREGRESS_CHECKS=OFF -DTAP_CHECKS=OFF -DGENERATE_DOWNGRADE_SCRIPT=ON -DWARNINGS_AS_ERRORS=OFF -DPROJECT_INSTALL_METHOD="docker"${OSS_ONLY} && cd build && make install && cd ~ && if [ "${OSS_ONLY}" != "" ]; then rm -f $(pg_config --pkglibdir)/timescaledb-tsl-*.so; fi && apk del .fetch-deps .build-deps && rm -rf /build && sed -r -i "s/[#]*\s*(shared_preload_libraries)\s*=\s*'(.*)'/\1 = 'timescaledb,\2'/;s/,'/'/" /usr/local/share/postgresql/postgresql.conf.sample # buildkit
Please be careful as this will not just delete the reference but also the actual content!
For example when you have latest and v1.2.3 both pointing to the same image
the deletion of latest will also permanently remove v1.2.3.