Namespace
timescale
Image / Tag
timescaledb:2.26.4-pg17-oss
Content Digest
sha256:61f0f3793ffae01f861a805464ed284525cc62e7158efc40da7bfdcb6af4c623
Pull command
Details
Created

2026-04-28 20:48:50 UTC

Size

260 MB

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

Environment
DOCKER_PG_LLVM_DEPS

llvm19-dev clang19

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

3b9a62538a8da151e807a3ddb1198e8605f2032544d78f403ae883d27ecf1ee4

PG_VERSION

17.9


Layers

[#000] sha256:1cf9b6fc5889fdc0b6b22dd2afeea78c7c7985e06a8208c77dc71888bcf17f12 - 1.35% (3.52 MB)

[#001] sha256:71e0fd38d5288947e8646f6774e594a2658f0e5707018090e37b9c9b8cbd6e20 - 0.0% (970 Bytes)

[#002] sha256:660c394cf77edc737e0065cae706536eeb591600fd79fa4e22f25f7cd5011c2c - 0.33% (871 KB)

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

[#004] sha256:837bf9a7d04377de24fea09259158cf775f7acc47ec54c43ec0a6e1d7d1d23c0 - 41.28% (107 MB)

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

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

[#007] sha256:2519b1b03bf5876efe4f5e8e41da33fc742a1c1a46c0ec0b291b83688be22331 - 0.0% (168 Bytes)

[#008] sha256:7251eacf636819b204a5a056a1eb4dbb67272a3c7cbfe86cb7559df177d52795 - 0.0% (5.95 KB)

[#009] sha256:687821ab8991e88dcb8b4d8502b81b096208f3f75e27b9aebd94322abee229e6 - 0.0% (183 Bytes)

[#010] sha256:e7f76030a9aeb0bd2d4e37699e35f8937e56b937a5818ca19d0caf63ff1651f1 - 0.99% (2.59 MB)

[#011] sha256:8a2d3eb5737429dad7172be4edd7378455eae5aca921ebdcef4d6e2ac19dc943 - 2.14% (5.55 MB)

[#012] sha256:6816296036af76e520ad5a1f5e857c9d7811fc04ce3a279a5d7544c7c0a4bdef - 0.0% (2.08 KB)

[#013] sha256:973e58c94a0c56570430cac66c08cc3563299a42a6ed5ed5ce6afe62fe197193 - 2.91% (7.58 MB)

[#014] sha256:2dd223a77d4c922db475501e26ed45dadec1231f5715d2fac06518436424e22d - 27.77% (72.2 MB)

[#015] sha256:2f2b9f67b703e0be250bcb738c9bfcaf73943284cd8ae7c91ced8c3d5abaa183 - 21.08% (54.8 MB)

[#016] sha256:ed2d33ac86a43aa342813f90c96414ed56ed6ec0b0386a0d4e0efd85c4115cc3 - 2.15% (5.58 MB)


History
2026-04-15 21:33:20 UTC (buildkit.dockerfile.v0)

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

2026-04-15 21:33:20 UTC (buildkit.dockerfile.v0)

CMD ["/bin/sh"]

2026-04-21 23:12: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-04-21 23:12:15 UTC (buildkit.dockerfile.v0)

ENV GOSU_VERSION=1.19

2026-04-21 23:12:15 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-04-21 23:12:15 UTC (buildkit.dockerfile.v0)

ENV LANG=en_US.utf8

2026-04-21 23:12:15 UTC (buildkit.dockerfile.v0)

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

2026-04-21 23:12:15 UTC (buildkit.dockerfile.v0)

ENV PG_MAJOR=17

2026-04-21 23:12:15 UTC (buildkit.dockerfile.v0)

ENV PG_VERSION=17.9

2026-04-21 23:12:15 UTC (buildkit.dockerfile.v0)

ENV PG_SHA256=3b9a62538a8da151e807a3ddb1198e8605f2032544d78f403ae883d27ecf1ee4

2026-04-21 23:12:15 UTC (buildkit.dockerfile.v0)

ENV DOCKER_PG_LLVM_DEPS=llvm19-dev clang19

2026-04-21 23:14:43 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c set -eux; wget -O postgresql.tar.bz2 "https://ftp.postgresql.org/pub/source/v$PG_VERSION/postgresql-$PG_VERSION.tar.bz2"; echo "$PG_SHA256 *postgresql.tar.bz2" | sha256sum -c -; mkdir -p /usr/src/postgresql; tar --extract --file postgresql.tar.bz2 --directory /usr/src/postgresql --strip-components 1 ; rm postgresql.tar.bz2; apk add --no-cache --virtual .build-deps $DOCKER_PG_LLVM_DEPS bison coreutils dpkg-dev dpkg flex g++ gcc krb5-dev libc-dev libedit-dev libxml2-dev libxslt-dev linux-headers make openldap-dev openssl-dev perl-dev perl-ipc-run perl-utils python3-dev tcl-dev util-linux-dev zlib-dev icu-dev lz4-dev zstd-dev ; cd /usr/src/postgresql; awk '$1 == "#define" && $2 == "DEFAULT_PGSOCKET_DIR" && $3 == "\"/tmp\"" { $3 = "\"/var/run/postgresql\""; print; next } { print }' src/include/pg_config_manual.h > src/include/pg_config_manual.h.new; grep '/var/run/postgresql' src/include/pg_config_manual.h.new; mv src/include/pg_config_manual.h.new src/include/pg_config_manual.h; gnuArch="$(dpkg-architecture --query DEB_BUILD_GNU_TYPE)"; export LLVM_CONFIG="/usr/lib/llvm19/bin/llvm-config"; export CLANG=clang-19; ./configure --enable-option-checking=fatal --build="$gnuArch" --enable-integer-datetimes --enable-tap-tests --disable-rpath --with-uuid=e2fs --with-pgport=5432 --with-system-tzdata=/usr/share/zoneinfo --prefix=/usr/local --with-includes=/usr/local/include --with-libraries=/usr/local/lib --with-gssapi --with-icu --with-ldap --with-libxml --with-libxslt --with-llvm --with-lz4 --with-openssl --with-perl --with-python --with-tcl --with-zstd ; make -j "$(nproc)" world-bin; make install-world-bin; make -C contrib install; runDeps="$( scanelf --needed --nobanner --format '%n#p' --recursive /usr/local | tr ',' '\n' | sort -u | awk 'system("[ -e /usr/local/lib/" $1 " ]") == 0 { next } { print "so:" $1 }' | grep -v -e perl -e python -e tcl )"; apk add --no-cache --virtual .postgresql-rundeps $runDeps bash tzdata zstd icu-data-full $([ "$(apk --print-arch)" != 'ppc64le' ] && echo 'nss_wrapper') ; apk del --no-network .build-deps; cd /; rm -rf /usr/src/postgresql /usr/local/share/doc /usr/local/share/man ; postgres --version # buildkit

2026-04-21 23:14:43 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-04-21 23:14:43 UTC (buildkit.dockerfile.v0)

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

2026-04-21 23:14:43 UTC (buildkit.dockerfile.v0)

ENV PGDATA=/var/lib/postgresql/data

2026-04-21 23:14:43 UTC (buildkit.dockerfile.v0)

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

2026-04-21 23:14:43 UTC (buildkit.dockerfile.v0)

VOLUME [/var/lib/postgresql/data]

2026-04-21 23:14:43 UTC (buildkit.dockerfile.v0)

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

2026-04-21 23:14:43 UTC (buildkit.dockerfile.v0)

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

2026-04-21 23:14:43 UTC (buildkit.dockerfile.v0)

ENTRYPOINT ["docker-entrypoint.sh"]

2026-04-21 23:14:43 UTC (buildkit.dockerfile.v0)

STOPSIGNAL SIGINT

2026-04-21 23:14:43 UTC (buildkit.dockerfile.v0)

EXPOSE map[5432/tcp:{}]

2026-04-21 23:14:43 UTC (buildkit.dockerfile.v0)

CMD ["postgres"]

2026-04-28 20:43:19 UTC (buildkit.dockerfile.v0)

ARG OSS_ONLY= -DAPACHE_ONLY=1

2026-04-28 20:43:19 UTC (buildkit.dockerfile.v0)

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

2026-04-28 20:43:19 UTC (buildkit.dockerfile.v0)

ARG PG_VERSION=17

2026-04-28 20:43:19 UTC (buildkit.dockerfile.v0)

ARG PG_MAJOR_VERSION=17

2026-04-28 20:43:19 UTC (buildkit.dockerfile.v0)

ARG ALPINE_VERSION=3.23

2026-04-28 20:43:19 UTC (buildkit.dockerfile.v0)

RUN |4 OSS_ONLY= -DAPACHE_ONLY=1 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-04-28 20:43:19 UTC (buildkit.dockerfile.v0)

ARG PGVECTOR_VERSION=v0.8.1

2026-04-28 20:43:19 UTC (buildkit.dockerfile.v0)

ARG PG_VERSION=17

2026-04-28 20:43:19 UTC (buildkit.dockerfile.v0)

ARG CLANG_VERSION=19

2026-04-28 20:43:19 UTC (buildkit.dockerfile.v0)

ARG PG_MAJOR_VERSION=17

2026-04-28 20:45:01 UTC (buildkit.dockerfile.v0)

RUN |6 OSS_ONLY= -DAPACHE_ONLY=1 PG_VERSION=17 PG_MAJOR_VERSION=17 ALPINE_VERSION=3.23 PGVECTOR_VERSION=v0.8.1 CLANG_VERSION=19 /bin/sh -c set -ex; apk update; apk add --no-cache --virtual .vector-deps postgresql${PG_VERSION}-dev git build-base clang${CLANG_VERSION} llvm${CLANG_VERSION}-dev llvm${CLANG_VERSION}; git clone --branch ${PGVECTOR_VERSION} https://github.com/pgvector/pgvector.git /build/pgvector; cd /build/pgvector; make OPTFLAGS=""; make install; apk del .vector-deps # buildkit

2026-04-28 20:45:02 UTC (buildkit.dockerfile.v0)

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

2026-04-28 20:45:05 UTC (buildkit.dockerfile.v0)

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

2026-04-28 20:45:08 UTC (buildkit.dockerfile.v0)

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

2026-04-28 20:45:16 UTC (buildkit.dockerfile.v0)

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

2026-04-28 20:45:16 UTC (buildkit.dockerfile.v0)

ARG TS_VERSION=2.26.4

2026-04-28 20:48:50 UTC (buildkit.dockerfile.v0)

RUN |7 OSS_ONLY= -DAPACHE_ONLY=1 PG_VERSION=17 PG_MAJOR_VERSION=17 ALPINE_VERSION=3.23 PGVECTOR_VERSION=v0.8.1 CLANG_VERSION=19 TS_VERSION=2.26.4 /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-04-28 20:48:16 UTC

Size

258 MB

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

Environment
DOCKER_PG_LLVM_DEPS

llvm19-dev clang19

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

3b9a62538a8da151e807a3ddb1198e8605f2032544d78f403ae883d27ecf1ee4

PG_VERSION

17.9


Layers

[#000] sha256:6a0ac1617861a677b045b7ff88545213ec31c0ff08763195a70a4a5adda577bb - 1.43% (3.69 MB)

[#001] sha256:81cc1a2654691075e0621fd8622aab4c7a2a8f07b1d456828055e7d30dd48892 - 0.0% (970 Bytes)

[#002] sha256:1f3db2300518d79f6db9073eefa98136051c9053c87ade7ccc4183549c02b73d - 0.34% (898 KB)

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

[#004] sha256:bff5d4991ae9dd9f793f9558fed4f85382605927e2a5a9c4fa91e46ac5d48e93 - 39.34% (101 MB)

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

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

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

[#008] sha256:bb6637ca88cb758905f2642a27c89a544ba0c05eca8939691d14ca55d444d1c0 - 0.0% (5.96 KB)

[#009] sha256:7fcb2638952d2c7dd45cbdc43f2d223929dc38fc9c306d16885314508ca62bb5 - 0.0% (183 Bytes)

[#010] sha256:32ad033dc550526841b329a0eef8bf2e59e217307ca5ebc05e605d89fb82718c - 1.08% (2.78 MB)

[#011] sha256:77713387b067fd72cc219a4b4c78df5f8d057a24ef266fdd4cd7b1c7e2666cb7 - 2.26% (5.82 MB)

[#012] sha256:6816296036af76e520ad5a1f5e857c9d7811fc04ce3a279a5d7544c7c0a4bdef - 0.0% (2.08 KB)

[#013] sha256:690332045184bccb68b3cff71418bfb118a983ed3e6ca2a3c7ea31fa3483a84f - 3.06% (7.89 MB)

[#014] sha256:0973500f43148a2f9abb9ed32779067b20454b06ab828d368b20622a4cba136f - 28.99% (74.7 MB)

[#015] sha256:d377d149b378c823425792d9d7aeea8c343fbe2b7504b079bbedc47c198a625f - 21.28% (54.8 MB)

[#016] sha256:3cb983bc8393cb7b69fa71c3a7215ad2033164d464f07ae7a96f510357214761 - 2.21% (5.68 MB)


History
2026-04-15 20:01:40 UTC (buildkit.dockerfile.v0)

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

2026-04-15 20:01:40 UTC (buildkit.dockerfile.v0)

CMD ["/bin/sh"]

2026-04-21 23:07:01 UTC (buildkit.dockerfile.v0)

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

2026-04-21 23:07:03 UTC (buildkit.dockerfile.v0)

ENV GOSU_VERSION=1.19

2026-04-21 23:07:03 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-04-21 23:07:03 UTC (buildkit.dockerfile.v0)

ENV LANG=en_US.utf8

2026-04-21 23:07:03 UTC (buildkit.dockerfile.v0)

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

2026-04-21 23:07:03 UTC (buildkit.dockerfile.v0)

ENV PG_MAJOR=17

2026-04-21 23:07:03 UTC (buildkit.dockerfile.v0)

ENV PG_VERSION=17.9

2026-04-21 23:07:03 UTC (buildkit.dockerfile.v0)

ENV PG_SHA256=3b9a62538a8da151e807a3ddb1198e8605f2032544d78f403ae883d27ecf1ee4

2026-04-21 23:07:03 UTC (buildkit.dockerfile.v0)

ENV DOCKER_PG_LLVM_DEPS=llvm19-dev clang19

2026-04-21 23:09: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 ; cd /usr/src/postgresql; awk '$1 == "#define" && $2 == "DEFAULT_PGSOCKET_DIR" && $3 == "\"/tmp\"" { $3 = "\"/var/run/postgresql\""; print; next } { print }' src/include/pg_config_manual.h > src/include/pg_config_manual.h.new; grep '/var/run/postgresql' src/include/pg_config_manual.h.new; mv src/include/pg_config_manual.h.new src/include/pg_config_manual.h; gnuArch="$(dpkg-architecture --query DEB_BUILD_GNU_TYPE)"; export LLVM_CONFIG="/usr/lib/llvm19/bin/llvm-config"; export CLANG=clang-19; ./configure --enable-option-checking=fatal --build="$gnuArch" --enable-integer-datetimes --enable-tap-tests --disable-rpath --with-uuid=e2fs --with-pgport=5432 --with-system-tzdata=/usr/share/zoneinfo --prefix=/usr/local --with-includes=/usr/local/include --with-libraries=/usr/local/lib --with-gssapi --with-icu --with-ldap --with-libxml --with-libxslt --with-llvm --with-lz4 --with-openssl --with-perl --with-python --with-tcl --with-zstd ; make -j "$(nproc)" world-bin; make install-world-bin; make -C contrib install; runDeps="$( scanelf --needed --nobanner --format '%n#p' --recursive /usr/local | tr ',' '\n' | sort -u | awk 'system("[ -e /usr/local/lib/" $1 " ]") == 0 { next } { print "so:" $1 }' | grep -v -e perl -e python -e tcl )"; apk add --no-cache --virtual .postgresql-rundeps $runDeps bash tzdata zstd icu-data-full $([ "$(apk --print-arch)" != 'ppc64le' ] && echo 'nss_wrapper') ; apk del --no-network .build-deps; cd /; rm -rf /usr/src/postgresql /usr/local/share/doc /usr/local/share/man ; postgres --version # buildkit

2026-04-21 23:09:33 UTC (buildkit.dockerfile.v0)

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

2026-04-21 23:09:33 UTC (buildkit.dockerfile.v0)

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

2026-04-21 23:09:33 UTC (buildkit.dockerfile.v0)

ENV PGDATA=/var/lib/postgresql/data

2026-04-21 23:09:33 UTC (buildkit.dockerfile.v0)

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

2026-04-21 23:09:33 UTC (buildkit.dockerfile.v0)

VOLUME [/var/lib/postgresql/data]

2026-04-21 23:09:33 UTC (buildkit.dockerfile.v0)

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

2026-04-21 23:09:33 UTC (buildkit.dockerfile.v0)

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

2026-04-21 23:09:33 UTC (buildkit.dockerfile.v0)

ENTRYPOINT ["docker-entrypoint.sh"]

2026-04-21 23:09:33 UTC (buildkit.dockerfile.v0)

STOPSIGNAL SIGINT

2026-04-21 23:09:33 UTC (buildkit.dockerfile.v0)

EXPOSE map[5432/tcp:{}]

2026-04-21 23:09:33 UTC (buildkit.dockerfile.v0)

CMD ["postgres"]

2026-04-28 20:43:19 UTC (buildkit.dockerfile.v0)

ARG OSS_ONLY= -DAPACHE_ONLY=1

2026-04-28 20:43:19 UTC (buildkit.dockerfile.v0)

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

2026-04-28 20:43:19 UTC (buildkit.dockerfile.v0)

ARG PG_VERSION=17

2026-04-28 20:43:19 UTC (buildkit.dockerfile.v0)

ARG PG_MAJOR_VERSION=17

2026-04-28 20:43:19 UTC (buildkit.dockerfile.v0)

ARG ALPINE_VERSION=3.23

2026-04-28 20:43:19 UTC (buildkit.dockerfile.v0)

RUN |4 OSS_ONLY= -DAPACHE_ONLY=1 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-04-28 20:43:19 UTC (buildkit.dockerfile.v0)

ARG PGVECTOR_VERSION=v0.8.1

2026-04-28 20:43:19 UTC (buildkit.dockerfile.v0)

ARG PG_VERSION=17

2026-04-28 20:43:19 UTC (buildkit.dockerfile.v0)

ARG CLANG_VERSION=19

2026-04-28 20:43:19 UTC (buildkit.dockerfile.v0)

ARG PG_MAJOR_VERSION=17

2026-04-28 20:45:01 UTC (buildkit.dockerfile.v0)

RUN |6 OSS_ONLY= -DAPACHE_ONLY=1 PG_VERSION=17 PG_MAJOR_VERSION=17 ALPINE_VERSION=3.23 PGVECTOR_VERSION=v0.8.1 CLANG_VERSION=19 /bin/sh -c set -ex; apk update; apk add --no-cache --virtual .vector-deps postgresql${PG_VERSION}-dev git build-base clang${CLANG_VERSION} llvm${CLANG_VERSION}-dev llvm${CLANG_VERSION}; git clone --branch ${PGVECTOR_VERSION} https://github.com/pgvector/pgvector.git /build/pgvector; cd /build/pgvector; make OPTFLAGS=""; make install; apk del .vector-deps # buildkit

2026-04-28 20:45:02 UTC (buildkit.dockerfile.v0)

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

2026-04-28 20:45:05 UTC (buildkit.dockerfile.v0)

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

2026-04-28 20:45:08 UTC (buildkit.dockerfile.v0)

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

2026-04-28 20:45:16 UTC (buildkit.dockerfile.v0)

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

2026-04-28 20:45:16 UTC (buildkit.dockerfile.v0)

ARG TS_VERSION=2.26.4

2026-04-28 20:48:16 UTC (buildkit.dockerfile.v0)

RUN |7 OSS_ONLY= -DAPACHE_ONLY=1 PG_VERSION=17 PG_MAJOR_VERSION=17 ALPINE_VERSION=3.23 PGVECTOR_VERSION=v0.8.1 CLANG_VERSION=19 TS_VERSION=2.26.4 /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-04-28 21:03:50 UTC

Size

235 MB

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

Environment
DOCKER_PG_LLVM_DEPS

llvm19-dev clang19

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

3b9a62538a8da151e807a3ddb1198e8605f2032544d78f403ae883d27ecf1ee4

PG_VERSION

17.9


Layers

[#000] sha256:c9cf8ef099e6e20ca4c7a2ae5b731a4beff960c0ffb88dd64fd6cdfdfe04839d - 1.45% (3.41 MB)

[#001] sha256:4adbdd517449139f3f35e4eca8ddbe89191ddfe5933d9b18a9f0adc28eace248 - 0.0% (970 Bytes)

[#002] sha256:d0010838ee39d4dfcb1cc3a6f6b49d7f611b54aec93e1bb733d0c60a553d2fb0 - 0.36% (866 KB)

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

[#004] sha256:876d6febfd863129dc6a86a622b9c38c775b083a124d2d78b18123c4c6dbdb53 - 34.87% (82 MB)

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

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

[#007] sha256:a6525fac285294a7c4ab48040cb1d0cff33ebda61fc332b91014741955c23b55 - 0.0% (168 Bytes)

[#008] sha256:8e6297267f88fa5ed1b1524d13ad0d0622b89ae16e2e1b5541201cd8dd0f527a - 0.0% (5.95 KB)

[#009] sha256:203461a8b6f18f2d59a75d2cdf143fd269347f919afccf5c44f44517395c02bb - 0.0% (183 Bytes)

[#010] sha256:0b47b5cc9c48442a7da53c60039ccbbbbfb88335d365b891c4d0cfbaa3f58a3c - 1.02% (2.4 MB)

[#011] sha256:7958a2bc0e7b9d01a1ccb966c31e2d422f68575ac2f6c9dee0f892f68f9836a9 - 2.26% (5.31 MB)

[#012] sha256:8f1170df87eeca79e1be83ac7492e04ae10875726d63cf73cc5f7b8b7634d94a - 0.0% (2.08 KB)

[#013] sha256:176fd2b884fe8ef63d55d6be4f053f98fd68dfda2e44e7ae68b3c9451b8b0249 - 3.11% (7.32 MB)

[#014] sha256:a635e27b64b0011e404523385779e36ffc5923d75509198128d4cf6030c1f9b5 - 31.21% (73.4 MB)

[#015] sha256:9aed1d4fc3ac31dbc64d35aef750219edb244ee370b5adb604b29243f2bc1648 - 23.31% (54.8 MB)

[#016] sha256:e1906f41c4629ca9e4466c99a75511e4093b597196abaa97aaa2cc09962b926e - 2.4% (5.63 MB)


History
2026-04-15 20:02:13 UTC (buildkit.dockerfile.v0)

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

2026-04-15 20:02:13 UTC (buildkit.dockerfile.v0)

CMD ["/bin/sh"]

2026-04-21 23:12:37 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-04-21 23:12:40 UTC (buildkit.dockerfile.v0)

ENV GOSU_VERSION=1.19

2026-04-21 23:12:40 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-04-21 23:12:40 UTC (buildkit.dockerfile.v0)

ENV LANG=en_US.utf8

2026-04-21 23:12:40 UTC (buildkit.dockerfile.v0)

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

2026-04-21 23:12:40 UTC (buildkit.dockerfile.v0)

ENV PG_MAJOR=17

2026-04-21 23:12:40 UTC (buildkit.dockerfile.v0)

ENV PG_VERSION=17.9

2026-04-21 23:12:40 UTC (buildkit.dockerfile.v0)

ENV PG_SHA256=3b9a62538a8da151e807a3ddb1198e8605f2032544d78f403ae883d27ecf1ee4

2026-04-21 23:12:40 UTC (buildkit.dockerfile.v0)

ENV DOCKER_PG_LLVM_DEPS=llvm19-dev clang19

2026-04-21 23:15:53 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c set -eux; wget -O postgresql.tar.bz2 "https://ftp.postgresql.org/pub/source/v$PG_VERSION/postgresql-$PG_VERSION.tar.bz2"; echo "$PG_SHA256 *postgresql.tar.bz2" | sha256sum -c -; mkdir -p /usr/src/postgresql; tar --extract --file postgresql.tar.bz2 --directory /usr/src/postgresql --strip-components 1 ; rm postgresql.tar.bz2; apk add --no-cache --virtual .build-deps $DOCKER_PG_LLVM_DEPS bison coreutils dpkg-dev dpkg flex g++ gcc krb5-dev libc-dev libedit-dev libxml2-dev libxslt-dev linux-headers make openldap-dev openssl-dev perl-dev perl-ipc-run perl-utils python3-dev tcl-dev util-linux-dev zlib-dev icu-dev lz4-dev zstd-dev ; cd /usr/src/postgresql; awk '$1 == "#define" && $2 == "DEFAULT_PGSOCKET_DIR" && $3 == "\"/tmp\"" { $3 = "\"/var/run/postgresql\""; print; next } { print }' src/include/pg_config_manual.h > src/include/pg_config_manual.h.new; grep '/var/run/postgresql' src/include/pg_config_manual.h.new; mv src/include/pg_config_manual.h.new src/include/pg_config_manual.h; gnuArch="$(dpkg-architecture --query DEB_BUILD_GNU_TYPE)"; export LLVM_CONFIG="/usr/lib/llvm19/bin/llvm-config"; export CLANG=clang-19; ./configure --enable-option-checking=fatal --build="$gnuArch" --enable-integer-datetimes --enable-tap-tests --disable-rpath --with-uuid=e2fs --with-pgport=5432 --with-system-tzdata=/usr/share/zoneinfo --prefix=/usr/local --with-includes=/usr/local/include --with-libraries=/usr/local/lib --with-gssapi --with-icu --with-ldap --with-libxml --with-libxslt --with-llvm --with-lz4 --with-openssl --with-perl --with-python --with-tcl --with-zstd ; make -j "$(nproc)" world-bin; make install-world-bin; make -C contrib install; runDeps="$( scanelf --needed --nobanner --format '%n#p' --recursive /usr/local | tr ',' '\n' | sort -u | awk 'system("[ -e /usr/local/lib/" $1 " ]") == 0 { next } { print "so:" $1 }' | grep -v -e perl -e python -e tcl )"; apk add --no-cache --virtual .postgresql-rundeps $runDeps bash tzdata zstd icu-data-full $([ "$(apk --print-arch)" != 'ppc64le' ] && echo 'nss_wrapper') ; apk del --no-network .build-deps; cd /; rm -rf /usr/src/postgresql /usr/local/share/doc /usr/local/share/man ; postgres --version # buildkit

2026-04-21 23:15:53 UTC (buildkit.dockerfile.v0)

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

2026-04-21 23:15:53 UTC (buildkit.dockerfile.v0)

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

2026-04-21 23:15:53 UTC (buildkit.dockerfile.v0)

ENV PGDATA=/var/lib/postgresql/data

2026-04-21 23:15:53 UTC (buildkit.dockerfile.v0)

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

2026-04-21 23:15:53 UTC (buildkit.dockerfile.v0)

VOLUME [/var/lib/postgresql/data]

2026-04-21 23:15:53 UTC (buildkit.dockerfile.v0)

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

2026-04-21 23:15:54 UTC (buildkit.dockerfile.v0)

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

2026-04-21 23:15:54 UTC (buildkit.dockerfile.v0)

ENTRYPOINT ["docker-entrypoint.sh"]

2026-04-21 23:15:54 UTC (buildkit.dockerfile.v0)

STOPSIGNAL SIGINT

2026-04-21 23:15:54 UTC (buildkit.dockerfile.v0)

EXPOSE map[5432/tcp:{}]

2026-04-21 23:15:54 UTC (buildkit.dockerfile.v0)

CMD ["postgres"]

2026-04-28 20:43:19 UTC (buildkit.dockerfile.v0)

ARG OSS_ONLY= -DAPACHE_ONLY=1

2026-04-28 20:43:19 UTC (buildkit.dockerfile.v0)

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

2026-04-28 20:43:19 UTC (buildkit.dockerfile.v0)

ARG PG_VERSION=17

2026-04-28 20:43:19 UTC (buildkit.dockerfile.v0)

ARG PG_MAJOR_VERSION=17

2026-04-28 20:43:19 UTC (buildkit.dockerfile.v0)

ARG ALPINE_VERSION=3.23

2026-04-28 20:43:19 UTC (buildkit.dockerfile.v0)

RUN |4 OSS_ONLY= -DAPACHE_ONLY=1 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-04-28 20:43:19 UTC (buildkit.dockerfile.v0)

ARG PGVECTOR_VERSION=v0.8.1

2026-04-28 20:43:19 UTC (buildkit.dockerfile.v0)

ARG PG_VERSION=17

2026-04-28 20:43:19 UTC (buildkit.dockerfile.v0)

ARG CLANG_VERSION=19

2026-04-28 20:43:19 UTC (buildkit.dockerfile.v0)

ARG PG_MAJOR_VERSION=17

2026-04-28 20:52:16 UTC (buildkit.dockerfile.v0)

RUN |6 OSS_ONLY= -DAPACHE_ONLY=1 PG_VERSION=17 PG_MAJOR_VERSION=17 ALPINE_VERSION=3.23 PGVECTOR_VERSION=v0.8.1 CLANG_VERSION=19 /bin/sh -c set -ex; apk update; apk add --no-cache --virtual .vector-deps postgresql${PG_VERSION}-dev git build-base clang${CLANG_VERSION} llvm${CLANG_VERSION}-dev llvm${CLANG_VERSION}; git clone --branch ${PGVECTOR_VERSION} https://github.com/pgvector/pgvector.git /build/pgvector; cd /build/pgvector; make OPTFLAGS=""; make install; apk del .vector-deps # buildkit

2026-04-28 20:52:16 UTC (buildkit.dockerfile.v0)

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

2026-04-28 20:54:21 UTC (buildkit.dockerfile.v0)

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

2026-04-28 20:54:23 UTC (buildkit.dockerfile.v0)

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

2026-04-28 20:54:26 UTC (buildkit.dockerfile.v0)

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

2026-04-28 20:54:26 UTC (buildkit.dockerfile.v0)

ARG TS_VERSION=2.26.4

2026-04-28 21:03:50 UTC (buildkit.dockerfile.v0)

RUN |7 OSS_ONLY= -DAPACHE_ONLY=1 PG_VERSION=17 PG_MAJOR_VERSION=17 ALPINE_VERSION=3.23 PGVECTOR_VERSION=v0.8.1 CLANG_VERSION=19 TS_VERSION=2.26.4 /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-04-28 21:03:36 UTC

Size

231 MB

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

Environment
DOCKER_PG_LLVM_DEPS

llvm19-dev clang19

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

3b9a62538a8da151e807a3ddb1198e8605f2032544d78f403ae883d27ecf1ee4

PG_VERSION

17.9


Layers

[#000] sha256:c160e404c59d6d30c66a0d74bbd17337f178f5d898a9908e18c71ce3bbe28c99 - 1.36% (3.13 MB)

[#001] sha256:bcfd7b50268f1ba285eda602e239a2a532e24384148e39f7d223046d5277f80e - 0.0% (970 Bytes)

[#002] sha256:44ee135f94296ff869f9ce548d513ef3d18ed5f1a2817d712b67868632acf5f3 - 0.37% (866 KB)

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

[#004] sha256:b6466728877c082083026010c3302012b4e25809d79609ad18dc3d63e64e92f7 - 33.7% (77.7 MB)

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

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

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

[#008] sha256:5c839485d0f6f686e03db3361f937653fb1905e364eda04b7dd4915fc1ddb1f6 - 0.0% (5.96 KB)

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

[#010] sha256:d94080144356a64082c80b95e91f275ef5d4839bb9c36c7ca0f0db285a2c67b3 - 1.13% (2.61 MB)

[#011] sha256:eb28fb1f0114d00fbf2f49d82a8968ca85597a9cfdd0153c6740c84961855e94 - 2.41% (5.55 MB)

[#012] sha256:4522c8af3f741bf35b217c34b6b6b96eade9ce9badd389256a16738bddefda50 - 0.0% (2.08 KB)

[#013] sha256:5c5b40bb9c9f545268b90f0f4611d471c90d76e79b1359ac43375d421a975855 - 3.17% (7.31 MB)

[#014] sha256:fcae0f8de334e8f2e4600f3eb6a345732cf2cd2299cdac82e062e5ceb5546724 - 31.65% (73 MB)

[#015] sha256:d0fb9c55ffdc4d88bcc4d29cb204d66aceeec8cca8ca11d655dd402b935a8821 - 23.78% (54.8 MB)

[#016] sha256:4190da9ae8024846bf8d4731d21be45bda3feabd064cef43094cc0e73b893ebb - 2.44% (5.62 MB)


History
2026-04-15 20:01:47 UTC (buildkit.dockerfile.v0)

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

2026-04-15 20:01:47 UTC (buildkit.dockerfile.v0)

CMD ["/bin/sh"]

2026-04-21 23:30:19 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-04-21 23:30:22 UTC (buildkit.dockerfile.v0)

ENV GOSU_VERSION=1.19

2026-04-21 23:30:22 UTC (buildkit.dockerfile.v0)

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

2026-04-21 23:30:22 UTC (buildkit.dockerfile.v0)

ENV LANG=en_US.utf8

2026-04-21 23:30:22 UTC (buildkit.dockerfile.v0)

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

2026-04-21 23:30:22 UTC (buildkit.dockerfile.v0)

ENV PG_MAJOR=17

2026-04-21 23:30:22 UTC (buildkit.dockerfile.v0)

ENV PG_VERSION=17.9

2026-04-21 23:30:22 UTC (buildkit.dockerfile.v0)

ENV PG_SHA256=3b9a62538a8da151e807a3ddb1198e8605f2032544d78f403ae883d27ecf1ee4

2026-04-21 23:30:22 UTC (buildkit.dockerfile.v0)

ENV DOCKER_PG_LLVM_DEPS=llvm19-dev clang19

2026-04-21 23:33: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/llvm19/bin/llvm-config"; export CLANG=clang-19; ./configure --enable-option-checking=fatal --build="$gnuArch" --enable-integer-datetimes --enable-tap-tests --disable-rpath --with-uuid=e2fs --with-pgport=5432 --with-system-tzdata=/usr/share/zoneinfo --prefix=/usr/local --with-includes=/usr/local/include --with-libraries=/usr/local/lib --with-gssapi --with-icu --with-ldap --with-libxml --with-libxslt --with-llvm --with-lz4 --with-openssl --with-perl --with-python --with-tcl --with-zstd ; make -j "$(nproc)" world-bin; make install-world-bin; make -C contrib install; runDeps="$( scanelf --needed --nobanner --format '%n#p' --recursive /usr/local | tr ',' '\n' | sort -u | awk 'system("[ -e /usr/local/lib/" $1 " ]") == 0 { next } { print "so:" $1 }' | grep -v -e perl -e python -e tcl )"; apk add --no-cache --virtual .postgresql-rundeps $runDeps bash tzdata zstd icu-data-full $([ "$(apk --print-arch)" != 'ppc64le' ] && echo 'nss_wrapper') ; apk del --no-network .build-deps; cd /; rm -rf /usr/src/postgresql /usr/local/share/doc /usr/local/share/man ; postgres --version # buildkit

2026-04-21 23:33: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-04-21 23:33:22 UTC (buildkit.dockerfile.v0)

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

2026-04-21 23:33:22 UTC (buildkit.dockerfile.v0)

ENV PGDATA=/var/lib/postgresql/data

2026-04-21 23:33:22 UTC (buildkit.dockerfile.v0)

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

2026-04-21 23:33:22 UTC (buildkit.dockerfile.v0)

VOLUME [/var/lib/postgresql/data]

2026-04-21 23:33:22 UTC (buildkit.dockerfile.v0)

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

2026-04-21 23:33:22 UTC (buildkit.dockerfile.v0)

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

2026-04-21 23:33:22 UTC (buildkit.dockerfile.v0)

ENTRYPOINT ["docker-entrypoint.sh"]

2026-04-21 23:33:22 UTC (buildkit.dockerfile.v0)

STOPSIGNAL SIGINT

2026-04-21 23:33:22 UTC (buildkit.dockerfile.v0)

EXPOSE map[5432/tcp:{}]

2026-04-21 23:33:22 UTC (buildkit.dockerfile.v0)

CMD ["postgres"]

2026-04-28 20:43:07 UTC (buildkit.dockerfile.v0)

ARG OSS_ONLY= -DAPACHE_ONLY=1

2026-04-28 20:43:07 UTC (buildkit.dockerfile.v0)

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

2026-04-28 20:43:07 UTC (buildkit.dockerfile.v0)

ARG PG_VERSION=17

2026-04-28 20:43:07 UTC (buildkit.dockerfile.v0)

ARG PG_MAJOR_VERSION=17

2026-04-28 20:43:07 UTC (buildkit.dockerfile.v0)

ARG ALPINE_VERSION=3.23

2026-04-28 20:43:07 UTC (buildkit.dockerfile.v0)

RUN |4 OSS_ONLY= -DAPACHE_ONLY=1 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-04-28 20:43:07 UTC (buildkit.dockerfile.v0)

ARG PGVECTOR_VERSION=v0.8.1

2026-04-28 20:43:07 UTC (buildkit.dockerfile.v0)

ARG PG_VERSION=17

2026-04-28 20:43:07 UTC (buildkit.dockerfile.v0)

ARG CLANG_VERSION=19

2026-04-28 20:43:07 UTC (buildkit.dockerfile.v0)

ARG PG_MAJOR_VERSION=17

2026-04-28 20:52:21 UTC (buildkit.dockerfile.v0)

RUN |6 OSS_ONLY= -DAPACHE_ONLY=1 PG_VERSION=17 PG_MAJOR_VERSION=17 ALPINE_VERSION=3.23 PGVECTOR_VERSION=v0.8.1 CLANG_VERSION=19 /bin/sh -c set -ex; apk update; apk add --no-cache --virtual .vector-deps postgresql${PG_VERSION}-dev git build-base clang${CLANG_VERSION} llvm${CLANG_VERSION}-dev llvm${CLANG_VERSION}; git clone --branch ${PGVECTOR_VERSION} https://github.com/pgvector/pgvector.git /build/pgvector; cd /build/pgvector; make OPTFLAGS=""; make install; apk del .vector-deps # buildkit

2026-04-28 20:52:21 UTC (buildkit.dockerfile.v0)

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

2026-04-28 20:54:04 UTC (buildkit.dockerfile.v0)

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

2026-04-28 20:54:05 UTC (buildkit.dockerfile.v0)

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

2026-04-28 20:54:09 UTC (buildkit.dockerfile.v0)

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

2026-04-28 20:54:09 UTC (buildkit.dockerfile.v0)

ARG TS_VERSION=2.26.4

2026-04-28 21:03:36 UTC (buildkit.dockerfile.v0)

RUN |7 OSS_ONLY= -DAPACHE_ONLY=1 PG_VERSION=17 PG_MAJOR_VERSION=17 ALPINE_VERSION=3.23 PGVECTOR_VERSION=v0.8.1 CLANG_VERSION=19 TS_VERSION=2.26.4 /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-04-28 21:04:12 UTC

Size

254 MB

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

Environment
DOCKER_PG_LLVM_DEPS

llvm19-dev clang19

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

3b9a62538a8da151e807a3ddb1198e8605f2032544d78f403ae883d27ecf1ee4

PG_VERSION

17.9


Layers

[#000] sha256:d17f077ada118cc762df373ff803592abf2dfa3ddafaa7381e364dd27a88fca7 - 1.58% (4.01 MB)

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

[#002] sha256:5ce4f4b0bb19204ecbd8113fb061ae48479516ead9869725bcb6aeb347866f7b - 0.33% (854 KB)

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

[#004] sha256:c854d46a692b3d1a0c3127ac20496f4e611868927571d9df62833550df34cc7c - 39.08% (99.4 MB)

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

[#006] sha256:f2a2eabcadb7bedc8e74bdc62b30846cedc3e6a413176b7c4965b8afce8aec00 - 0.0% (127 Bytes)

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

[#008] sha256:aa1b8ee003e9bc3c8f9ec76154fd7e7a73299685ed8e7126eed42c6d7d70b448 - 0.0% (5.96 KB)

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

[#010] sha256:cc8d98e17a05c49123e70f12e29b79feced5c61a9945f307c133c689e99db3a5 - 1.08% (2.76 MB)

[#011] sha256:4a69c92d2b34d67587d4d3f750e1d3d87fd4e5edbaac9b143416119acd0cb23b - 2.25% (5.73 MB)

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

[#013] sha256:bc7a4ebf000b64eedab73a9bf418903fa5cacf79a1d0f76f46f948daacc155db - 2.92% (7.42 MB)

[#014] sha256:93c82a8cb1e4d6f36c19d17d776d5bf7e65f9345b1652457ac28edf21f6ee279 - 28.98% (73.7 MB)

[#015] sha256:58cbe6888658f2c00c80c8c25833df21d8c5ed64156ef31761f59bfa9dce5482 - 21.56% (54.8 MB)

[#016] sha256:47b24324a5925f8338ae9f774f3768189b8fcbfb4c268cf9c89186bb36115ed4 - 2.22% (5.63 MB)


History
2026-04-15 20:01:25 UTC (buildkit.dockerfile.v0)

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

2026-04-15 20:01:25 UTC (buildkit.dockerfile.v0)

CMD ["/bin/sh"]

2026-04-21 23:08:11 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-04-21 23:08:14 UTC (buildkit.dockerfile.v0)

ENV GOSU_VERSION=1.19

2026-04-21 23:08: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-04-21 23:08:14 UTC (buildkit.dockerfile.v0)

ENV LANG=en_US.utf8

2026-04-21 23:08:14 UTC (buildkit.dockerfile.v0)

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

2026-04-21 23:08:14 UTC (buildkit.dockerfile.v0)

ENV PG_MAJOR=17

2026-04-21 23:08:14 UTC (buildkit.dockerfile.v0)

ENV PG_VERSION=17.9

2026-04-21 23:08:14 UTC (buildkit.dockerfile.v0)

ENV PG_SHA256=3b9a62538a8da151e807a3ddb1198e8605f2032544d78f403ae883d27ecf1ee4

2026-04-21 23:08:14 UTC (buildkit.dockerfile.v0)

ENV DOCKER_PG_LLVM_DEPS=llvm19-dev clang19

2026-04-21 23:10:36 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c set -eux; wget -O postgresql.tar.bz2 "https://ftp.postgresql.org/pub/source/v$PG_VERSION/postgresql-$PG_VERSION.tar.bz2"; echo "$PG_SHA256 *postgresql.tar.bz2" | sha256sum -c -; mkdir -p /usr/src/postgresql; tar --extract --file postgresql.tar.bz2 --directory /usr/src/postgresql --strip-components 1 ; rm postgresql.tar.bz2; apk add --no-cache --virtual .build-deps $DOCKER_PG_LLVM_DEPS bison coreutils dpkg-dev dpkg flex g++ gcc krb5-dev libc-dev libedit-dev libxml2-dev libxslt-dev linux-headers make openldap-dev openssl-dev perl-dev perl-ipc-run perl-utils python3-dev tcl-dev util-linux-dev zlib-dev icu-dev lz4-dev zstd-dev ; cd /usr/src/postgresql; awk '$1 == "#define" && $2 == "DEFAULT_PGSOCKET_DIR" && $3 == "\"/tmp\"" { $3 = "\"/var/run/postgresql\""; print; next } { print }' src/include/pg_config_manual.h > src/include/pg_config_manual.h.new; grep '/var/run/postgresql' src/include/pg_config_manual.h.new; mv src/include/pg_config_manual.h.new src/include/pg_config_manual.h; gnuArch="$(dpkg-architecture --query DEB_BUILD_GNU_TYPE)"; export LLVM_CONFIG="/usr/lib/llvm19/bin/llvm-config"; export CLANG=clang-19; ./configure --enable-option-checking=fatal --build="$gnuArch" --enable-integer-datetimes --enable-tap-tests --disable-rpath --with-uuid=e2fs --with-pgport=5432 --with-system-tzdata=/usr/share/zoneinfo --prefix=/usr/local --with-includes=/usr/local/include --with-libraries=/usr/local/lib --with-gssapi --with-icu --with-ldap --with-libxml --with-libxslt --with-llvm --with-lz4 --with-openssl --with-perl --with-python --with-tcl --with-zstd ; make -j "$(nproc)" world-bin; make install-world-bin; make -C contrib install; runDeps="$( scanelf --needed --nobanner --format '%n#p' --recursive /usr/local | tr ',' '\n' | sort -u | awk 'system("[ -e /usr/local/lib/" $1 " ]") == 0 { next } { print "so:" $1 }' | grep -v -e perl -e python -e tcl )"; apk add --no-cache --virtual .postgresql-rundeps $runDeps bash tzdata zstd icu-data-full $([ "$(apk --print-arch)" != 'ppc64le' ] && echo 'nss_wrapper') ; apk del --no-network .build-deps; cd /; rm -rf /usr/src/postgresql /usr/local/share/doc /usr/local/share/man ; postgres --version # buildkit

2026-04-21 23:10:36 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-04-21 23:10:36 UTC (buildkit.dockerfile.v0)

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

2026-04-21 23:10:36 UTC (buildkit.dockerfile.v0)

ENV PGDATA=/var/lib/postgresql/data

2026-04-21 23:10:36 UTC (buildkit.dockerfile.v0)

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

2026-04-21 23:10:36 UTC (buildkit.dockerfile.v0)

VOLUME [/var/lib/postgresql/data]

2026-04-21 23:10:36 UTC (buildkit.dockerfile.v0)

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

2026-04-21 23:10:36 UTC (buildkit.dockerfile.v0)

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

2026-04-21 23:10:36 UTC (buildkit.dockerfile.v0)

ENTRYPOINT ["docker-entrypoint.sh"]

2026-04-21 23:10:36 UTC (buildkit.dockerfile.v0)

STOPSIGNAL SIGINT

2026-04-21 23:10:36 UTC (buildkit.dockerfile.v0)

EXPOSE map[5432/tcp:{}]

2026-04-21 23:10:36 UTC (buildkit.dockerfile.v0)

CMD ["postgres"]

2026-04-28 20:43:19 UTC (buildkit.dockerfile.v0)

ARG OSS_ONLY= -DAPACHE_ONLY=1

2026-04-28 20:43:19 UTC (buildkit.dockerfile.v0)

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

2026-04-28 20:43:19 UTC (buildkit.dockerfile.v0)

ARG PG_VERSION=17

2026-04-28 20:43:19 UTC (buildkit.dockerfile.v0)

ARG PG_MAJOR_VERSION=17

2026-04-28 20:43:19 UTC (buildkit.dockerfile.v0)

ARG ALPINE_VERSION=3.23

2026-04-28 20:43:19 UTC (buildkit.dockerfile.v0)

RUN |4 OSS_ONLY= -DAPACHE_ONLY=1 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-04-28 20:43:19 UTC (buildkit.dockerfile.v0)

ARG PGVECTOR_VERSION=v0.8.1

2026-04-28 20:43:19 UTC (buildkit.dockerfile.v0)

ARG PG_VERSION=17

2026-04-28 20:43:19 UTC (buildkit.dockerfile.v0)

ARG CLANG_VERSION=19

2026-04-28 20:43:19 UTC (buildkit.dockerfile.v0)

ARG PG_MAJOR_VERSION=17

2026-04-28 20:52:38 UTC (buildkit.dockerfile.v0)

RUN |6 OSS_ONLY= -DAPACHE_ONLY=1 PG_VERSION=17 PG_MAJOR_VERSION=17 ALPINE_VERSION=3.23 PGVECTOR_VERSION=v0.8.1 CLANG_VERSION=19 /bin/sh -c set -ex; apk update; apk add --no-cache --virtual .vector-deps postgresql${PG_VERSION}-dev git build-base clang${CLANG_VERSION} llvm${CLANG_VERSION}-dev llvm${CLANG_VERSION}; git clone --branch ${PGVECTOR_VERSION} https://github.com/pgvector/pgvector.git /build/pgvector; cd /build/pgvector; make OPTFLAGS=""; make install; apk del .vector-deps # buildkit

2026-04-28 20:52:38 UTC (buildkit.dockerfile.v0)

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

2026-04-28 20:54:27 UTC (buildkit.dockerfile.v0)

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

2026-04-28 20:54:29 UTC (buildkit.dockerfile.v0)

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

2026-04-28 20:54:32 UTC (buildkit.dockerfile.v0)

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

2026-04-28 20:54:32 UTC (buildkit.dockerfile.v0)

ARG TS_VERSION=2.26.4

2026-04-28 21:04:12 UTC (buildkit.dockerfile.v0)

RUN |7 OSS_ONLY= -DAPACHE_ONLY=1 PG_VERSION=17 PG_MAJOR_VERSION=17 ALPINE_VERSION=3.23 PGVECTOR_VERSION=v0.8.1 CLANG_VERSION=19 TS_VERSION=2.26.4 /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