2026-04-05 22:16:48 UTC
345 MB
llvm19-dev clang19
GOSU_VERSION1.19
LANGen_US.utf8
PATH/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
PGDATA/var/lib/postgresql/data
PG_MAJOR15
PG_SHA256ae14f24c14727e0b2ded1c5553031666099bd1054db3ef44bfa6e2bd6d554a56
PG_VERSION15.17
[#000] sha256:757a99eda61f22434071cfbc7a70f9526b63aeb5479a64272982017ee7cd9cfd - 1.0% (3.45 MB)
[#001] sha256:f900c73cf7d491355f8ccb851c8ca2a2cd6bf5a4528e310a1d428dd0852859ef - 0.0% (975 Bytes)
[#002] sha256:6aaafe8751749cbb48fe9aba2611892ad7eec97371aee19e5458f87b867dc3a5 - 0.25% (870 KB)
[#003] sha256:7072ac653b1fabd040f91f7a89f8aa3d3a0cd08e1b7c0ac63a94a62dec0de69c - 0.0% (174 Bytes)
[#004] sha256:d324075d4825a4a395138fda6a14f09ac09be329122a6f45808e9c425ba491a1 - 0.0% (116 Bytes)
[#005] sha256:9152c609e90729c1f0103264774054ec39150caf3d6392362219997ca515d008 - 30.55% (105 MB)
[#006] sha256:be986ca1234de82079ef11ed1322b1761425db3a131d9c13d582395186b602ac - 0.0% (9.23 KB)
[#007] sha256:e4a34799ad39c091849969c0037d8e84c3e4473bec582997d4c44466ca7f3ddd - 0.0% (127 Bytes)
[#008] sha256:3223b9566b670f3f660aadd81676d0b2994266676a77890c37d350311bf7a5c0 - 0.0% (167 Bytes)
[#009] sha256:797da6860f74f23ed259052bdc42b4a4ec384b5585b0a9d0fc6b2c6d2453e133 - 0.0% (5.7 KB)
[#010] sha256:706292180dc4a4aefb77421810e7eb9fbed9354afed0a1d578e2482106d060f4 - 0.0% (185 Bytes)
[#011] sha256:0e514c649b7df25a053af8a6800cfb439cbefd75dab426afeac885f573b9f6ed - 0.67% (2.32 MB)
[#012] sha256:8dc8f0916fde887a369c4623d1ffe945eabffc12204675eb759632b1dd72cef3 - 0.85% (2.91 MB)
[#013] sha256:f5d1a0afba68b6f76707335a8cfb5403da8af5a2792103a56bfee99e49bf2e42 - 0.0% (2.08 KB)
[#014] sha256:532dc860ed86928be1ae20ad7f3ffd41b220adc7b6fa17bd44db9d354e3bcc39 - 2.2% (7.58 MB)
[#015] sha256:7978b79b668739d44c5ee3a15f2158ca4f4a8c96754c875da17ac2e0dcd3a97b - 35.08% (121 MB)
[#016] sha256:3df946d872936a5b502f90b5399fb16fddc5f843e4ef1f2cad06cdfde1e6d191 - 27.92% (96.2 MB)
[#017] sha256:70c63536b6a33a1caef0fab6ee55bee4595497264ede795784a9d6f0cde48909 - 1.47% (5.07 MB)
ADD alpine-minirootfs-3.22.3-x86.tar.gz / # buildkit
2026-01-28 01:18:53 UTC (buildkit.dockerfile.v0)CMD ["/bin/sh"]
2026-02-26 19:16:26 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-02-26 19:16:29 UTC (buildkit.dockerfile.v0)ENV GOSU_VERSION=1.19
2026-02-26 19:16:29 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-02-26 19:22:29 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c set -eux; ln -svf gosu /usr/local/bin/su-exec; su-exec nobody true # backwards compatibility (removed in PostgreSQL 17+) # buildkit
2026-02-26 19:22:29 UTC (buildkit.dockerfile.v0)ENV LANG=en_US.utf8
2026-02-26 19:22:29 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c mkdir /docker-entrypoint-initdb.d # buildkit
2026-02-26 19:22:29 UTC (buildkit.dockerfile.v0)ENV PG_MAJOR=15
2026-02-26 19:22:29 UTC (buildkit.dockerfile.v0)ENV PG_VERSION=15.17
2026-02-26 19:22:29 UTC (buildkit.dockerfile.v0)ENV PG_SHA256=ae14f24c14727e0b2ded1c5553031666099bd1054db3ef44bfa6e2bd6d554a56
2026-02-26 19:22:29 UTC (buildkit.dockerfile.v0)ENV DOCKER_PG_LLVM_DEPS=llvm19-dev clang19
2026-02-26 19:24:40 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-thread-safety --enable-tap-tests --disable-rpath --with-uuid=e2fs --with-gnu-ld --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-02-26 19:24:40 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-02-26 19:24:40 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c install --verbose --directory --owner postgres --group postgres --mode 3777 /var/run/postgresql # buildkit
2026-02-26 19:24:40 UTC (buildkit.dockerfile.v0)ENV PGDATA=/var/lib/postgresql/data
2026-02-26 19:24:40 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c install --verbose --directory --owner postgres --group postgres --mode 1777 "$PGDATA" # buildkit
2026-02-26 19:24:40 UTC (buildkit.dockerfile.v0)VOLUME [/var/lib/postgresql/data]
2026-02-26 19:24:40 UTC (buildkit.dockerfile.v0)COPY docker-entrypoint.sh docker-ensure-initdb.sh /usr/local/bin/ # buildkit
2026-02-26 19:24:41 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c ln -sT docker-ensure-initdb.sh /usr/local/bin/docker-enforce-initdb.sh # buildkit
2026-02-26 19:24:41 UTC (buildkit.dockerfile.v0)ENTRYPOINT ["docker-entrypoint.sh"]
2026-02-26 19:24:41 UTC (buildkit.dockerfile.v0)STOPSIGNAL SIGINT
2026-02-26 19:24:41 UTC (buildkit.dockerfile.v0)EXPOSE map[5432/tcp:{}]
2026-02-26 19:24:41 UTC (buildkit.dockerfile.v0)CMD ["postgres"]
2026-04-05 22:10:24 UTC (buildkit.dockerfile.v0)ARG OSS_ONLY= -DAPACHE_ONLY=1
2026-04-05 22:10:24 UTC (buildkit.dockerfile.v0)LABEL maintainer=Timescale https://www.timescale.com
2026-04-05 22:10:24 UTC (buildkit.dockerfile.v0)ARG PG_VERSION=15
2026-04-05 22:10:24 UTC (buildkit.dockerfile.v0)ARG PG_MAJOR_VERSION=15
2026-04-05 22:10:24 UTC (buildkit.dockerfile.v0)ARG ALPINE_VERSION=3.22
2026-04-05 22:10:24 UTC (buildkit.dockerfile.v0)RUN |4 OSS_ONLY= -DAPACHE_ONLY=1 PG_VERSION=15 PG_MAJOR_VERSION=15 ALPINE_VERSION=3.22 /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-05 22:10:24 UTC (buildkit.dockerfile.v0)ARG PGVECTOR_VERSION=v0.8.1
2026-04-05 22:10:24 UTC (buildkit.dockerfile.v0)ARG PG_VERSION=15
2026-04-05 22:10:24 UTC (buildkit.dockerfile.v0)ARG CLANG_VERSION=19
2026-04-05 22:10:24 UTC (buildkit.dockerfile.v0)ARG PG_MAJOR_VERSION=15
2026-04-05 22:12:12 UTC (buildkit.dockerfile.v0)RUN |6 OSS_ONLY= -DAPACHE_ONLY=1 PG_VERSION=15 PG_MAJOR_VERSION=15 ALPINE_VERSION=3.22 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-05 22:12:12 UTC (buildkit.dockerfile.v0)COPY docker-entrypoint-initdb.d/* /docker-entrypoint-initdb.d/ # buildkit
2026-04-05 22:13:00 UTC (buildkit.dockerfile.v0)COPY /go/bin/* /usr/local/bin/ # buildkit
2026-04-05 22:13:00 UTC (buildkit.dockerfile.v0)COPY /usr/local/lib/postgresql/timescaledb-*.so /usr/local/lib/postgresql/ # buildkit
2026-04-05 22:13:02 UTC (buildkit.dockerfile.v0)COPY /usr/local/share/postgresql/extension/timescaledb--*.sql /usr/local/share/postgresql/extension/ # buildkit
2026-04-05 22:13:02 UTC (buildkit.dockerfile.v0)ARG TS_VERSION=2.26.1
2026-04-05 22:16:48 UTC (buildkit.dockerfile.v0)RUN |7 OSS_ONLY= -DAPACHE_ONLY=1 PG_VERSION=15 PG_MAJOR_VERSION=15 ALPINE_VERSION=3.22 PGVECTOR_VERSION=v0.8.1 CLANG_VERSION=19 TS_VERSION=2.26.1 /bin/sh -c set -ex && apk add --no-cache --virtual .fetch-deps ca-certificates git openssl openssl-dev tar && mkdir -p /build/ && git clone https://github.com/timescale/timescaledb /build/timescaledb && apk add --no-cache --virtual .build-deps coreutils dpkg-dev dpkg icu-dev gcc libc-dev make cmake util-linux-dev && cd /build/timescaledb && rm -fr build && git checkout ${TS_VERSION} && ./bootstrap -DCMAKE_BUILD_TYPE=RelWithDebInfo -DREGRESS_CHECKS=OFF -DTAP_CHECKS=OFF -DGENERATE_DOWNGRADE_SCRIPT=ON -DWARNINGS_AS_ERRORS=OFF -DPROJECT_INSTALL_METHOD="docker"${OSS_ONLY} && cd build && make install && cd ~ && if [ "${OSS_ONLY}" != "" ]; then rm -f $(pg_config --pkglibdir)/timescaledb-tsl-*.so; fi && apk del .fetch-deps .build-deps && rm -rf /build && sed -r -i "s/[#]*\s*(shared_preload_libraries)\s*=\s*'(.*)'/\1 = 'timescaledb,\2'/;s/,'/'/" /usr/local/share/postgresql/postgresql.conf.sample # buildkit
2026-04-05 22:15:52 UTC
345 MB
llvm19-dev clang19
GOSU_VERSION1.19
LANGen_US.utf8
PATH/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
PGDATA/var/lib/postgresql/data
PG_MAJOR15
PG_SHA256ae14f24c14727e0b2ded1c5553031666099bd1054db3ef44bfa6e2bd6d554a56
PG_VERSION15.17
[#000] sha256:d49a2dee86fb12766dd648402d010ca105846a41bd58738454e53780d4bb8e97 - 1.05% (3.63 MB)
[#001] sha256:746257c18b4fe30a4dc507b9f4f8f61ce71bb43541c1d7b53982b6ef6b7b082a - 0.0% (974 Bytes)
[#002] sha256:5d86b64f7d0c35d79ef4e214aa2fe1e09ecd09056597ce774e9b63a396e442f5 - 0.25% (897 KB)
[#003] sha256:4f90b91ee143b48114d978ad3a90d14b89a1fabd348990cd4a72f356581db088 - 0.0% (173 Bytes)
[#004] sha256:57fd1a55aa429d11072ad24bf11accb3c27483a9c0733351905ea514beda7c82 - 0.0% (116 Bytes)
[#005] sha256:b0422404fb83619b0b1a378163403559db71bb4032939703bcc8d6382836f1bf - 28.76% (99.1 MB)
[#006] sha256:55c00ea5549cf78552b5d561cac57965f301ee7fb4c93c3b97b9a9d35831a49e - 0.0% (9.23 KB)
[#007] sha256:06aa410ecaac3c1a2ea6faadb762b2a4492f8b296f87a499c3021780221c967d - 0.0% (128 Bytes)
[#008] sha256:a8f5091b3dc1ab4c01b20c721df8cda0b60a3823ba72ceb4f54ef5f6a18adf01 - 0.0% (169 Bytes)
[#009] sha256:ed3b20406d7fe27e39e59858d8c543786891e093ca736713f7e306f09e87e24a - 0.0% (5.71 KB)
[#010] sha256:f26382d17145e48eb840f609fa8b04e5243a22f35cd3ea5e7c161648f300f571 - 0.0% (186 Bytes)
[#011] sha256:a590a9f87e1104916672f744151871faeefcadec45bd92a354ba08df5e23bcfb - 0.72% (2.48 MB)
[#012] sha256:d5a21533df92cda53db6e47f267ec353fb3db5d2e78ceb9c1fb3b68cd368c149 - 0.85% (2.93 MB)
[#013] sha256:97eca8f16db5a9deb0298e5ece3deab963ce64d77538846377af0acefb91769b - 0.0% (2.08 KB)
[#014] sha256:cde4cbe382359dae9551d8fa8a577f3f2b0b68882144e8e499f6c1a89e585c11 - 2.29% (7.89 MB)
[#015] sha256:dfd16540815c338cd21e2cc07d0414dab13186a5ca4aa9509151e081ef52336d - 36.66% (126 MB)
[#016] sha256:4e2bfa68e43aad089fd150d37455b79890e45c80cdb890af3aeb8dffe1fa5396 - 27.91% (96.2 MB)
[#017] sha256:5cb59f268e6de14219bbfd67583dba7c9751248d86cd05253f2b4f4e11853b8a - 1.5% (5.18 MB)
ADD alpine-minirootfs-3.22.3-x86_64.tar.gz / # buildkit
2026-01-28 01:18:40 UTC (buildkit.dockerfile.v0)CMD ["/bin/sh"]
2026-02-26 19:28:28 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-02-26 19:28:32 UTC (buildkit.dockerfile.v0)ENV GOSU_VERSION=1.19
2026-02-26 19:28:32 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-02-26 19:28:32 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c set -eux; ln -svf gosu /usr/local/bin/su-exec; su-exec nobody true # backwards compatibility (removed in PostgreSQL 17+) # buildkit
2026-02-26 19:28:32 UTC (buildkit.dockerfile.v0)ENV LANG=en_US.utf8
2026-02-26 19:28:32 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c mkdir /docker-entrypoint-initdb.d # buildkit
2026-02-26 19:28:32 UTC (buildkit.dockerfile.v0)ENV PG_MAJOR=15
2026-02-26 19:28:32 UTC (buildkit.dockerfile.v0)ENV PG_VERSION=15.17
2026-02-26 19:28:32 UTC (buildkit.dockerfile.v0)ENV PG_SHA256=ae14f24c14727e0b2ded1c5553031666099bd1054db3ef44bfa6e2bd6d554a56
2026-02-26 19:28:32 UTC (buildkit.dockerfile.v0)ENV DOCKER_PG_LLVM_DEPS=llvm19-dev clang19
2026-02-26 19:30:35 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c set -eux; wget -O postgresql.tar.bz2 "https://ftp.postgresql.org/pub/source/v$PG_VERSION/postgresql-$PG_VERSION.tar.bz2"; echo "$PG_SHA256 *postgresql.tar.bz2" | sha256sum -c -; mkdir -p /usr/src/postgresql; tar --extract --file postgresql.tar.bz2 --directory /usr/src/postgresql --strip-components 1 ; rm postgresql.tar.bz2; apk add --no-cache --virtual .build-deps $DOCKER_PG_LLVM_DEPS bison coreutils dpkg-dev dpkg flex g++ gcc krb5-dev libc-dev libedit-dev libxml2-dev libxslt-dev linux-headers make openldap-dev openssl-dev perl-dev perl-ipc-run perl-utils python3-dev tcl-dev util-linux-dev zlib-dev icu-dev lz4-dev zstd-dev ; cd /usr/src/postgresql; awk '$1 == "#define" && $2 == "DEFAULT_PGSOCKET_DIR" && $3 == "\"/tmp\"" { $3 = "\"/var/run/postgresql\""; print; next } { print }' src/include/pg_config_manual.h > src/include/pg_config_manual.h.new; grep '/var/run/postgresql' src/include/pg_config_manual.h.new; mv src/include/pg_config_manual.h.new src/include/pg_config_manual.h; gnuArch="$(dpkg-architecture --query DEB_BUILD_GNU_TYPE)"; export LLVM_CONFIG="/usr/lib/llvm19/bin/llvm-config"; export CLANG=clang-19; ./configure --enable-option-checking=fatal --build="$gnuArch" --enable-integer-datetimes --enable-thread-safety --enable-tap-tests --disable-rpath --with-uuid=e2fs --with-gnu-ld --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-02-26 19:30: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-02-26 19:30:36 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c install --verbose --directory --owner postgres --group postgres --mode 3777 /var/run/postgresql # buildkit
2026-02-26 19:30:36 UTC (buildkit.dockerfile.v0)ENV PGDATA=/var/lib/postgresql/data
2026-02-26 19:30:36 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c install --verbose --directory --owner postgres --group postgres --mode 1777 "$PGDATA" # buildkit
2026-02-26 19:30:36 UTC (buildkit.dockerfile.v0)VOLUME [/var/lib/postgresql/data]
2026-02-26 19:30:36 UTC (buildkit.dockerfile.v0)COPY docker-entrypoint.sh docker-ensure-initdb.sh /usr/local/bin/ # buildkit
2026-02-26 19:30:36 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c ln -sT docker-ensure-initdb.sh /usr/local/bin/docker-enforce-initdb.sh # buildkit
2026-02-26 19:30:36 UTC (buildkit.dockerfile.v0)ENTRYPOINT ["docker-entrypoint.sh"]
2026-02-26 19:30:36 UTC (buildkit.dockerfile.v0)STOPSIGNAL SIGINT
2026-02-26 19:30:36 UTC (buildkit.dockerfile.v0)EXPOSE map[5432/tcp:{}]
2026-02-26 19:30:36 UTC (buildkit.dockerfile.v0)CMD ["postgres"]
2026-04-05 22:10:23 UTC (buildkit.dockerfile.v0)ARG OSS_ONLY= -DAPACHE_ONLY=1
2026-04-05 22:10:23 UTC (buildkit.dockerfile.v0)LABEL maintainer=Timescale https://www.timescale.com
2026-04-05 22:10:23 UTC (buildkit.dockerfile.v0)ARG PG_VERSION=15
2026-04-05 22:10:23 UTC (buildkit.dockerfile.v0)ARG PG_MAJOR_VERSION=15
2026-04-05 22:10:23 UTC (buildkit.dockerfile.v0)ARG ALPINE_VERSION=3.22
2026-04-05 22:10:23 UTC (buildkit.dockerfile.v0)RUN |4 OSS_ONLY= -DAPACHE_ONLY=1 PG_VERSION=15 PG_MAJOR_VERSION=15 ALPINE_VERSION=3.22 /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-05 22:10:23 UTC (buildkit.dockerfile.v0)ARG PGVECTOR_VERSION=v0.8.1
2026-04-05 22:10:23 UTC (buildkit.dockerfile.v0)ARG PG_VERSION=15
2026-04-05 22:10:23 UTC (buildkit.dockerfile.v0)ARG CLANG_VERSION=19
2026-04-05 22:10:23 UTC (buildkit.dockerfile.v0)ARG PG_MAJOR_VERSION=15
2026-04-05 22:12:20 UTC (buildkit.dockerfile.v0)RUN |6 OSS_ONLY= -DAPACHE_ONLY=1 PG_VERSION=15 PG_MAJOR_VERSION=15 ALPINE_VERSION=3.22 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-05 22:12:20 UTC (buildkit.dockerfile.v0)COPY docker-entrypoint-initdb.d/* /docker-entrypoint-initdb.d/ # buildkit
2026-04-05 22:12:35 UTC (buildkit.dockerfile.v0)COPY /go/bin/* /usr/local/bin/ # buildkit
2026-04-05 22:12:36 UTC (buildkit.dockerfile.v0)COPY /usr/local/lib/postgresql/timescaledb-*.so /usr/local/lib/postgresql/ # buildkit
2026-04-05 22:12:38 UTC (buildkit.dockerfile.v0)COPY /usr/local/share/postgresql/extension/timescaledb--*.sql /usr/local/share/postgresql/extension/ # buildkit
2026-04-05 22:12:38 UTC (buildkit.dockerfile.v0)ARG TS_VERSION=2.26.1
2026-04-05 22:15:52 UTC (buildkit.dockerfile.v0)RUN |7 OSS_ONLY= -DAPACHE_ONLY=1 PG_VERSION=15 PG_MAJOR_VERSION=15 ALPINE_VERSION=3.22 PGVECTOR_VERSION=v0.8.1 CLANG_VERSION=19 TS_VERSION=2.26.1 /bin/sh -c set -ex && apk add --no-cache --virtual .fetch-deps ca-certificates git openssl openssl-dev tar && mkdir -p /build/ && git clone https://github.com/timescale/timescaledb /build/timescaledb && apk add --no-cache --virtual .build-deps coreutils dpkg-dev dpkg icu-dev gcc libc-dev make cmake util-linux-dev && cd /build/timescaledb && rm -fr build && git checkout ${TS_VERSION} && ./bootstrap -DCMAKE_BUILD_TYPE=RelWithDebInfo -DREGRESS_CHECKS=OFF -DTAP_CHECKS=OFF -DGENERATE_DOWNGRADE_SCRIPT=ON -DWARNINGS_AS_ERRORS=OFF -DPROJECT_INSTALL_METHOD="docker"${OSS_ONLY} && cd build && make install && cd ~ && if [ "${OSS_ONLY}" != "" ]; then rm -f $(pg_config --pkglibdir)/timescaledb-tsl-*.so; fi && apk del .fetch-deps .build-deps && rm -rf /build && sed -r -i "s/[#]*\s*(shared_preload_libraries)\s*=\s*'(.*)'/\1 = 'timescaledb,\2'/;s/,'/'/" /usr/local/share/postgresql/postgresql.conf.sample # buildkit
2026-04-05 22:38:17 UTC
322 MB
llvm19-dev clang19
GOSU_VERSION1.19
LANGen_US.utf8
PATH/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
PGDATA/var/lib/postgresql/data
PG_MAJOR15
PG_SHA256ae14f24c14727e0b2ded1c5553031666099bd1054db3ef44bfa6e2bd6d554a56
PG_VERSION15.17
[#000] sha256:835838571e5c80c63481753299e25a9f89f366d8f4a9c1a2043b8fdf98176f17 - 1.04% (3.34 MB)
[#001] sha256:45645dce954d53ab0020a73d0385e7ee415e71dfca51dd4f3a42a9448499b9f9 - 0.0% (971 Bytes)
[#002] sha256:b6262eaeaae9e4ac35e0bf80abd5cc20fa6a9869e27783de9dbfec35b0b501c5 - 0.26% (865 KB)
[#003] sha256:a3b160345333ede08903f7e55090c81829f06497a2620e98eb09a7131190755d - 0.0% (171 Bytes)
[#004] sha256:6720ec5cbb2a7408c4262ecb246269dd4887cd03014de136c90b43dc59501f4e - 0.0% (116 Bytes)
[#005] sha256:f0a6b423523808c611fec5c472f76dcf79972c9276b21b45058ba9d67cd82fa4 - 24.87% (80 MB)
[#006] sha256:53195dd6b83308107c83fd4cae0f92bea8c8841a40c3cd0f3c5561364ebd51c1 - 0.0% (9.23 KB)
[#007] sha256:b683125dc2546128846d591a96758e4aac1be160da36bf83e12a60ca3324f731 - 0.0% (128 Bytes)
[#008] sha256:d9650c7cf95e3d4fe91ba7f069e138f35705fa116f604fb8262275be09d2be78 - 0.0% (170 Bytes)
[#009] sha256:5dba1227dfcc56ecb9291721e207fb9288f9fa36a2ff75a35f26242bbacf5144 - 0.0% (5.7 KB)
[#010] sha256:c0d093343b04d02c7e2840ea4ba78911943df5430c609ded39c309170f931168 - 0.0% (184 Bytes)
[#011] sha256:d6820916700d345179999e2e3490a84b0563d340d260ba94bcbb183f2aaea656 - 0.65% (2.08 MB)
[#012] sha256:a9aec6a41f9e33c795ac187ecad5875e41bd644119429a4e153ca0b5f74239ad - 0.91% (2.91 MB)
[#013] sha256:112b1d13d57ecc37bfb2f11aa95b5876c1c9010f406f48c68996176409320be9 - 0.0% (2.08 KB)
[#014] sha256:f8ab3bdbfc6810aced9a05f135a6cf2da5c4693368877a395588fca2ba534bcb - 2.28% (7.32 MB)
[#015] sha256:9e92bd55b47076fdd3a45f18320f090292932c23f6e62ea01223f591de4a976c - 38.5% (124 MB)
[#016] sha256:0bc9efd18f80b36c7b15e67eb73d983f5d3433f51b7f47567fc2ddbe7dec6155 - 29.91% (96.2 MB)
[#017] sha256:a4c0f0b7990326b3105379b9c391f8609158f9d58ffe74bc086cfa6b9813119a - 1.59% (5.13 MB)
ADD alpine-minirootfs-3.22.3-armhf.tar.gz / # buildkit
2026-01-28 01:18:06 UTC (buildkit.dockerfile.v0)CMD ["/bin/sh"]
2026-02-26 19:19:38 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-02-26 19:19:41 UTC (buildkit.dockerfile.v0)ENV GOSU_VERSION=1.19
2026-02-26 19:19:41 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-02-26 19:19:41 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c set -eux; ln -svf gosu /usr/local/bin/su-exec; su-exec nobody true # backwards compatibility (removed in PostgreSQL 17+) # buildkit
2026-02-26 19:19:41 UTC (buildkit.dockerfile.v0)ENV LANG=en_US.utf8
2026-02-26 19:19:42 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c mkdir /docker-entrypoint-initdb.d # buildkit
2026-02-26 19:19:42 UTC (buildkit.dockerfile.v0)ENV PG_MAJOR=15
2026-02-26 19:19:42 UTC (buildkit.dockerfile.v0)ENV PG_VERSION=15.17
2026-02-26 19:19:42 UTC (buildkit.dockerfile.v0)ENV PG_SHA256=ae14f24c14727e0b2ded1c5553031666099bd1054db3ef44bfa6e2bd6d554a56
2026-02-26 19:19:42 UTC (buildkit.dockerfile.v0)ENV DOCKER_PG_LLVM_DEPS=llvm19-dev clang19
2026-02-26 19:22:28 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-thread-safety --enable-tap-tests --disable-rpath --with-uuid=e2fs --with-gnu-ld --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-02-26 19:22:28 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-02-26 19:22:28 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c install --verbose --directory --owner postgres --group postgres --mode 3777 /var/run/postgresql # buildkit
2026-02-26 19:22:28 UTC (buildkit.dockerfile.v0)ENV PGDATA=/var/lib/postgresql/data
2026-02-26 19:22:29 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c install --verbose --directory --owner postgres --group postgres --mode 1777 "$PGDATA" # buildkit
2026-02-26 19:22:29 UTC (buildkit.dockerfile.v0)VOLUME [/var/lib/postgresql/data]
2026-02-26 19:22:29 UTC (buildkit.dockerfile.v0)COPY docker-entrypoint.sh docker-ensure-initdb.sh /usr/local/bin/ # buildkit
2026-02-26 19:22:29 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c ln -sT docker-ensure-initdb.sh /usr/local/bin/docker-enforce-initdb.sh # buildkit
2026-02-26 19:22:29 UTC (buildkit.dockerfile.v0)ENTRYPOINT ["docker-entrypoint.sh"]
2026-02-26 19:22:29 UTC (buildkit.dockerfile.v0)STOPSIGNAL SIGINT
2026-02-26 19:22:29 UTC (buildkit.dockerfile.v0)EXPOSE map[5432/tcp:{}]
2026-02-26 19:22:29 UTC (buildkit.dockerfile.v0)CMD ["postgres"]
2026-04-05 22:10:38 UTC (buildkit.dockerfile.v0)ARG OSS_ONLY= -DAPACHE_ONLY=1
2026-04-05 22:10:38 UTC (buildkit.dockerfile.v0)LABEL maintainer=Timescale https://www.timescale.com
2026-04-05 22:10:38 UTC (buildkit.dockerfile.v0)ARG PG_VERSION=15
2026-04-05 22:10:38 UTC (buildkit.dockerfile.v0)ARG PG_MAJOR_VERSION=15
2026-04-05 22:10:38 UTC (buildkit.dockerfile.v0)ARG ALPINE_VERSION=3.22
2026-04-05 22:10:38 UTC (buildkit.dockerfile.v0)RUN |4 OSS_ONLY= -DAPACHE_ONLY=1 PG_VERSION=15 PG_MAJOR_VERSION=15 ALPINE_VERSION=3.22 /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-05 22:10:38 UTC (buildkit.dockerfile.v0)ARG PGVECTOR_VERSION=v0.8.1
2026-04-05 22:10:38 UTC (buildkit.dockerfile.v0)ARG PG_VERSION=15
2026-04-05 22:10:38 UTC (buildkit.dockerfile.v0)ARG CLANG_VERSION=19
2026-04-05 22:10:38 UTC (buildkit.dockerfile.v0)ARG PG_MAJOR_VERSION=15
2026-04-05 22:22:11 UTC (buildkit.dockerfile.v0)RUN |6 OSS_ONLY= -DAPACHE_ONLY=1 PG_VERSION=15 PG_MAJOR_VERSION=15 ALPINE_VERSION=3.22 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-05 22:22:11 UTC (buildkit.dockerfile.v0)COPY docker-entrypoint-initdb.d/* /docker-entrypoint-initdb.d/ # buildkit
2026-04-05 22:26:00 UTC (buildkit.dockerfile.v0)COPY /go/bin/* /usr/local/bin/ # buildkit
2026-04-05 22:26:01 UTC (buildkit.dockerfile.v0)COPY /usr/local/lib/postgresql/timescaledb-*.so /usr/local/lib/postgresql/ # buildkit
2026-04-05 22:26:03 UTC (buildkit.dockerfile.v0)COPY /usr/local/share/postgresql/extension/timescaledb--*.sql /usr/local/share/postgresql/extension/ # buildkit
2026-04-05 22:26:03 UTC (buildkit.dockerfile.v0)ARG TS_VERSION=2.26.1
2026-04-05 22:38:17 UTC (buildkit.dockerfile.v0)RUN |7 OSS_ONLY= -DAPACHE_ONLY=1 PG_VERSION=15 PG_MAJOR_VERSION=15 ALPINE_VERSION=3.22 PGVECTOR_VERSION=v0.8.1 CLANG_VERSION=19 TS_VERSION=2.26.1 /bin/sh -c set -ex && apk add --no-cache --virtual .fetch-deps ca-certificates git openssl openssl-dev tar && mkdir -p /build/ && git clone https://github.com/timescale/timescaledb /build/timescaledb && apk add --no-cache --virtual .build-deps coreutils dpkg-dev dpkg icu-dev gcc libc-dev make cmake util-linux-dev && cd /build/timescaledb && rm -fr build && git checkout ${TS_VERSION} && ./bootstrap -DCMAKE_BUILD_TYPE=RelWithDebInfo -DREGRESS_CHECKS=OFF -DTAP_CHECKS=OFF -DGENERATE_DOWNGRADE_SCRIPT=ON -DWARNINGS_AS_ERRORS=OFF -DPROJECT_INSTALL_METHOD="docker"${OSS_ONLY} && cd build && make install && cd ~ && if [ "${OSS_ONLY}" != "" ]; then rm -f $(pg_config --pkglibdir)/timescaledb-tsl-*.so; fi && apk del .fetch-deps .build-deps && rm -rf /build && sed -r -i "s/[#]*\s*(shared_preload_libraries)\s*=\s*'(.*)'/\1 = 'timescaledb,\2'/;s/,'/'/" /usr/local/share/postgresql/postgresql.conf.sample # buildkit
2026-04-05 22:38:16 UTC
317 MB
llvm19-dev clang19
GOSU_VERSION1.19
LANGen_US.utf8
PATH/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
PGDATA/var/lib/postgresql/data
PG_MAJOR15
PG_SHA256ae14f24c14727e0b2ded1c5553031666099bd1054db3ef44bfa6e2bd6d554a56
PG_VERSION15.17
[#000] sha256:caca1d0e2f8affe80569328af55c755a8480801c5ee912e55aaa828c8209aa6e - 0.97% (3.07 MB)
[#001] sha256:4daf6b3c6d580b720d369be48dd3a7fa8e10dcf68274a20155f26d763bd5a233 - 0.0% (970 Bytes)
[#002] sha256:102548a4e6f3f734d860efd4250ddd405bd95e6511b440f83252b2bff8f86918 - 0.27% (865 KB)
[#003] sha256:062c137f12bb8ec9d4829bcc7504ab1897120b7f5fa03b3fffd0ef3c4bc21d81 - 0.0% (171 Bytes)
[#004] sha256:c36aef65ffe5bd8d4c6b42335edbe19493d2a52e9c8f33a0268c731e2ca6a05a - 0.0% (116 Bytes)
[#005] sha256:69e456489f4682c5e503400bfa292d39e8163eab53ff6f6fe7b9ad696d90d15b - 23.94% (75.8 MB)
[#006] sha256:274b6bb8cfc26c7edbe2ac367e6ef4ccb1c67d7c7969e85b4627d4346392949e - 0.0% (9.23 KB)
[#007] sha256:07f4e913ad12c9376464cb6eb84f3f9b6934b77b29657ceb708ebf9c313fd5a1 - 0.0% (128 Bytes)
[#008] sha256:60105812d23b514b653877b5c588f596b4d03a9d35d8509a31f53b1cf4246085 - 0.0% (167 Bytes)
[#009] sha256:17cbc81dd17922a0c07f19d4db1770f2e4f3e56b7da0708fc829b5de4fbe1d80 - 0.0% (5.7 KB)
[#010] sha256:d44953ff3cce938ed80864c9b76c4bd8fc8d626d957123525052c06e95f3f591 - 0.0% (183 Bytes)
[#011] sha256:3b88b099728086d50617f0830814c880b024544e4c624700fc8b4a202ef4ca6e - 0.72% (2.28 MB)
[#012] sha256:40d9602d02cc55fc15428270a5252487a50fa277b91dbf14e22ef10d697a6cef - 0.91% (2.89 MB)
[#013] sha256:046d3533e39900c99b5a44e849725235c136c6b085710e9546059865f6af1112 - 0.0% (2.08 KB)
[#014] sha256:bfe20364d3c49979827f0223f74d61a957842ae594dc2b6cf263c43e9c05b780 - 2.31% (7.31 MB)
[#015] sha256:80148556af26309b630b7a8aff51bd79e16cc638b07af018e233e45d9ce6bf6b - 38.87% (123 MB)
[#016] sha256:37bc2076c6c84c2cc44abae3b43d412a2e2bbe294f0656c5b3e3410f5073812d - 30.4% (96.2 MB)
[#017] sha256:d818bf3210eeac663de8101d3a1bc75e0f3443ffe5aa294c947a69c0eea2c52c - 1.61% (5.11 MB)
ADD alpine-minirootfs-3.22.3-armv7.tar.gz / # buildkit
2026-01-28 01:18:29 UTC (buildkit.dockerfile.v0)CMD ["/bin/sh"]
2026-02-26 19:42:30 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-02-26 19:42:34 UTC (buildkit.dockerfile.v0)ENV GOSU_VERSION=1.19
2026-02-26 19:42:34 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c set -eux; apk add --no-cache --virtual .gosu-deps ca-certificates dpkg gnupg ; dpkgArch="$(dpkg --print-architecture | awk -F- '{ print $NF }')"; wget -O /usr/local/bin/gosu "https://github.com/tianon/gosu/releases/download/$GOSU_VERSION/gosu-$dpkgArch"; wget -O /usr/local/bin/gosu.asc "https://github.com/tianon/gosu/releases/download/$GOSU_VERSION/gosu-$dpkgArch.asc"; export GNUPGHOME="$(mktemp -d)"; gpg --batch --keyserver hkps://keys.openpgp.org --recv-keys B42F6819007F00F88E364FD4036A9C25BF357DD4; gpg --batch --verify /usr/local/bin/gosu.asc /usr/local/bin/gosu; gpgconf --kill all; rm -rf "$GNUPGHOME" /usr/local/bin/gosu.asc; apk del --no-network .gosu-deps; chmod +x /usr/local/bin/gosu; gosu --version; gosu nobody true # buildkit
2026-02-26 19:42:34 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c set -eux; ln -svf gosu /usr/local/bin/su-exec; su-exec nobody true # backwards compatibility (removed in PostgreSQL 17+) # buildkit
2026-02-26 19:42:34 UTC (buildkit.dockerfile.v0)ENV LANG=en_US.utf8
2026-02-26 19:42:34 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c mkdir /docker-entrypoint-initdb.d # buildkit
2026-02-26 19:42:34 UTC (buildkit.dockerfile.v0)ENV PG_MAJOR=15
2026-02-26 19:42:34 UTC (buildkit.dockerfile.v0)ENV PG_VERSION=15.17
2026-02-26 19:42:34 UTC (buildkit.dockerfile.v0)ENV PG_SHA256=ae14f24c14727e0b2ded1c5553031666099bd1054db3ef44bfa6e2bd6d554a56
2026-02-26 19:42:34 UTC (buildkit.dockerfile.v0)ENV DOCKER_PG_LLVM_DEPS=llvm19-dev clang19
2026-02-26 19:45:15 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-thread-safety --enable-tap-tests --disable-rpath --with-uuid=e2fs --with-gnu-ld --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-02-26 19:45:15 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-02-26 19:45:15 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c install --verbose --directory --owner postgres --group postgres --mode 3777 /var/run/postgresql # buildkit
2026-02-26 19:45:15 UTC (buildkit.dockerfile.v0)ENV PGDATA=/var/lib/postgresql/data
2026-02-26 19:45:15 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c install --verbose --directory --owner postgres --group postgres --mode 1777 "$PGDATA" # buildkit
2026-02-26 19:45:15 UTC (buildkit.dockerfile.v0)VOLUME [/var/lib/postgresql/data]
2026-02-26 19:45:16 UTC (buildkit.dockerfile.v0)COPY docker-entrypoint.sh docker-ensure-initdb.sh /usr/local/bin/ # buildkit
2026-02-26 19:45:16 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c ln -sT docker-ensure-initdb.sh /usr/local/bin/docker-enforce-initdb.sh # buildkit
2026-02-26 19:45:16 UTC (buildkit.dockerfile.v0)ENTRYPOINT ["docker-entrypoint.sh"]
2026-02-26 19:45:16 UTC (buildkit.dockerfile.v0)STOPSIGNAL SIGINT
2026-02-26 19:45:16 UTC (buildkit.dockerfile.v0)EXPOSE map[5432/tcp:{}]
2026-02-26 19:45:16 UTC (buildkit.dockerfile.v0)CMD ["postgres"]
2026-04-05 22:10:24 UTC (buildkit.dockerfile.v0)ARG OSS_ONLY= -DAPACHE_ONLY=1
2026-04-05 22:10:24 UTC (buildkit.dockerfile.v0)LABEL maintainer=Timescale https://www.timescale.com
2026-04-05 22:10:24 UTC (buildkit.dockerfile.v0)ARG PG_VERSION=15
2026-04-05 22:10:24 UTC (buildkit.dockerfile.v0)ARG PG_MAJOR_VERSION=15
2026-04-05 22:10:24 UTC (buildkit.dockerfile.v0)ARG ALPINE_VERSION=3.22
2026-04-05 22:10:24 UTC (buildkit.dockerfile.v0)RUN |4 OSS_ONLY= -DAPACHE_ONLY=1 PG_VERSION=15 PG_MAJOR_VERSION=15 ALPINE_VERSION=3.22 /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-05 22:10:24 UTC (buildkit.dockerfile.v0)ARG PGVECTOR_VERSION=v0.8.1
2026-04-05 22:10:24 UTC (buildkit.dockerfile.v0)ARG PG_VERSION=15
2026-04-05 22:10:24 UTC (buildkit.dockerfile.v0)ARG CLANG_VERSION=19
2026-04-05 22:10:24 UTC (buildkit.dockerfile.v0)ARG PG_MAJOR_VERSION=15
2026-04-05 22:22:06 UTC (buildkit.dockerfile.v0)RUN |6 OSS_ONLY= -DAPACHE_ONLY=1 PG_VERSION=15 PG_MAJOR_VERSION=15 ALPINE_VERSION=3.22 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-05 22:22:06 UTC (buildkit.dockerfile.v0)COPY docker-entrypoint-initdb.d/* /docker-entrypoint-initdb.d/ # buildkit
2026-04-05 22:26:09 UTC (buildkit.dockerfile.v0)COPY /go/bin/* /usr/local/bin/ # buildkit
2026-04-05 22:26:09 UTC (buildkit.dockerfile.v0)COPY /usr/local/lib/postgresql/timescaledb-*.so /usr/local/lib/postgresql/ # buildkit
2026-04-05 22:26:11 UTC (buildkit.dockerfile.v0)COPY /usr/local/share/postgresql/extension/timescaledb--*.sql /usr/local/share/postgresql/extension/ # buildkit
2026-04-05 22:26:11 UTC (buildkit.dockerfile.v0)ARG TS_VERSION=2.26.1
2026-04-05 22:38:16 UTC (buildkit.dockerfile.v0)RUN |7 OSS_ONLY= -DAPACHE_ONLY=1 PG_VERSION=15 PG_MAJOR_VERSION=15 ALPINE_VERSION=3.22 PGVECTOR_VERSION=v0.8.1 CLANG_VERSION=19 TS_VERSION=2.26.1 /bin/sh -c set -ex && apk add --no-cache --virtual .fetch-deps ca-certificates git openssl openssl-dev tar && mkdir -p /build/ && git clone https://github.com/timescale/timescaledb /build/timescaledb && apk add --no-cache --virtual .build-deps coreutils dpkg-dev dpkg icu-dev gcc libc-dev make cmake util-linux-dev && cd /build/timescaledb && rm -fr build && git checkout ${TS_VERSION} && ./bootstrap -DCMAKE_BUILD_TYPE=RelWithDebInfo -DREGRESS_CHECKS=OFF -DTAP_CHECKS=OFF -DGENERATE_DOWNGRADE_SCRIPT=ON -DWARNINGS_AS_ERRORS=OFF -DPROJECT_INSTALL_METHOD="docker"${OSS_ONLY} && cd build && make install && cd ~ && if [ "${OSS_ONLY}" != "" ]; then rm -f $(pg_config --pkglibdir)/timescaledb-tsl-*.so; fi && apk del .fetch-deps .build-deps && rm -rf /build && sed -r -i "s/[#]*\s*(shared_preload_libraries)\s*=\s*'(.*)'/\1 = 'timescaledb,\2'/;s/,'/'/" /usr/local/share/postgresql/postgresql.conf.sample # buildkit
2026-04-05 22:39:00 UTC
338 MB
llvm19-dev clang19
GOSU_VERSION1.19
LANGen_US.utf8
PATH/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
PGDATA/var/lib/postgresql/data
PG_MAJOR15
PG_SHA256ae14f24c14727e0b2ded1c5553031666099bd1054db3ef44bfa6e2bd6d554a56
PG_VERSION15.17
[#000] sha256:d741ee1608f399e21c72d05f0f818c348c6801af33aeb83523893d09dc153957 - 1.17% (3.95 MB)
[#001] sha256:360ccf146ddba2c3c457fad56af8938c63464cf2853d504574e732fbc3f3d389 - 0.0% (970 Bytes)
[#002] sha256:71f108a3866dff3cafd81d557cb74f091acfd3edbfe408af3adfb6b3c755ee04 - 0.25% (853 KB)
[#003] sha256:e9b474e0cf2b7cd309b9736b09fbbdccab40f8d551e5f255d63d8826f4e98119 - 0.0% (174 Bytes)
[#004] sha256:0851eb73509126fcaaccfc2dcf080bc5dd23a4961f5e92e0e3c617cf81224fcf - 0.0% (116 Bytes)
[#005] sha256:d207bfce69362ab2551cbc40bb748b04b803de2e04a6a786583372d5ab27ead7 - 28.08% (95 MB)
[#006] sha256:1ef562ad6fc17045ba6e825a0571bdeffcba0e810fb5c0430e17276603677e48 - 0.0% (9.23 KB)
[#007] sha256:9ba1fdab2d147501ea64e573119f35da3362b0189bd6f3edc8d8f5a24e4b126f - 0.0% (128 Bytes)
[#008] sha256:828abd75c7c58d30e483e2a5e0dcf1ffa7484e5a567ff2aae412efb6488c8a86 - 0.0% (168 Bytes)
[#009] sha256:0a807cb3bf209e50dd52d9639fe6610b9a7342759eb29bd4e3f3af0282136657 - 0.0% (5.7 KB)
[#010] sha256:466c6e1e63a5e65c40b3e90cecb3bf1c5013178de64962ab8c40eadd88c95009 - 0.0% (185 Bytes)
[#011] sha256:e9fb3d1f7d6dc8dec84e126d098f574a6796d424c586508dbe3d00081d514740 - 0.73% (2.46 MB)
[#012] sha256:f2455f4e8c438f70e06f44f19caf0663f5a856132fe14e78055c9048e1bc3897 - 0.86% (2.92 MB)
[#013] sha256:8fc58d2ffe3e3a58e8fb98699b1e5129229f730aab99e20548b61529e2c5b40f - 0.0% (2.08 KB)
[#014] sha256:c044af8e02be9bb8c1e1e5bd58fdac0d3c926c05ce99d37ea4293f6013db56f9 - 2.19% (7.42 MB)
[#015] sha256:4d3f5710a2a573625c8588d95d1ccad4a3108e010521b6c539ddf0975317a33a - 36.76% (124 MB)
[#016] sha256:8680e0b31db2dabed5c0d4d45022fb6963702e181a1cdbda3124a432cea17399 - 28.44% (96.2 MB)
[#017] sha256:ff85b1007bc2fa36645f24552b6a7d104782381341b98ea72aa43aa4bee0e66c - 1.52% (5.14 MB)
ADD alpine-minirootfs-3.22.3-aarch64.tar.gz / # buildkit
2026-01-28 01:17:55 UTC (buildkit.dockerfile.v0)CMD ["/bin/sh"]
2026-02-26 19:23:46 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-02-26 19:23:49 UTC (buildkit.dockerfile.v0)ENV GOSU_VERSION=1.19
2026-02-26 19:23:49 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-02-26 19:27:38 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c set -eux; ln -svf gosu /usr/local/bin/su-exec; su-exec nobody true # backwards compatibility (removed in PostgreSQL 17+) # buildkit
2026-02-26 19:27:38 UTC (buildkit.dockerfile.v0)ENV LANG=en_US.utf8
2026-02-26 19:27:38 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c mkdir /docker-entrypoint-initdb.d # buildkit
2026-02-26 19:27:38 UTC (buildkit.dockerfile.v0)ENV PG_MAJOR=15
2026-02-26 19:27:38 UTC (buildkit.dockerfile.v0)ENV PG_VERSION=15.17
2026-02-26 19:27:38 UTC (buildkit.dockerfile.v0)ENV PG_SHA256=ae14f24c14727e0b2ded1c5553031666099bd1054db3ef44bfa6e2bd6d554a56
2026-02-26 19:27:38 UTC (buildkit.dockerfile.v0)ENV DOCKER_PG_LLVM_DEPS=llvm19-dev clang19
2026-02-26 19:30:03 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-thread-safety --enable-tap-tests --disable-rpath --with-uuid=e2fs --with-gnu-ld --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-02-26 19:30:03 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-02-26 19:30:03 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c install --verbose --directory --owner postgres --group postgres --mode 3777 /var/run/postgresql # buildkit
2026-02-26 19:30:03 UTC (buildkit.dockerfile.v0)ENV PGDATA=/var/lib/postgresql/data
2026-02-26 19:30:03 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c install --verbose --directory --owner postgres --group postgres --mode 1777 "$PGDATA" # buildkit
2026-02-26 19:30:03 UTC (buildkit.dockerfile.v0)VOLUME [/var/lib/postgresql/data]
2026-02-26 19:30:04 UTC (buildkit.dockerfile.v0)COPY docker-entrypoint.sh docker-ensure-initdb.sh /usr/local/bin/ # buildkit
2026-02-26 19:30:04 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c ln -sT docker-ensure-initdb.sh /usr/local/bin/docker-enforce-initdb.sh # buildkit
2026-02-26 19:30:04 UTC (buildkit.dockerfile.v0)ENTRYPOINT ["docker-entrypoint.sh"]
2026-02-26 19:30:04 UTC (buildkit.dockerfile.v0)STOPSIGNAL SIGINT
2026-02-26 19:30:04 UTC (buildkit.dockerfile.v0)EXPOSE map[5432/tcp:{}]
2026-02-26 19:30:04 UTC (buildkit.dockerfile.v0)CMD ["postgres"]
2026-04-05 22:10:42 UTC (buildkit.dockerfile.v0)ARG OSS_ONLY= -DAPACHE_ONLY=1
2026-04-05 22:10:42 UTC (buildkit.dockerfile.v0)LABEL maintainer=Timescale https://www.timescale.com
2026-04-05 22:10:42 UTC (buildkit.dockerfile.v0)ARG PG_VERSION=15
2026-04-05 22:10:42 UTC (buildkit.dockerfile.v0)ARG PG_MAJOR_VERSION=15
2026-04-05 22:10:42 UTC (buildkit.dockerfile.v0)ARG ALPINE_VERSION=3.22
2026-04-05 22:10:42 UTC (buildkit.dockerfile.v0)RUN |4 OSS_ONLY= -DAPACHE_ONLY=1 PG_VERSION=15 PG_MAJOR_VERSION=15 ALPINE_VERSION=3.22 /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-05 22:10:42 UTC (buildkit.dockerfile.v0)ARG PGVECTOR_VERSION=v0.8.1
2026-04-05 22:10:42 UTC (buildkit.dockerfile.v0)ARG PG_VERSION=15
2026-04-05 22:10:42 UTC (buildkit.dockerfile.v0)ARG CLANG_VERSION=19
2026-04-05 22:10:42 UTC (buildkit.dockerfile.v0)ARG PG_MAJOR_VERSION=15
2026-04-05 22:22:34 UTC (buildkit.dockerfile.v0)RUN |6 OSS_ONLY= -DAPACHE_ONLY=1 PG_VERSION=15 PG_MAJOR_VERSION=15 ALPINE_VERSION=3.22 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-05 22:22:34 UTC (buildkit.dockerfile.v0)COPY docker-entrypoint-initdb.d/* /docker-entrypoint-initdb.d/ # buildkit
2026-04-05 22:26:28 UTC (buildkit.dockerfile.v0)COPY /go/bin/* /usr/local/bin/ # buildkit
2026-04-05 22:26:29 UTC (buildkit.dockerfile.v0)COPY /usr/local/lib/postgresql/timescaledb-*.so /usr/local/lib/postgresql/ # buildkit
2026-04-05 22:26:31 UTC (buildkit.dockerfile.v0)COPY /usr/local/share/postgresql/extension/timescaledb--*.sql /usr/local/share/postgresql/extension/ # buildkit
2026-04-05 22:26:31 UTC (buildkit.dockerfile.v0)ARG TS_VERSION=2.26.1
2026-04-05 22:39:00 UTC (buildkit.dockerfile.v0)RUN |7 OSS_ONLY= -DAPACHE_ONLY=1 PG_VERSION=15 PG_MAJOR_VERSION=15 ALPINE_VERSION=3.22 PGVECTOR_VERSION=v0.8.1 CLANG_VERSION=19 TS_VERSION=2.26.1 /bin/sh -c set -ex && apk add --no-cache --virtual .fetch-deps ca-certificates git openssl openssl-dev tar && mkdir -p /build/ && git clone https://github.com/timescale/timescaledb /build/timescaledb && apk add --no-cache --virtual .build-deps coreutils dpkg-dev dpkg icu-dev gcc libc-dev make cmake util-linux-dev && cd /build/timescaledb && rm -fr build && git checkout ${TS_VERSION} && ./bootstrap -DCMAKE_BUILD_TYPE=RelWithDebInfo -DREGRESS_CHECKS=OFF -DTAP_CHECKS=OFF -DGENERATE_DOWNGRADE_SCRIPT=ON -DWARNINGS_AS_ERRORS=OFF -DPROJECT_INSTALL_METHOD="docker"${OSS_ONLY} && cd build && make install && cd ~ && if [ "${OSS_ONLY}" != "" ]; then rm -f $(pg_config --pkglibdir)/timescaledb-tsl-*.so; fi && apk del .fetch-deps .build-deps && rm -rf /build && sed -r -i "s/[#]*\s*(shared_preload_libraries)\s*=\s*'(.*)'/\1 = 'timescaledb,\2'/;s/,'/'/" /usr/local/share/postgresql/postgresql.conf.sample # buildkit
Please be careful as this will not just delete the reference but also the actual content!
For example when you have latest and v1.2.3 both pointing to the same image
the deletion of latest will also permanently remove v1.2.3.