Namespace
timescale
Image / Tag
timescaledb:2.28.3-pg17
Content Digest
sha256:9372c578c11ea83c56e4a8f7af6ec4156646722d270f5ade79559ccb101161a9
Pull command
Details
Created

2026-07-16 13:16:22 UTC

Size

455 MB

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

Environment
DOCKER_PG_LLVM_DEPS

llvm21-dev clang21

GOSU_VERSION

1.19

LANG

en_US.utf8

PATH

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

PGDATA

/var/lib/postgresql/data

PG_MAJOR

17

PG_SHA256

078a03516dcdbdb705fecaf415ea3d13a956c589e46f09fed68a06fb00598c90

PG_VERSION

17.10


Layers

[#000] sha256:732d51f3795f48d3898f2f5895e6c5a28a5feea9889892adc95157ed714ca693 - 0.77% (3.5 MB)

[#001] sha256:5e5df143b165ad4cda4cd0ff02c2b8fb1451cdf59f1d992fd8c1177f807e8a66 - 0.0% (971 Bytes)

[#002] sha256:a6b8ee638051a09f53d6d8458f9acff4a811361d930c222a927f6defa7ae961b - 0.18% (848 KB)

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

[#004] sha256:2eec360d9cf2c6e81bdad8be5caf9ed174976e6ba2942dc3e7d36c1ebf89476a - 24.89% (113 MB)

[#005] sha256:fbccd21f47f0246791cbe78e54f5b8d130ea6c99442a21c977bece0184356203 - 0.0% (9.72 KB)

[#006] sha256:475e98d78da71f7bd69700ce461e13fdf31fe8805b86c4ac4da2b643ed6282ef - 0.0% (129 Bytes)

[#007] sha256:a8ec9f273d0f7ad6e2fe308f5249762d031336acf805f62a79bff3b94ffc7fc9 - 0.0% (169 Bytes)

[#008] sha256:616d8c2445a73c37a2c3d2a4bc43c6620fd73469f8577157e530c8bf06845231 - 0.0% (5.97 KB)

[#009] sha256:a160f32e667c0849724c8071fcd14155d31feeeea2247a92871bed3ab1c9edbf - 0.0% (185 Bytes)

[#010] sha256:6e7ddfb219d2e446f9b18a0ce73525b6fa9c9efd1cece252ece2218c243a9d07 - 5.37% (24.4 MB)

[#011] sha256:542dc3ef945988715da4298fcc81a48b966d390ce20f974f197d77584caf608d - 1.26% (5.75 MB)

[#012] sha256:51b13fb15c6cc8c63e6fb844ca4a65a9791a3848e262673cdb9cb5615a805d40 - 0.0% (2.08 KB)

[#013] sha256:bbb0e6f30fe5d72b75e06b469968d5f90c4b420aa692903db937311332c3a86a - 1.86% (8.47 MB)

[#014] sha256:097cff5716bba8a3f018b4e852fce29a7820f03248c3937d2068281d7bf69f74 - 45.57% (207 MB)

[#015] sha256:57e2d3af42e6c4ed677c6afd17f69ff6f8537917ee8121373b373f1109bb4909 - 17.74% (80.7 MB)

[#016] sha256:3e3cf957ae90dd354d0f6d15d036c43d33aafa363fd5fb7c4d6121dd66d28171 - 2.35% (10.7 MB)


History
2026-06-22 19:20:08 UTC (buildkit.dockerfile.v0)

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=17

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

ENV PG_VERSION=17.10

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

ENV PG_SHA256=078a03516dcdbdb705fecaf415ea3d13a956c589e46f09fed68a06fb00598c90

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

ENV DOCKER_PG_LLVM_DEPS=llvm21-dev clang21

2026-07-07 17:50:39 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/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-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:50:39 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:50:39 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:50:39 UTC (buildkit.dockerfile.v0)

ENV PGDATA=/var/lib/postgresql/data

2026-07-07 17:50:39 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c install --verbose --directory --owner postgres --group postgres --mode 1777 "$PGDATA" # buildkit

2026-07-07 17:50:39 UTC (buildkit.dockerfile.v0)

VOLUME [/var/lib/postgresql/data]

2026-07-07 17:50:40 UTC (buildkit.dockerfile.v0)

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

2026-07-07 17:50:40 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:50:40 UTC (buildkit.dockerfile.v0)

ENTRYPOINT ["docker-entrypoint.sh"]

2026-07-07 17:50:40 UTC (buildkit.dockerfile.v0)

STOPSIGNAL SIGINT

2026-07-07 17:50:40 UTC (buildkit.dockerfile.v0)

EXPOSE map[5432/tcp:{}]

2026-07-07 17:50:40 UTC (buildkit.dockerfile.v0)

CMD ["postgres"]

2026-07-16 12:57:32 UTC (buildkit.dockerfile.v0)

ARG OSS_ONLY

2026-07-16 12:57:32 UTC (buildkit.dockerfile.v0)

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

2026-07-16 12:57:32 UTC (buildkit.dockerfile.v0)

ARG PG_VERSION=17

2026-07-16 12:57:32 UTC (buildkit.dockerfile.v0)

ARG PG_MAJOR_VERSION=17

2026-07-16 12:57:32 UTC (buildkit.dockerfile.v0)

ARG ALPINE_VERSION=3.23

2026-07-16 12:57:32 UTC (buildkit.dockerfile.v0)

RUN |4 OSS_ONLY= PG_VERSION=17 PG_MAJOR_VERSION=17 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:57:32 UTC (buildkit.dockerfile.v0)

ARG PGVECTOR_VERSION=v0.8.1

2026-07-16 12:57:32 UTC (buildkit.dockerfile.v0)

ARG PG_VERSION=17

2026-07-16 12:57:32 UTC (buildkit.dockerfile.v0)

ARG CLANG_VERSION=21

2026-07-16 12:57:32 UTC (buildkit.dockerfile.v0)

ARG PG_MAJOR_VERSION=17

2026-07-16 12:59:05 UTC (buildkit.dockerfile.v0)

RUN |6 OSS_ONLY= PG_VERSION=17 PG_MAJOR_VERSION=17 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:59:05 UTC (buildkit.dockerfile.v0)

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

2026-07-16 13:00:31 UTC (buildkit.dockerfile.v0)

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

2026-07-16 13:00:32 UTC (buildkit.dockerfile.v0)

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

2026-07-16 13:00:34 UTC (buildkit.dockerfile.v0)

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

2026-07-16 13:00:34 UTC (buildkit.dockerfile.v0)

ARG TS_VERSION=2.28.3

2026-07-16 13:16:22 UTC (buildkit.dockerfile.v0)

RUN |7 OSS_ONLY= PG_VERSION=17 PG_MAJOR_VERSION=17 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

Details
Created

2026-07-16 13:15:38 UTC

Size

459 MB

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

Environment
DOCKER_PG_LLVM_DEPS

llvm21-dev clang21

GOSU_VERSION

1.19

LANG

en_US.utf8

PATH

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

PGDATA

/var/lib/postgresql/data

PG_MAJOR

17

PG_SHA256

078a03516dcdbdb705fecaf415ea3d13a956c589e46f09fed68a06fb00598c90

PG_VERSION

17.10


Layers

[#000] sha256:e6f31ffc071e5560b82a8685fba8214954e5721e3e49269d00958316edbe89fe - 0.8% (3.67 MB)

[#001] sha256:7a09c10db362498cce2a6a2fab887c0d80078091e9ef4d1fc41d31e699172fab - 0.0% (973 Bytes)

[#002] sha256:841dec6c4c30017e59e3468428371f47e7cd26bda4b34fa62e98c49514934c6c - 0.19% (879 KB)

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

[#004] sha256:2441001522f5ad2b94c162f091fbf84e2dc490a6502cd4f541a6b7ff4d79783d - 23.22% (107 MB)

[#005] sha256:c98ac8d00c5e823a4aae403e56677ab5bec0eb2737af8cd1dc93d9eb5adf34a3 - 0.0% (9.72 KB)

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

[#007] sha256:8df85f55d33d1bccb569892f8a07642beb6ccb7e09388f581d8bd21b0a8988ec - 0.0% (170 Bytes)

[#008] sha256:c628ae46b0b6e5fe1d15574b5deb9033e19624255c7874b7c85895825f3f9bd5 - 0.0% (5.97 KB)

[#009] sha256:6aa277c7539e6be99bf9b5bae50ebc8b5cf1d30b521aca3ca43fbd6fcbb27ec9 - 0.0% (184 Bytes)

[#010] sha256:e32eb17fb6908953c9a53a13b63808c9eb09dee70d35ee355f2499eeeb55bce3 - 5.14% (23.6 MB)

[#011] sha256:4016a4a9b2b790f0746ca26e814bc4488e69269b90a70c35d3c3be435649a635 - 1.3% (5.95 MB)

[#012] sha256:7f7457b1293af9aa9d79eb28ee2cf7eeed356a976810aee1d0eab13103a488e4 - 0.0% (2.08 KB)

[#013] sha256:12f403b1a6780ed729a63181081da40c9e6bd01b38ef6b35bc00c20191d0385e - 1.89% (8.69 MB)

[#014] sha256:5588b95e064f2c0f2657d8ebfe9f07ffe23ff7467b10026caca083dd80808077 - 47.43% (218 MB)

[#015] sha256:7bea769a43c9b2265813a2a3b33349a7f98bb58c8b844ad4cdee4a6cb9366843 - 17.57% (80.7 MB)

[#016] sha256:ab7cc57b1fa4d8888b3195aa05dd8ba1f2f107eac00e43424b29d3700b29697b - 2.46% (11.3 MB)


History
2026-06-22 19:20:09 UTC (buildkit.dockerfile.v0)

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:49 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:51 UTC (buildkit.dockerfile.v0)

ENV GOSU_VERSION=1.19

2026-07-07 17:44:51 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:51 UTC (buildkit.dockerfile.v0)

ENV LANG=en_US.utf8

2026-07-07 17:44:51 UTC (buildkit.dockerfile.v0)

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

2026-07-07 17:44:51 UTC (buildkit.dockerfile.v0)

ENV PG_MAJOR=17

2026-07-07 17:44:51 UTC (buildkit.dockerfile.v0)

ENV PG_VERSION=17.10

2026-07-07 17:44:51 UTC (buildkit.dockerfile.v0)

ENV PG_SHA256=078a03516dcdbdb705fecaf415ea3d13a956c589e46f09fed68a06fb00598c90

2026-07-07 17:44:51 UTC (buildkit.dockerfile.v0)

ENV DOCKER_PG_LLVM_DEPS=llvm21-dev clang21

2026-07-07 17:47:11 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/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-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:11 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:12 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:12 UTC (buildkit.dockerfile.v0)

ENV PGDATA=/var/lib/postgresql/data

2026-07-07 17:47:12 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c install --verbose --directory --owner postgres --group postgres --mode 1777 "$PGDATA" # buildkit

2026-07-07 17:47:12 UTC (buildkit.dockerfile.v0)

VOLUME [/var/lib/postgresql/data]

2026-07-07 17:47:12 UTC (buildkit.dockerfile.v0)

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

2026-07-07 17:47:12 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:12 UTC (buildkit.dockerfile.v0)

ENTRYPOINT ["docker-entrypoint.sh"]

2026-07-07 17:47:12 UTC (buildkit.dockerfile.v0)

STOPSIGNAL SIGINT

2026-07-07 17:47:12 UTC (buildkit.dockerfile.v0)

EXPOSE map[5432/tcp:{}]

2026-07-07 17:47:12 UTC (buildkit.dockerfile.v0)

CMD ["postgres"]

2026-07-16 12:57:32 UTC (buildkit.dockerfile.v0)

ARG OSS_ONLY

2026-07-16 12:57:32 UTC (buildkit.dockerfile.v0)

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

2026-07-16 12:57:32 UTC (buildkit.dockerfile.v0)

ARG PG_VERSION=17

2026-07-16 12:57:32 UTC (buildkit.dockerfile.v0)

ARG PG_MAJOR_VERSION=17

2026-07-16 12:57:32 UTC (buildkit.dockerfile.v0)

ARG ALPINE_VERSION=3.23

2026-07-16 12:57:32 UTC (buildkit.dockerfile.v0)

RUN |4 OSS_ONLY= PG_VERSION=17 PG_MAJOR_VERSION=17 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:57:32 UTC (buildkit.dockerfile.v0)

ARG PGVECTOR_VERSION=v0.8.1

2026-07-16 12:57:32 UTC (buildkit.dockerfile.v0)

ARG PG_VERSION=17

2026-07-16 12:57:32 UTC (buildkit.dockerfile.v0)

ARG CLANG_VERSION=21

2026-07-16 12:57:32 UTC (buildkit.dockerfile.v0)

ARG PG_MAJOR_VERSION=17

2026-07-16 12:59:13 UTC (buildkit.dockerfile.v0)

RUN |6 OSS_ONLY= PG_VERSION=17 PG_MAJOR_VERSION=17 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:59:13 UTC (buildkit.dockerfile.v0)

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

2026-07-16 13:00:08 UTC (buildkit.dockerfile.v0)

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

2026-07-16 13:00:09 UTC (buildkit.dockerfile.v0)

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

2026-07-16 13:00:11 UTC (buildkit.dockerfile.v0)

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

2026-07-16 13:00:11 UTC (buildkit.dockerfile.v0)

ARG TS_VERSION=2.28.3

2026-07-16 13:15:38 UTC (buildkit.dockerfile.v0)

RUN |7 OSS_ONLY= PG_VERSION=17 PG_MAJOR_VERSION=17 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

Details
Created

2026-07-16 14:15:57 UTC

Size

449 MB

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

Environment
DOCKER_PG_LLVM_DEPS

llvm21-dev clang21

GOSU_VERSION

1.19

LANG

en_US.utf8

PATH

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

PGDATA

/var/lib/postgresql/data

PG_MAJOR

17

PG_SHA256

078a03516dcdbdb705fecaf415ea3d13a956c589e46f09fed68a06fb00598c90

PG_VERSION

17.10


Layers

[#000] sha256:e10b64a07fc8ab4702bfbad629edb6572f190358cdb4b2b7392040bdef454c0f - 0.75% (3.39 MB)

[#001] sha256:77794629267405f556688bffd631920e8f4b04ecc2b2afcfa54e092c876a1a86 - 0.0% (969 Bytes)

[#002] sha256:2c789cbe181189ed61439c8a627e0b9056dee412b3d20af15a76edff4b45900f - 0.18% (844 KB)

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

[#004] sha256:dab4b013ebf5868b604e2013cfd658698748a5ae300c23a3a38844d42665cbf5 - 23.01% (103 MB)

[#005] sha256:8335b791dac47b31324efe06bdfeefe4f688b223e483975003e81d44604ad699 - 0.0% (9.72 KB)

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

[#007] sha256:2017c04f6e7cebc12c03b2a5ba8ac55ffaa34f58264aec4de5629b26c667ed32 - 0.0% (170 Bytes)

[#008] sha256:8052f6c1f446af68c9e63734994c9fb4b87c7981cb8ccff04217effe35b8cb32 - 0.0% (5.97 KB)

[#009] sha256:0aa899e36f5d5205ccecb8d707b6b26e4a561bac21f060fbb5a06ca98f98321e - 0.0% (184 Bytes)

[#010] sha256:6134b90f68c430dea3cbaf443d26dec2543ddd553c8346bc6372f546f1bd8749 - 5.06% (22.7 MB)

[#011] sha256:1712b02b4b2f52c7340ddc17f931f685730b4a906e0dbe7c7b605a125ec4c733 - 1.24% (5.56 MB)

[#012] sha256:62ead00b73b96348443516e2bf8c57281c2aaeb037cee23dfa3b7235811bef64 - 0.0% (2.08 KB)

[#013] sha256:763eeac5aea776b7f04ed0586e92c69458d5a6c2be806f180540a6a252fe962c - 1.83% (8.21 MB)

[#014] sha256:3451e761b75fe4a1aa0d526555fc96acccbaa10c6805d5fa4fa50f4ca0945ae4 - 47.35% (213 MB)

[#015] sha256:9cd8bd3c4cc0ad22aeb7b632dcef270e9da45e468705ac4964f1610a0d349a09 - 17.97% (80.7 MB)

[#016] sha256:2e0e6652f4bd6329c27aac3d8aa8874d44982043c016176c8f967a11334261c2 - 2.6% (11.7 MB)


History
2026-06-22 19:20:21 UTC (buildkit.dockerfile.v0)

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:46: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

2026-07-07 17:46:23 UTC (buildkit.dockerfile.v0)

ENV GOSU_VERSION=1.19

2026-07-07 17:46:23 UTC (buildkit.dockerfile.v0)

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

2026-07-07 17:46:23 UTC (buildkit.dockerfile.v0)

ENV LANG=en_US.utf8

2026-07-07 17:46:23 UTC (buildkit.dockerfile.v0)

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

2026-07-07 17:46:23 UTC (buildkit.dockerfile.v0)

ENV PG_MAJOR=17

2026-07-07 17:46:23 UTC (buildkit.dockerfile.v0)

ENV PG_VERSION=17.10

2026-07-07 17:46:23 UTC (buildkit.dockerfile.v0)

ENV PG_SHA256=078a03516dcdbdb705fecaf415ea3d13a956c589e46f09fed68a06fb00598c90

2026-07-07 17:46:23 UTC (buildkit.dockerfile.v0)

ENV DOCKER_PG_LLVM_DEPS=llvm21-dev clang21

2026-07-07 17:49: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 ; 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-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:49: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:49: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:49:34 UTC (buildkit.dockerfile.v0)

ENV PGDATA=/var/lib/postgresql/data

2026-07-07 17:49:34 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c install --verbose --directory --owner postgres --group postgres --mode 1777 "$PGDATA" # buildkit

2026-07-07 17:49:34 UTC (buildkit.dockerfile.v0)

VOLUME [/var/lib/postgresql/data]

2026-07-07 17:49:34 UTC (buildkit.dockerfile.v0)

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

2026-07-07 17:49: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:49:34 UTC (buildkit.dockerfile.v0)

ENTRYPOINT ["docker-entrypoint.sh"]

2026-07-07 17:49:34 UTC (buildkit.dockerfile.v0)

STOPSIGNAL SIGINT

2026-07-07 17:49:34 UTC (buildkit.dockerfile.v0)

EXPOSE map[5432/tcp:{}]

2026-07-07 17:49:34 UTC (buildkit.dockerfile.v0)

CMD ["postgres"]

2026-07-16 12:58:17 UTC (buildkit.dockerfile.v0)

ARG OSS_ONLY

2026-07-16 12:58:17 UTC (buildkit.dockerfile.v0)

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

2026-07-16 12:58:17 UTC (buildkit.dockerfile.v0)

ARG PG_VERSION=17

2026-07-16 12:58:17 UTC (buildkit.dockerfile.v0)

ARG PG_MAJOR_VERSION=17

2026-07-16 12:58:17 UTC (buildkit.dockerfile.v0)

ARG ALPINE_VERSION=3.23

2026-07-16 12:58:17 UTC (buildkit.dockerfile.v0)

RUN |4 OSS_ONLY= PG_VERSION=17 PG_MAJOR_VERSION=17 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:58:17 UTC (buildkit.dockerfile.v0)

ARG PGVECTOR_VERSION=v0.8.1

2026-07-16 12:58:17 UTC (buildkit.dockerfile.v0)

ARG PG_VERSION=17

2026-07-16 12:58:17 UTC (buildkit.dockerfile.v0)

ARG CLANG_VERSION=21

2026-07-16 12:58:17 UTC (buildkit.dockerfile.v0)

ARG PG_MAJOR_VERSION=17

2026-07-16 13:11:41 UTC (buildkit.dockerfile.v0)

RUN |6 OSS_ONLY= PG_VERSION=17 PG_MAJOR_VERSION=17 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:11:41 UTC (buildkit.dockerfile.v0)

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

2026-07-16 13:19:09 UTC (buildkit.dockerfile.v0)

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

2026-07-16 13:19:10 UTC (buildkit.dockerfile.v0)

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

2026-07-16 13:19:12 UTC (buildkit.dockerfile.v0)

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

2026-07-16 13:19:12 UTC (buildkit.dockerfile.v0)

ARG TS_VERSION=2.28.3

2026-07-16 14:15:57 UTC (buildkit.dockerfile.v0)

RUN |7 OSS_ONLY= PG_VERSION=17 PG_MAJOR_VERSION=17 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

Details
Created

2026-07-16 14:18:04 UTC

Size

441 MB

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

Environment
DOCKER_PG_LLVM_DEPS

llvm21-dev clang21

GOSU_VERSION

1.19

LANG

en_US.utf8

PATH

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

PGDATA

/var/lib/postgresql/data

PG_MAJOR

17

PG_SHA256

078a03516dcdbdb705fecaf415ea3d13a956c589e46f09fed68a06fb00598c90

PG_VERSION

17.10


Layers

[#000] sha256:177f8e1e6f831989320cf2b59b7eabd21cbf36804c79506912f3a81caff426f2 - 0.71% (3.11 MB)

[#001] sha256:5542d14a5f06f41eec556bd8e851c162dc22069b9c15859809176494be7670a3 - 0.0% (973 Bytes)

[#002] sha256:d7de479aed845759edaf3cbd3b719415635476e5614c27cfb9e78ef222d93825 - 0.19% (844 KB)

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

[#004] sha256:b15f69775010df2eb0aff9c56b7ea3ce67728451cb4099b6eb18bd6a9caf574d - 22.13% (97.6 MB)

[#005] sha256:7124f1b960e79824244eb5c203bdd479f0ff69143876b296314d4bcf26b7a54a - 0.0% (9.72 KB)

[#006] sha256:8e0c47ea943ba21f2caf0877e0e574fbc4aca2dadf7bc42e1419ae46402793f0 - 0.0% (129 Bytes)

[#007] sha256:b97869fb34a4cd9be81f2a014923a9aa554809dae55e6baf22edf7bc7abcae72 - 0.0% (171 Bytes)

[#008] sha256:6a0411fa0eac9a9255522852bddd295e97e1efb893409be4321ae87d6df51d8c - 0.0% (5.97 KB)

[#009] sha256:397e0364afceb710808ec7d08d49e81e00b1e1f8bf94cbe88852b7a0b486d679 - 0.0% (185 Bytes)

[#010] sha256:27b8d0554e449bf7f35cb1469c04d78469f376aac732c9dbe74a80fc71bf5e02 - 5.01% (22.1 MB)

[#011] sha256:b77b6e266ea0beadf0714256c56bcc585fbed4e34907e4cc969b7348388529db - 1.29% (5.68 MB)

[#012] sha256:01531c94f0b0fefc9ffa9bddf30175e81aedc826ab96f4e510eff059e7580ca1 - 0.0% (2.08 KB)

[#013] sha256:3da79b4428978f996bc901562854e1180db748802afd5c7d6e83bdcec07c51ca - 1.86% (8.19 MB)

[#014] sha256:177e7dde5522c4e2ef93c0a90161567cda0f6d314880c46bde25712fd772fd3c - 47.88% (211 MB)

[#015] sha256:31cdaac15c5d330bbfb185bd432cd06d4e43806fbc9c18b6bcde4aad99295085 - 18.3% (80.7 MB)

[#016] sha256:3d1108c09c05db4dbf8bd8e8abc46731d6cf5ce9244abbe8f939dfc9dc9d589d - 2.63% (11.6 MB)


History
2026-06-22 19:20:18 UTC (buildkit.dockerfile.v0)

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:13:48 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:13:55 UTC (buildkit.dockerfile.v0)

ENV GOSU_VERSION=1.19

2026-07-07 18:13:55 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:13:55 UTC (buildkit.dockerfile.v0)

ENV LANG=en_US.utf8

2026-07-07 18:13:55 UTC (buildkit.dockerfile.v0)

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

2026-07-07 18:13:55 UTC (buildkit.dockerfile.v0)

ENV PG_MAJOR=17

2026-07-07 18:13:55 UTC (buildkit.dockerfile.v0)

ENV PG_VERSION=17.10

2026-07-07 18:13:55 UTC (buildkit.dockerfile.v0)

ENV PG_SHA256=078a03516dcdbdb705fecaf415ea3d13a956c589e46f09fed68a06fb00598c90

2026-07-07 18:13:55 UTC (buildkit.dockerfile.v0)

ENV DOCKER_PG_LLVM_DEPS=llvm21-dev clang21

2026-07-07 18:17: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 ; 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-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:17: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 18:17: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 18:17:22 UTC (buildkit.dockerfile.v0)

ENV PGDATA=/var/lib/postgresql/data

2026-07-07 18:17:22 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c install --verbose --directory --owner postgres --group postgres --mode 1777 "$PGDATA" # buildkit

2026-07-07 18:17:22 UTC (buildkit.dockerfile.v0)

VOLUME [/var/lib/postgresql/data]

2026-07-07 18:17:22 UTC (buildkit.dockerfile.v0)

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

2026-07-07 18:17: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 18:17:22 UTC (buildkit.dockerfile.v0)

ENTRYPOINT ["docker-entrypoint.sh"]

2026-07-07 18:17:22 UTC (buildkit.dockerfile.v0)

STOPSIGNAL SIGINT

2026-07-07 18:17:22 UTC (buildkit.dockerfile.v0)

EXPOSE map[5432/tcp:{}]

2026-07-07 18:17:22 UTC (buildkit.dockerfile.v0)

CMD ["postgres"]

2026-07-16 12:58:14 UTC (buildkit.dockerfile.v0)

ARG OSS_ONLY

2026-07-16 12:58:14 UTC (buildkit.dockerfile.v0)

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

2026-07-16 12:58:14 UTC (buildkit.dockerfile.v0)

ARG PG_VERSION=17

2026-07-16 12:58:14 UTC (buildkit.dockerfile.v0)

ARG PG_MAJOR_VERSION=17

2026-07-16 12:58:14 UTC (buildkit.dockerfile.v0)

ARG ALPINE_VERSION=3.23

2026-07-16 12:58:14 UTC (buildkit.dockerfile.v0)

RUN |4 OSS_ONLY= PG_VERSION=17 PG_MAJOR_VERSION=17 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:58:14 UTC (buildkit.dockerfile.v0)

ARG PGVECTOR_VERSION=v0.8.1

2026-07-16 12:58:14 UTC (buildkit.dockerfile.v0)

ARG PG_VERSION=17

2026-07-16 12:58:14 UTC (buildkit.dockerfile.v0)

ARG CLANG_VERSION=21

2026-07-16 12:58:14 UTC (buildkit.dockerfile.v0)

ARG PG_MAJOR_VERSION=17

2026-07-16 13:11:45 UTC (buildkit.dockerfile.v0)

RUN |6 OSS_ONLY= PG_VERSION=17 PG_MAJOR_VERSION=17 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:11:45 UTC (buildkit.dockerfile.v0)

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

2026-07-16 13:19:12 UTC (buildkit.dockerfile.v0)

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

2026-07-16 13:19:14 UTC (buildkit.dockerfile.v0)

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

2026-07-16 13:19:15 UTC (buildkit.dockerfile.v0)

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

2026-07-16 13:19:15 UTC (buildkit.dockerfile.v0)

ARG TS_VERSION=2.28.3

2026-07-16 14:18:04 UTC (buildkit.dockerfile.v0)

RUN |7 OSS_ONLY= PG_VERSION=17 PG_MAJOR_VERSION=17 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

Details
Created

2026-07-16 14:10:59 UTC

Size

447 MB

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

Environment
DOCKER_PG_LLVM_DEPS

llvm21-dev clang21

GOSU_VERSION

1.19

LANG

en_US.utf8

PATH

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

PGDATA

/var/lib/postgresql/data

PG_MAJOR

17

PG_SHA256

078a03516dcdbdb705fecaf415ea3d13a956c589e46f09fed68a06fb00598c90

PG_VERSION

17.10


Layers

[#000] sha256:14a4754c352fba4c6c0da8e4f01bb990463c19f7ff63e090073c385bd2bc5046 - 0.89% (3.99 MB)

[#001] sha256:ec09ee96490d97aa2ba356d1ec4504f69e72e09b8be0c296f5e31a7929daec19 - 0.0% (971 Bytes)

[#002] sha256:f9df39a7929566a25d172e7a13d400ad511a4cd887b2d84a29e99079373fa904 - 0.18% (832 KB)

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

[#004] sha256:61ea145bdbd18106f95bdccaed13f61ed1d770b321e2b565920cd5c714daa129 - 23.34% (104 MB)

[#005] sha256:2417773f5f8b4bc25988ccbd8f14c4ee966713385aebb3d19e0383f10611ac41 - 0.0% (9.72 KB)

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

[#007] sha256:ca71cc37a71552fd049c561b3307b6ab9ed37becd6ceb96f2120d1624a10b8e1 - 0.0% (170 Bytes)

[#008] sha256:cc05086d3035deabd340bc09e8da81b3487d4f73a15086ed3178b2c0450c3117 - 0.0% (5.97 KB)

[#009] sha256:2e041c67bb194ed4752ffd44ca454c21f66766ca38f15c6db9cdea5e04e200b7 - 0.0% (186 Bytes)

[#010] sha256:8b92c6d302f4869c462c84c185b3f3ac316e441d1cb4af3b3eb2c3ec01fd1144 - 5.23% (23.4 MB)

[#011] sha256:69c7084372c5e247b6c80af5462249c874c6633958c48d036b3c5dd277d55e67 - 1.33% (5.93 MB)

[#012] sha256:81900a841165268c10b56402c6c1d04583595b1021a64938c2550752db1900f8 - 0.0% (2.08 KB)

[#013] sha256:63f56f7098dfebadf02436b26e56f891f851e522d5e28322827d17b4d4acbcbb - 1.79% (8.02 MB)

[#014] sha256:968ead2400804cfb770ce7eea228e789fdfbb731b1981a7c2a99cb9ec7f3dc8c - 46.78% (209 MB)

[#015] sha256:cbc2565ecc1a9d589af2c8325656f5364b44f58710960ec0c187242fe16943f2 - 18.06% (80.7 MB)

[#016] sha256:b4e87d0a6e1381c7bd31b1c219464f26ab4521ec0f60c969298ff798c4abf55b - 2.39% (10.7 MB)


History
2026-06-22 19:19:57 UTC (buildkit.dockerfile.v0)

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:12 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:14 UTC (buildkit.dockerfile.v0)

ENV GOSU_VERSION=1.19

2026-07-07 17:43:14 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:14 UTC (buildkit.dockerfile.v0)

ENV LANG=en_US.utf8

2026-07-07 17:43:15 UTC (buildkit.dockerfile.v0)

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

2026-07-07 17:43:15 UTC (buildkit.dockerfile.v0)

ENV PG_MAJOR=17

2026-07-07 17:43:15 UTC (buildkit.dockerfile.v0)

ENV PG_VERSION=17.10

2026-07-07 17:43:15 UTC (buildkit.dockerfile.v0)

ENV PG_SHA256=078a03516dcdbdb705fecaf415ea3d13a956c589e46f09fed68a06fb00598c90

2026-07-07 17:43:15 UTC (buildkit.dockerfile.v0)

ENV DOCKER_PG_LLVM_DEPS=llvm21-dev clang21

2026-07-07 17:45:41 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/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-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:45:41 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:45:41 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:45:41 UTC (buildkit.dockerfile.v0)

ENV PGDATA=/var/lib/postgresql/data

2026-07-07 17:45:41 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c install --verbose --directory --owner postgres --group postgres --mode 1777 "$PGDATA" # buildkit

2026-07-07 17:45:41 UTC (buildkit.dockerfile.v0)

VOLUME [/var/lib/postgresql/data]

2026-07-07 17:45:41 UTC (buildkit.dockerfile.v0)

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

2026-07-07 17:45:41 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:45:41 UTC (buildkit.dockerfile.v0)

ENTRYPOINT ["docker-entrypoint.sh"]

2026-07-07 17:45:41 UTC (buildkit.dockerfile.v0)

STOPSIGNAL SIGINT

2026-07-07 17:45:41 UTC (buildkit.dockerfile.v0)

EXPOSE map[5432/tcp:{}]

2026-07-07 17:45:41 UTC (buildkit.dockerfile.v0)

CMD ["postgres"]

2026-07-16 12:58:28 UTC (buildkit.dockerfile.v0)

ARG OSS_ONLY

2026-07-16 12:58:28 UTC (buildkit.dockerfile.v0)

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

2026-07-16 12:58:28 UTC (buildkit.dockerfile.v0)

ARG PG_VERSION=17

2026-07-16 12:58:28 UTC (buildkit.dockerfile.v0)

ARG PG_MAJOR_VERSION=17

2026-07-16 12:58:28 UTC (buildkit.dockerfile.v0)

ARG ALPINE_VERSION=3.23

2026-07-16 12:58:28 UTC (buildkit.dockerfile.v0)

RUN |4 OSS_ONLY= PG_VERSION=17 PG_MAJOR_VERSION=17 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:58:28 UTC (buildkit.dockerfile.v0)

ARG PGVECTOR_VERSION=v0.8.1

2026-07-16 12:58:28 UTC (buildkit.dockerfile.v0)

ARG PG_VERSION=17

2026-07-16 12:58:28 UTC (buildkit.dockerfile.v0)

ARG CLANG_VERSION=21

2026-07-16 12:58:28 UTC (buildkit.dockerfile.v0)

ARG PG_MAJOR_VERSION=17

2026-07-16 13:12:13 UTC (buildkit.dockerfile.v0)

RUN |6 OSS_ONLY= PG_VERSION=17 PG_MAJOR_VERSION=17 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:12:13 UTC (buildkit.dockerfile.v0)

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

2026-07-16 13:19:26 UTC (buildkit.dockerfile.v0)

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

2026-07-16 13:19:28 UTC (buildkit.dockerfile.v0)

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

2026-07-16 13:19:29 UTC (buildkit.dockerfile.v0)

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

2026-07-16 13:19:29 UTC (buildkit.dockerfile.v0)

ARG TS_VERSION=2.28.3

2026-07-16 14:10:59 UTC (buildkit.dockerfile.v0)

RUN |7 OSS_ONLY= PG_VERSION=17 PG_MAJOR_VERSION=17 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

Danger Zone
Delete Tag

Please be careful as this will not just delete the reference but also the actual content!

For example when you have latest and v1.2.3 both pointing to the same image
the deletion of latest will also permanently remove v1.2.3.

Delete