2025-11-13 17:07:43 UTC
138 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/18/docker
PG_MAJOR18
PG_SHA2560d5b903b1e5fe361bca7aa9507519933773eb34266b1357c4e7780fdee6d6078
PG_VERSION18.0
[#000] sha256:bbedd1c05bb5090fc3fc2356be88d60b2a60937565b56e91fb4be42c5c73d485 - 2.39% (3.3 MB)
[#001] sha256:27f3a262f1602e2a15aadd46904c0f53b7751dfd6898373e03f4ff088543590e - 0.0% (973 Bytes)
[#002] sha256:0c840d50e033ec19342fea188438626e2c1718c216dfe9f9e3d41d726a910a3d - 0.61% (870 KB)
[#003] sha256:9467d8f10c8508401566a28b9b31ffc73c7e7198f8e8cd25e2e0bbc4e74ea9b9 - 0.0% (116 Bytes)
[#004] sha256:5ef4c8b423f6c6c79b08645852ea8159fd4fdb31707b5ad1db98a6ae7aa47f10 - 78.22% (108 MB)
[#005] sha256:7b49f165f39dac05167d8be32405c40b0091535501d30ceca8a3c97c230219c6 - 0.01% (18.3 KB)
[#006] sha256:c794cac24df2290c6376f8f8ee44aa9741e3e4b0c9e4bde980519bdcace5f735 - 0.0% (128 Bytes)
[#007] sha256:5897ec4ca3c2b8b07138317de4ea6e2d4f3104462531b09ab2979c3b44ca6643 - 0.0% (185 Bytes)
[#008] sha256:adae3e5713b852b1dfd0ba44521ffc81c67393265405b3e1a21ff01c81d988e5 - 0.0% (5.94 KB)
[#009] sha256:51e43929c0ca1776cc9fc1e60c314973b2887a196ff9100d8a1768db485d8cbf - 0.0% (184 Bytes)
[#010] sha256:2e801c79216eeab211c1e3dd59f3e8cd9d43fcb6b6ae7b2f55578489c255ff26 - 1.6% (2.21 MB)
[#011] sha256:4f4fb700ef54461cfa02571ae0db9a0dc1e0cdb5577484a6d75e68dc38e8acc1 - 0.0% (32 Bytes)
[#012] sha256:18a275912e9cb84bd503f4ab0119ef914ca37267cd0fdd094e0b080fb8c6fde3 - 0.0% (2.08 KB)
[#013] sha256:725c57bafda17ef484812939b4d00a8ec87c770a697f3181b193b1715e3e2dc5 - 5.48% (7.58 MB)
[#014] sha256:8d6fa01ee617194f60f7ca353a6ef2791dfcdb05fb692a4fbf435a05b3bd1bf4 - 4.03% (5.57 MB)
[#015] sha256:27ba72a7c5cd2ade847faea3d1a37f6d5670ebf219770250045d67b447cae11f - 1.68% (2.33 MB)
[#016] sha256:97eafce2edf2c31326983b998e2e6879c4fc180cf5605ff08db15f11504735b7 - 5.95% (8.23 MB)
ADD alpine-minirootfs-3.21.5-x86.tar.gz / # buildkit
2025-10-08 11:06:42 UTC (buildkit.dockerfile.v0)CMD ["/bin/sh"]
2025-10-15 18:23:03 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c set -eux; addgroup -g 70 -S postgres; adduser -u 70 -S -D -G postgres -H -h /var/lib/postgresql -s /bin/sh postgres; install --verbose --directory --owner postgres --group postgres --mode 1777 /var/lib/postgresql # buildkit
2025-10-15 18:23:03 UTC (buildkit.dockerfile.v0)ENV GOSU_VERSION=1.19
2025-10-15 18:23: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
2025-10-15 18:23:03 UTC (buildkit.dockerfile.v0)ENV LANG=en_US.utf8
2025-10-15 18:23:03 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c mkdir /docker-entrypoint-initdb.d # buildkit
2025-10-15 18:23:03 UTC (buildkit.dockerfile.v0)ENV PG_MAJOR=18
2025-10-15 18:23:03 UTC (buildkit.dockerfile.v0)ENV PG_VERSION=18.0
2025-10-15 18:23:03 UTC (buildkit.dockerfile.v0)ENV PG_SHA256=0d5b903b1e5fe361bca7aa9507519933773eb34266b1357c4e7780fdee6d6078
2025-10-15 18:23:03 UTC (buildkit.dockerfile.v0)ENV DOCKER_PG_LLVM_DEPS=llvm19-dev clang19
2025-10-15 18:23: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 liburing-dev ; cd /usr/src/postgresql; awk '$1 == "#define" && $2 == "DEFAULT_PGSOCKET_DIR" && $3 == "\"/tmp\"" { $3 = "\"/var/run/postgresql\""; print; next } { print }' src/include/pg_config_manual.h > src/include/pg_config_manual.h.new; grep '/var/run/postgresql' src/include/pg_config_manual.h.new; mv src/include/pg_config_manual.h.new src/include/pg_config_manual.h; gnuArch="$(dpkg-architecture --query DEB_BUILD_GNU_TYPE)"; export LLVM_CONFIG="/usr/lib/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-liburing --with-libxml --with-libxslt --with-llvm --with-lz4 --with-openssl --with-perl --with-python --with-tcl --with-zstd ; make -j "$(nproc)" world-bin; make install-world-bin; make -C contrib install; runDeps="$( scanelf --needed --nobanner --format '%n#p' --recursive /usr/local | tr ',' '\n' | sort -u | awk 'system("[ -e /usr/local/lib/" $1 " ]") == 0 { next } { print "so:" $1 }' | grep -v -e perl -e python -e tcl )"; apk add --no-cache --virtual .postgresql-rundeps $runDeps bash tzdata zstd icu-data-full $([ "$(apk --print-arch)" != 'ppc64le' ] && echo 'nss_wrapper') ; apk del --no-network .build-deps; cd /; rm -rf /usr/src/postgresql /usr/local/share/doc /usr/local/share/man ; postgres --version # buildkit
2025-10-15 18:23: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
2025-10-15 18:23:03 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c install --verbose --directory --owner postgres --group postgres --mode 3777 /var/run/postgresql # buildkit
2025-10-15 18:23:03 UTC (buildkit.dockerfile.v0)ENV PGDATA=/var/lib/postgresql/18/docker
2025-10-15 18:23:03 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c ln -svT . /var/lib/postgresql/data # https://github.com/docker-library/postgres/pull/1259#issuecomment-2215477494 # buildkit
2025-10-15 18:23:03 UTC (buildkit.dockerfile.v0)VOLUME [/var/lib/postgresql]
2025-10-15 18:23:03 UTC (buildkit.dockerfile.v0)COPY docker-entrypoint.sh docker-ensure-initdb.sh /usr/local/bin/ # buildkit
2025-10-15 18:23:03 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c ln -sT docker-ensure-initdb.sh /usr/local/bin/docker-enforce-initdb.sh # buildkit
2025-10-15 18:23:03 UTC (buildkit.dockerfile.v0)ENTRYPOINT ["docker-entrypoint.sh"]
2025-10-15 18:23:03 UTC (buildkit.dockerfile.v0)STOPSIGNAL SIGINT
2025-10-15 18:23:03 UTC (buildkit.dockerfile.v0)EXPOSE map[5432/tcp:{}]
2025-10-15 18:23:03 UTC (buildkit.dockerfile.v0)CMD ["postgres"]
2025-11-13 17:02:47 UTC (buildkit.dockerfile.v0)ARG OSS_ONLY
2025-11-13 17:02:47 UTC (buildkit.dockerfile.v0)LABEL maintainer=Timescale https://www.timescale.com
2025-11-13 17:02:47 UTC (buildkit.dockerfile.v0)ARG PG_VERSION=18
2025-11-13 17:02:47 UTC (buildkit.dockerfile.v0)ARG PG_MAJOR_VERSION=18
2025-11-13 17:02:47 UTC (buildkit.dockerfile.v0)ARG ALPINE_VERSION=3.21
2025-11-13 17:02:47 UTC (buildkit.dockerfile.v0)RUN |4 OSS_ONLY= PG_VERSION=18 PG_MAJOR_VERSION=18 ALPINE_VERSION=3.21 /bin/sh -c set -ex; echo "https://dl-cdn.alpinelinux.org/alpine/v${ALPINE_VERSION}/community/" >> /etc/apk/repositories; apk update; if [ "$PG_MAJOR_VERSION" -ge 16 && "$PG_MAJOR_VERSION" -lt 18 ] ; then apk add --no-cache postgresql${PG_VERSION}-plpython3; fi # buildkit
2025-11-13 17:02:47 UTC (buildkit.dockerfile.v0)ARG PGVECTOR_VERSION=v0.7.2
2025-11-13 17:02:47 UTC (buildkit.dockerfile.v0)ARG PG_VERSION=18
2025-11-13 17:02:47 UTC (buildkit.dockerfile.v0)ARG CLANG_VERSION=19
2025-11-13 17:02:47 UTC (buildkit.dockerfile.v0)ARG PG_MAJOR_VERSION=18
2025-11-13 17:02:47 UTC (buildkit.dockerfile.v0)RUN |6 OSS_ONLY= PG_VERSION=18 PG_MAJOR_VERSION=18 ALPINE_VERSION=3.21 PGVECTOR_VERSION=v0.7.2 CLANG_VERSION=19 /bin/sh -c set -ex; if [ "$PG_MAJOR_VERSION" -lt 18 ] ; then 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; fi # buildkit
2025-11-13 17:02:47 UTC (buildkit.dockerfile.v0)COPY docker-entrypoint-initdb.d/* /docker-entrypoint-initdb.d/ # buildkit
2025-11-13 17:03:55 UTC (buildkit.dockerfile.v0)COPY /go/bin/* /usr/local/bin/ # buildkit
2025-11-13 17:03:55 UTC (buildkit.dockerfile.v0)COPY /usr/local/lib/postgresql/timescaledb-*.so /usr/local/lib/postgresql/ # buildkit
2025-11-13 17:03:55 UTC (buildkit.dockerfile.v0)COPY /usr/local/share/postgresql/extension/timescaledb--*.sql /usr/local/share/postgresql/extension/ # buildkit
2025-11-13 17:03:55 UTC (buildkit.dockerfile.v0)ARG TS_VERSION=2.23.1
2025-11-13 17:07:43 UTC (buildkit.dockerfile.v0)RUN |7 OSS_ONLY= PG_VERSION=18 PG_MAJOR_VERSION=18 ALPINE_VERSION=3.21 PGVECTOR_VERSION=v0.7.2 CLANG_VERSION=19 TS_VERSION=2.23.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 gcc krb5-dev libc-dev make cmake util-linux-dev && cd /build/timescaledb && rm -fr build && git checkout ${TS_VERSION} && ./bootstrap -DCMAKE_BUILD_TYPE=RelWithDebInfo -DREGRESS_CHECKS=OFF -DTAP_CHECKS=OFF -DGENERATE_DOWNGRADE_SCRIPT=ON -DWARNINGS_AS_ERRORS=OFF -DPROJECT_INSTALL_METHOD="docker"${OSS_ONLY} && cd build && make install && cd ~ && if [ "${OSS_ONLY}" != "" ]; then rm -f $(pg_config --pkglibdir)/timescaledb-tsl-*.so; fi && apk del .fetch-deps .build-deps && rm -rf /build && sed -r -i "s/[#]*\s*(shared_preload_libraries)\s*=\s*'(.*)'/\1 = 'timescaledb,\2'/;s/,'/'/" /usr/local/share/postgresql/postgresql.conf.sample # buildkit
2025-11-13 17:07:12 UTC
133 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/18/docker
PG_MAJOR18
PG_SHA2560d5b903b1e5fe361bca7aa9507519933773eb34266b1357c4e7780fdee6d6078
PG_VERSION18.0
[#000] sha256:f637881d1138581d892d9eb942c56e0ccc7758fe3bdc0f1e6cd66059fdfd8185 - 2.61% (3.47 MB)
[#001] sha256:d4af43bc7e6e72b65689fa0024e38dc3d79f2d062ec247910e80c4273cf6c586 - 0.0% (970 Bytes)
[#002] sha256:c6b168b4fc11e6753b0c8000f91197ba712cadea6439650259c1b1ef8617e1ce - 0.66% (897 KB)
[#003] sha256:88664251685b28c4ff08d6a893d59de4453d4f99f2860f65053aeb9ce91c0e56 - 0.0% (116 Bytes)
[#004] sha256:c59f8cf06447aebeebaad8946c20bd7482edafe1f7a54fb3212d0a2614b79e52 - 76.52% (102 MB)
[#005] sha256:bbca4fddd19719a07cf7f7c00f508e19f13a01935b9f341ef8779f032a67cc9c - 0.01% (18.3 KB)
[#006] sha256:5c87e698bb865e6d6c2f797e8a9d256b5f2a00fc649e86bf970a31c0a456eb98 - 0.0% (128 Bytes)
[#007] sha256:9445126af763d9ba55a02d83b1f7c007814045b5eb9436c1fb17f7de29093d67 - 0.0% (181 Bytes)
[#008] sha256:72169c742a599b10948c5bdb117c0c40a78fa43112a5b8c2a5c1ced17f5b203f - 0.0% (5.94 KB)
[#009] sha256:1033072e3da1c4de61e3e3e7304f85acf7daeb3827ae662a36e14357b813697f - 0.0% (183 Bytes)
[#010] sha256:640b0cb95c74b3e4c0a80622ae3122e0e9b7cd3ee3474562b918eae5b533979b - 1.78% (2.37 MB)
[#011] sha256:4f4fb700ef54461cfa02571ae0db9a0dc1e0cdb5577484a6d75e68dc38e8acc1 - 0.0% (32 Bytes)
[#012] sha256:a752466034be930c153e0b990e082a1ae4b880d5040d8584f025cd8e89e967a8 - 0.0% (2.08 KB)
[#013] sha256:b792ab94891423c8c3e84fbf210a0a00395281e73f1219d1cbb382da92f6685c - 5.92% (7.88 MB)
[#014] sha256:b93d80993e91123dc26c7ac7a8674da6a330539c2b75994d96307142236093ff - 4.38% (5.83 MB)
[#015] sha256:8862ffd8c2300d1c06eab4930e83a0153366affafa27b19e3fd23436bccb7665 - 1.75% (2.33 MB)
[#016] sha256:1aa0d4ac4dfb78802d054e1cd86cd17e04a111d9255b8244838f22032b4e23cb - 6.37% (8.49 MB)
ADD alpine-minirootfs-3.21.5-x86_64.tar.gz / # buildkit
2025-10-08 11:06:42 UTC (buildkit.dockerfile.v0)CMD ["/bin/sh"]
2025-10-15 18:23:03 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c set -eux; addgroup -g 70 -S postgres; adduser -u 70 -S -D -G postgres -H -h /var/lib/postgresql -s /bin/sh postgres; install --verbose --directory --owner postgres --group postgres --mode 1777 /var/lib/postgresql # buildkit
2025-10-15 18:23:03 UTC (buildkit.dockerfile.v0)ENV GOSU_VERSION=1.19
2025-10-15 18:23: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
2025-10-15 18:23:03 UTC (buildkit.dockerfile.v0)ENV LANG=en_US.utf8
2025-10-15 18:23:03 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c mkdir /docker-entrypoint-initdb.d # buildkit
2025-10-15 18:23:03 UTC (buildkit.dockerfile.v0)ENV PG_MAJOR=18
2025-10-15 18:23:03 UTC (buildkit.dockerfile.v0)ENV PG_VERSION=18.0
2025-10-15 18:23:03 UTC (buildkit.dockerfile.v0)ENV PG_SHA256=0d5b903b1e5fe361bca7aa9507519933773eb34266b1357c4e7780fdee6d6078
2025-10-15 18:23:03 UTC (buildkit.dockerfile.v0)ENV DOCKER_PG_LLVM_DEPS=llvm19-dev clang19
2025-10-15 18:23: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 liburing-dev ; cd /usr/src/postgresql; awk '$1 == "#define" && $2 == "DEFAULT_PGSOCKET_DIR" && $3 == "\"/tmp\"" { $3 = "\"/var/run/postgresql\""; print; next } { print }' src/include/pg_config_manual.h > src/include/pg_config_manual.h.new; grep '/var/run/postgresql' src/include/pg_config_manual.h.new; mv src/include/pg_config_manual.h.new src/include/pg_config_manual.h; gnuArch="$(dpkg-architecture --query DEB_BUILD_GNU_TYPE)"; export LLVM_CONFIG="/usr/lib/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-liburing --with-libxml --with-libxslt --with-llvm --with-lz4 --with-openssl --with-perl --with-python --with-tcl --with-zstd ; make -j "$(nproc)" world-bin; make install-world-bin; make -C contrib install; runDeps="$( scanelf --needed --nobanner --format '%n#p' --recursive /usr/local | tr ',' '\n' | sort -u | awk 'system("[ -e /usr/local/lib/" $1 " ]") == 0 { next } { print "so:" $1 }' | grep -v -e perl -e python -e tcl )"; apk add --no-cache --virtual .postgresql-rundeps $runDeps bash tzdata zstd icu-data-full $([ "$(apk --print-arch)" != 'ppc64le' ] && echo 'nss_wrapper') ; apk del --no-network .build-deps; cd /; rm -rf /usr/src/postgresql /usr/local/share/doc /usr/local/share/man ; postgres --version # buildkit
2025-10-15 18:23: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
2025-10-15 18:23:03 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c install --verbose --directory --owner postgres --group postgres --mode 3777 /var/run/postgresql # buildkit
2025-10-15 18:23:03 UTC (buildkit.dockerfile.v0)ENV PGDATA=/var/lib/postgresql/18/docker
2025-10-15 18:23:03 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c ln -svT . /var/lib/postgresql/data # https://github.com/docker-library/postgres/pull/1259#issuecomment-2215477494 # buildkit
2025-10-15 18:23:03 UTC (buildkit.dockerfile.v0)VOLUME [/var/lib/postgresql]
2025-10-15 18:23:03 UTC (buildkit.dockerfile.v0)COPY docker-entrypoint.sh docker-ensure-initdb.sh /usr/local/bin/ # buildkit
2025-10-15 18:23:03 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c ln -sT docker-ensure-initdb.sh /usr/local/bin/docker-enforce-initdb.sh # buildkit
2025-10-15 18:23:03 UTC (buildkit.dockerfile.v0)ENTRYPOINT ["docker-entrypoint.sh"]
2025-10-15 18:23:03 UTC (buildkit.dockerfile.v0)STOPSIGNAL SIGINT
2025-10-15 18:23:03 UTC (buildkit.dockerfile.v0)EXPOSE map[5432/tcp:{}]
2025-10-15 18:23:03 UTC (buildkit.dockerfile.v0)CMD ["postgres"]
2025-11-13 17:02:42 UTC (buildkit.dockerfile.v0)ARG OSS_ONLY
2025-11-13 17:02:42 UTC (buildkit.dockerfile.v0)LABEL maintainer=Timescale https://www.timescale.com
2025-11-13 17:02:42 UTC (buildkit.dockerfile.v0)ARG PG_VERSION=18
2025-11-13 17:02:42 UTC (buildkit.dockerfile.v0)ARG PG_MAJOR_VERSION=18
2025-11-13 17:02:42 UTC (buildkit.dockerfile.v0)ARG ALPINE_VERSION=3.21
2025-11-13 17:02:42 UTC (buildkit.dockerfile.v0)RUN |4 OSS_ONLY= PG_VERSION=18 PG_MAJOR_VERSION=18 ALPINE_VERSION=3.21 /bin/sh -c set -ex; echo "https://dl-cdn.alpinelinux.org/alpine/v${ALPINE_VERSION}/community/" >> /etc/apk/repositories; apk update; if [ "$PG_MAJOR_VERSION" -ge 16 && "$PG_MAJOR_VERSION" -lt 18 ] ; then apk add --no-cache postgresql${PG_VERSION}-plpython3; fi # buildkit
2025-11-13 17:02:42 UTC (buildkit.dockerfile.v0)ARG PGVECTOR_VERSION=v0.7.2
2025-11-13 17:02:42 UTC (buildkit.dockerfile.v0)ARG PG_VERSION=18
2025-11-13 17:02:42 UTC (buildkit.dockerfile.v0)ARG CLANG_VERSION=19
2025-11-13 17:02:42 UTC (buildkit.dockerfile.v0)ARG PG_MAJOR_VERSION=18
2025-11-13 17:02:42 UTC (buildkit.dockerfile.v0)RUN |6 OSS_ONLY= PG_VERSION=18 PG_MAJOR_VERSION=18 ALPINE_VERSION=3.21 PGVECTOR_VERSION=v0.7.2 CLANG_VERSION=19 /bin/sh -c set -ex; if [ "$PG_MAJOR_VERSION" -lt 18 ] ; then 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; fi # buildkit
2025-11-13 17:02:43 UTC (buildkit.dockerfile.v0)COPY docker-entrypoint-initdb.d/* /docker-entrypoint-initdb.d/ # buildkit
2025-11-13 17:03:44 UTC (buildkit.dockerfile.v0)COPY /go/bin/* /usr/local/bin/ # buildkit
2025-11-13 17:03:44 UTC (buildkit.dockerfile.v0)COPY /usr/local/lib/postgresql/timescaledb-*.so /usr/local/lib/postgresql/ # buildkit
2025-11-13 17:03:45 UTC (buildkit.dockerfile.v0)COPY /usr/local/share/postgresql/extension/timescaledb--*.sql /usr/local/share/postgresql/extension/ # buildkit
2025-11-13 17:03:45 UTC (buildkit.dockerfile.v0)ARG TS_VERSION=2.23.1
2025-11-13 17:07:12 UTC (buildkit.dockerfile.v0)RUN |7 OSS_ONLY= PG_VERSION=18 PG_MAJOR_VERSION=18 ALPINE_VERSION=3.21 PGVECTOR_VERSION=v0.7.2 CLANG_VERSION=19 TS_VERSION=2.23.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 gcc krb5-dev libc-dev make cmake util-linux-dev && cd /build/timescaledb && rm -fr build && git checkout ${TS_VERSION} && ./bootstrap -DCMAKE_BUILD_TYPE=RelWithDebInfo -DREGRESS_CHECKS=OFF -DTAP_CHECKS=OFF -DGENERATE_DOWNGRADE_SCRIPT=ON -DWARNINGS_AS_ERRORS=OFF -DPROJECT_INSTALL_METHOD="docker"${OSS_ONLY} && cd build && make install && cd ~ && if [ "${OSS_ONLY}" != "" ]; then rm -f $(pg_config --pkglibdir)/timescaledb-tsl-*.so; fi && apk del .fetch-deps .build-deps && rm -rf /build && sed -r -i "s/[#]*\s*(shared_preload_libraries)\s*=\s*'(.*)'/\1 = 'timescaledb,\2'/;s/,'/'/" /usr/local/share/postgresql/postgresql.conf.sample # buildkit
2025-11-13 17:38:42 UTC
112 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/18/docker
PG_MAJOR18
PG_SHA2560d5b903b1e5fe361bca7aa9507519933773eb34266b1357c4e7780fdee6d6078
PG_VERSION18.0
[#000] sha256:f8b30cbd0fab9e5a803578a09c973d18d7450816d914e63e04e5c2edd79f8bee - 2.85% (3.21 MB)
[#001] sha256:5f563175f20c2331682dd7dc5466044178ca13af1b3b7452786c370422c35daa - 0.0% (970 Bytes)
[#002] sha256:1e4f06ae51797bac8db35a3b6ee04c46e6cc2b914a1fce4012c5f0a064af84e7 - 0.75% (865 KB)
[#003] sha256:c9a5da25a95346ea67591a38599faa774f158ac8290fc63f5a1e1cdf0c02e3d3 - 0.0% (116 Bytes)
[#004] sha256:765a5b4573e28e9510aa54db0a5466366aa628f4926f249fa3a41d3340d97c72 - 73.62% (82.8 MB)
[#005] sha256:ee3865ab3593577ec5545867d81a24cc3c3e05bc40a03161bdb672aafc038e7d - 0.02% (18.3 KB)
[#006] sha256:e45c2ea982c4cef6913b6ea1be83be639822e93f7f85411e0d34339d8c665bb4 - 0.0% (128 Bytes)
[#007] sha256:d697e0f7540952a3bf7c26b43156bff91917a619c87c70eac097cfb9b311532c - 0.0% (184 Bytes)
[#008] sha256:e8261094f4fcc72706dcb61536095e9f3559c01c7a3942914dafd98101ff8c3c - 0.01% (5.93 KB)
[#009] sha256:aad199b4f9d4d2d5ccc7a1734e08a0b81370ab12a0412bf39f25c9339eb2c1fb - 0.0% (184 Bytes)
[#010] sha256:3ec3537add2754f8ae036ac2176c37ba094b66679210bcd9c2148302002dba35 - 1.77% (1.99 MB)
[#011] sha256:4f4fb700ef54461cfa02571ae0db9a0dc1e0cdb5577484a6d75e68dc38e8acc1 - 0.0% (32 Bytes)
[#012] sha256:dc1fbbdbf7785cb6049dd93037ce85fe9cf47e4b0731e48d098d2a7dd31ae863 - 0.0% (2.08 KB)
[#013] sha256:13f239cef04abf3c49bbc0612db2de8a2f67ccfeb1c4d4fdaec864c1e512688e - 6.51% (7.32 MB)
[#014] sha256:bbb3c11c03351720997207fd8297a54e69527041e09570b246a3b7d73ae4eecb - 5.02% (5.64 MB)
[#015] sha256:3ecbb6bc89574f1b6e82d454d1037a0280eb28c973846b9890b0ddd882ee3d4a - 2.07% (2.33 MB)
[#016] sha256:65738643db6495011a2321485a94ed375bf49256e96e27f03538b5d8d1edfeb3 - 7.38% (8.29 MB)
ADD alpine-minirootfs-3.21.5-armhf.tar.gz / # buildkit
2025-10-08 11:06:42 UTC (buildkit.dockerfile.v0)CMD ["/bin/sh"]
2025-10-15 18:23:03 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c set -eux; addgroup -g 70 -S postgres; adduser -u 70 -S -D -G postgres -H -h /var/lib/postgresql -s /bin/sh postgres; install --verbose --directory --owner postgres --group postgres --mode 1777 /var/lib/postgresql # buildkit
2025-10-15 18:23:03 UTC (buildkit.dockerfile.v0)ENV GOSU_VERSION=1.19
2025-10-15 18:23: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
2025-10-15 18:23:03 UTC (buildkit.dockerfile.v0)ENV LANG=en_US.utf8
2025-10-15 18:23:03 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c mkdir /docker-entrypoint-initdb.d # buildkit
2025-10-15 18:23:03 UTC (buildkit.dockerfile.v0)ENV PG_MAJOR=18
2025-10-15 18:23:03 UTC (buildkit.dockerfile.v0)ENV PG_VERSION=18.0
2025-10-15 18:23:03 UTC (buildkit.dockerfile.v0)ENV PG_SHA256=0d5b903b1e5fe361bca7aa9507519933773eb34266b1357c4e7780fdee6d6078
2025-10-15 18:23:03 UTC (buildkit.dockerfile.v0)ENV DOCKER_PG_LLVM_DEPS=llvm19-dev clang19
2025-10-15 18:23: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 liburing-dev ; cd /usr/src/postgresql; awk '$1 == "#define" && $2 == "DEFAULT_PGSOCKET_DIR" && $3 == "\"/tmp\"" { $3 = "\"/var/run/postgresql\""; print; next } { print }' src/include/pg_config_manual.h > src/include/pg_config_manual.h.new; grep '/var/run/postgresql' src/include/pg_config_manual.h.new; mv src/include/pg_config_manual.h.new src/include/pg_config_manual.h; gnuArch="$(dpkg-architecture --query DEB_BUILD_GNU_TYPE)"; export LLVM_CONFIG="/usr/lib/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-liburing --with-libxml --with-libxslt --with-llvm --with-lz4 --with-openssl --with-perl --with-python --with-tcl --with-zstd ; make -j "$(nproc)" world-bin; make install-world-bin; make -C contrib install; runDeps="$( scanelf --needed --nobanner --format '%n#p' --recursive /usr/local | tr ',' '\n' | sort -u | awk 'system("[ -e /usr/local/lib/" $1 " ]") == 0 { next } { print "so:" $1 }' | grep -v -e perl -e python -e tcl )"; apk add --no-cache --virtual .postgresql-rundeps $runDeps bash tzdata zstd icu-data-full $([ "$(apk --print-arch)" != 'ppc64le' ] && echo 'nss_wrapper') ; apk del --no-network .build-deps; cd /; rm -rf /usr/src/postgresql /usr/local/share/doc /usr/local/share/man ; postgres --version # buildkit
2025-10-15 18:23: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
2025-10-15 18:23:03 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c install --verbose --directory --owner postgres --group postgres --mode 3777 /var/run/postgresql # buildkit
2025-10-15 18:23:03 UTC (buildkit.dockerfile.v0)ENV PGDATA=/var/lib/postgresql/18/docker
2025-10-15 18:23:03 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c ln -svT . /var/lib/postgresql/data # https://github.com/docker-library/postgres/pull/1259#issuecomment-2215477494 # buildkit
2025-10-15 18:23:03 UTC (buildkit.dockerfile.v0)VOLUME [/var/lib/postgresql]
2025-10-15 18:23:03 UTC (buildkit.dockerfile.v0)COPY docker-entrypoint.sh docker-ensure-initdb.sh /usr/local/bin/ # buildkit
2025-10-15 18:23:03 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c ln -sT docker-ensure-initdb.sh /usr/local/bin/docker-enforce-initdb.sh # buildkit
2025-10-15 18:23:03 UTC (buildkit.dockerfile.v0)ENTRYPOINT ["docker-entrypoint.sh"]
2025-10-15 18:23:03 UTC (buildkit.dockerfile.v0)STOPSIGNAL SIGINT
2025-10-15 18:23:03 UTC (buildkit.dockerfile.v0)EXPOSE map[5432/tcp:{}]
2025-10-15 18:23:03 UTC (buildkit.dockerfile.v0)CMD ["postgres"]
2025-11-13 17:02:52 UTC (buildkit.dockerfile.v0)ARG OSS_ONLY
2025-11-13 17:02:52 UTC (buildkit.dockerfile.v0)LABEL maintainer=Timescale https://www.timescale.com
2025-11-13 17:02:52 UTC (buildkit.dockerfile.v0)ARG PG_VERSION=18
2025-11-13 17:02:52 UTC (buildkit.dockerfile.v0)ARG PG_MAJOR_VERSION=18
2025-11-13 17:02:52 UTC (buildkit.dockerfile.v0)ARG ALPINE_VERSION=3.21
2025-11-13 17:02:52 UTC (buildkit.dockerfile.v0)RUN |4 OSS_ONLY= PG_VERSION=18 PG_MAJOR_VERSION=18 ALPINE_VERSION=3.21 /bin/sh -c set -ex; echo "https://dl-cdn.alpinelinux.org/alpine/v${ALPINE_VERSION}/community/" >> /etc/apk/repositories; apk update; if [ "$PG_MAJOR_VERSION" -ge 16 && "$PG_MAJOR_VERSION" -lt 18 ] ; then apk add --no-cache postgresql${PG_VERSION}-plpython3; fi # buildkit
2025-11-13 17:02:52 UTC (buildkit.dockerfile.v0)ARG PGVECTOR_VERSION=v0.7.2
2025-11-13 17:02:52 UTC (buildkit.dockerfile.v0)ARG PG_VERSION=18
2025-11-13 17:02:52 UTC (buildkit.dockerfile.v0)ARG CLANG_VERSION=19
2025-11-13 17:02:52 UTC (buildkit.dockerfile.v0)ARG PG_MAJOR_VERSION=18
2025-11-13 17:02:53 UTC (buildkit.dockerfile.v0)RUN |6 OSS_ONLY= PG_VERSION=18 PG_MAJOR_VERSION=18 ALPINE_VERSION=3.21 PGVECTOR_VERSION=v0.7.2 CLANG_VERSION=19 /bin/sh -c set -ex; if [ "$PG_MAJOR_VERSION" -lt 18 ] ; then 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; fi # buildkit
2025-11-13 17:02:53 UTC (buildkit.dockerfile.v0)COPY docker-entrypoint-initdb.d/* /docker-entrypoint-initdb.d/ # buildkit
2025-11-13 17:15:05 UTC (buildkit.dockerfile.v0)COPY /go/bin/* /usr/local/bin/ # buildkit
2025-11-13 17:15:05 UTC (buildkit.dockerfile.v0)COPY /usr/local/lib/postgresql/timescaledb-*.so /usr/local/lib/postgresql/ # buildkit
2025-11-13 17:15:05 UTC (buildkit.dockerfile.v0)COPY /usr/local/share/postgresql/extension/timescaledb--*.sql /usr/local/share/postgresql/extension/ # buildkit
2025-11-13 17:15:05 UTC (buildkit.dockerfile.v0)ARG TS_VERSION=2.23.1
2025-11-13 17:38:42 UTC (buildkit.dockerfile.v0)RUN |7 OSS_ONLY= PG_VERSION=18 PG_MAJOR_VERSION=18 ALPINE_VERSION=3.21 PGVECTOR_VERSION=v0.7.2 CLANG_VERSION=19 TS_VERSION=2.23.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 gcc krb5-dev libc-dev make cmake util-linux-dev && cd /build/timescaledb && rm -fr build && git checkout ${TS_VERSION} && ./bootstrap -DCMAKE_BUILD_TYPE=RelWithDebInfo -DREGRESS_CHECKS=OFF -DTAP_CHECKS=OFF -DGENERATE_DOWNGRADE_SCRIPT=ON -DWARNINGS_AS_ERRORS=OFF -DPROJECT_INSTALL_METHOD="docker"${OSS_ONLY} && cd build && make install && cd ~ && if [ "${OSS_ONLY}" != "" ]; then rm -f $(pg_config --pkglibdir)/timescaledb-tsl-*.so; fi && apk del .fetch-deps .build-deps && rm -rf /build && sed -r -i "s/[#]*\s*(shared_preload_libraries)\s*=\s*'(.*)'/\1 = 'timescaledb,\2'/;s/,'/'/" /usr/local/share/postgresql/postgresql.conf.sample # buildkit
2025-11-13 17:38:49 UTC
108 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/18/docker
PG_MAJOR18
PG_SHA2560d5b903b1e5fe361bca7aa9507519933773eb34266b1357c4e7780fdee6d6078
PG_VERSION18.0
[#000] sha256:520d06ecc3ba4ec2920319fa6f2cc6bea9a9c1d5a43808c1d2388522c37d7b30 - 2.74% (2.96 MB)
[#001] sha256:d25d309a96e670074250fe85440e076331e35220a481a4b24d8f8111ffdf985e - 0.0% (974 Bytes)
[#002] sha256:df94ca8b80f38691b09564d646ae997c9a75d79bf23891ced805be5ca19f4146 - 0.78% (865 KB)
[#003] sha256:c9a5da25a95346ea67591a38599faa774f158ac8290fc63f5a1e1cdf0c02e3d3 - 0.0% (116 Bytes)
[#004] sha256:7d3d77fe1f1c28b37b7501e08ea4b116e8dcaf06d4d8d70db406469c5c6616da - 72.66% (78.4 MB)
[#005] sha256:3aefbbb8c3c591addb2c767102e99153f6d1e3d0a2561fb643dbb951f487d23b - 0.02% (18.3 KB)
[#006] sha256:e4533dd3ef33ea9a98092905ce104af4add7f3d062fb62f40fd7d6e08fa2776a - 0.0% (128 Bytes)
[#007] sha256:9ad90a821494f007db80bec4410dbeaba176ba66592d8040bafb4b07d1ef6a61 - 0.0% (185 Bytes)
[#008] sha256:05b08bf884d9b94349ad3062bf3389cf15e43219c7489136624742c5279a781f - 0.01% (5.94 KB)
[#009] sha256:df83bcf65a5b5b91da377c01742fe6c4db4e2d33c615b2276e715f1277ec0334 - 0.0% (185 Bytes)
[#010] sha256:9848969ec6c67fc88c68a70b02e472b13035fc2631e7c2fabd98d945dde5f6f8 - 2.03% (2.19 MB)
[#011] sha256:4f4fb700ef54461cfa02571ae0db9a0dc1e0cdb5577484a6d75e68dc38e8acc1 - 0.0% (32 Bytes)
[#012] sha256:6972e7856fbb32d2f583806217a5e57259b248efd7a3178c72d052e215df400e - 0.0% (2.08 KB)
[#013] sha256:40e051f0640232df63191e4394137206c9c49b63d5f84ac4770858aec3e4d3f9 - 6.77% (7.31 MB)
[#014] sha256:ddcc82dab7a3406c5db1dc32452ea4787bb66878cc000ab465ab43401debc65b - 5.19% (5.6 MB)
[#015] sha256:bc8213523a9428bdd13dac19a081c39223b2d416d355cac1d78c28a34398f285 - 2.16% (2.33 MB)
[#016] sha256:bbf1f643dbe9fa19acc9322c6d56ea2a1cb942fdb0ba402590ee342d0cef7405 - 7.65% (8.26 MB)
ADD alpine-minirootfs-3.21.5-armv7.tar.gz / # buildkit
2025-10-08 11:06:42 UTC (buildkit.dockerfile.v0)CMD ["/bin/sh"]
2025-10-15 18:23:03 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c set -eux; addgroup -g 70 -S postgres; adduser -u 70 -S -D -G postgres -H -h /var/lib/postgresql -s /bin/sh postgres; install --verbose --directory --owner postgres --group postgres --mode 1777 /var/lib/postgresql # buildkit
2025-10-15 18:23:03 UTC (buildkit.dockerfile.v0)ENV GOSU_VERSION=1.19
2025-10-15 18:23: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
2025-10-15 18:23:03 UTC (buildkit.dockerfile.v0)ENV LANG=en_US.utf8
2025-10-15 18:23:03 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c mkdir /docker-entrypoint-initdb.d # buildkit
2025-10-15 18:23:03 UTC (buildkit.dockerfile.v0)ENV PG_MAJOR=18
2025-10-15 18:23:03 UTC (buildkit.dockerfile.v0)ENV PG_VERSION=18.0
2025-10-15 18:23:03 UTC (buildkit.dockerfile.v0)ENV PG_SHA256=0d5b903b1e5fe361bca7aa9507519933773eb34266b1357c4e7780fdee6d6078
2025-10-15 18:23:03 UTC (buildkit.dockerfile.v0)ENV DOCKER_PG_LLVM_DEPS=llvm19-dev clang19
2025-10-15 18:23: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 liburing-dev ; cd /usr/src/postgresql; awk '$1 == "#define" && $2 == "DEFAULT_PGSOCKET_DIR" && $3 == "\"/tmp\"" { $3 = "\"/var/run/postgresql\""; print; next } { print }' src/include/pg_config_manual.h > src/include/pg_config_manual.h.new; grep '/var/run/postgresql' src/include/pg_config_manual.h.new; mv src/include/pg_config_manual.h.new src/include/pg_config_manual.h; gnuArch="$(dpkg-architecture --query DEB_BUILD_GNU_TYPE)"; export LLVM_CONFIG="/usr/lib/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-liburing --with-libxml --with-libxslt --with-llvm --with-lz4 --with-openssl --with-perl --with-python --with-tcl --with-zstd ; make -j "$(nproc)" world-bin; make install-world-bin; make -C contrib install; runDeps="$( scanelf --needed --nobanner --format '%n#p' --recursive /usr/local | tr ',' '\n' | sort -u | awk 'system("[ -e /usr/local/lib/" $1 " ]") == 0 { next } { print "so:" $1 }' | grep -v -e perl -e python -e tcl )"; apk add --no-cache --virtual .postgresql-rundeps $runDeps bash tzdata zstd icu-data-full $([ "$(apk --print-arch)" != 'ppc64le' ] && echo 'nss_wrapper') ; apk del --no-network .build-deps; cd /; rm -rf /usr/src/postgresql /usr/local/share/doc /usr/local/share/man ; postgres --version # buildkit
2025-10-15 18:23: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
2025-10-15 18:23:03 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c install --verbose --directory --owner postgres --group postgres --mode 3777 /var/run/postgresql # buildkit
2025-10-15 18:23:03 UTC (buildkit.dockerfile.v0)ENV PGDATA=/var/lib/postgresql/18/docker
2025-10-15 18:23:03 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c ln -svT . /var/lib/postgresql/data # https://github.com/docker-library/postgres/pull/1259#issuecomment-2215477494 # buildkit
2025-10-15 18:23:03 UTC (buildkit.dockerfile.v0)VOLUME [/var/lib/postgresql]
2025-10-15 18:23:03 UTC (buildkit.dockerfile.v0)COPY docker-entrypoint.sh docker-ensure-initdb.sh /usr/local/bin/ # buildkit
2025-10-15 18:23:03 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c ln -sT docker-ensure-initdb.sh /usr/local/bin/docker-enforce-initdb.sh # buildkit
2025-10-15 18:23:03 UTC (buildkit.dockerfile.v0)ENTRYPOINT ["docker-entrypoint.sh"]
2025-10-15 18:23:03 UTC (buildkit.dockerfile.v0)STOPSIGNAL SIGINT
2025-10-15 18:23:03 UTC (buildkit.dockerfile.v0)EXPOSE map[5432/tcp:{}]
2025-10-15 18:23:03 UTC (buildkit.dockerfile.v0)CMD ["postgres"]
2025-11-13 17:02:50 UTC (buildkit.dockerfile.v0)ARG OSS_ONLY
2025-11-13 17:02:50 UTC (buildkit.dockerfile.v0)LABEL maintainer=Timescale https://www.timescale.com
2025-11-13 17:02:50 UTC (buildkit.dockerfile.v0)ARG PG_VERSION=18
2025-11-13 17:02:50 UTC (buildkit.dockerfile.v0)ARG PG_MAJOR_VERSION=18
2025-11-13 17:02:50 UTC (buildkit.dockerfile.v0)ARG ALPINE_VERSION=3.21
2025-11-13 17:02:50 UTC (buildkit.dockerfile.v0)RUN |4 OSS_ONLY= PG_VERSION=18 PG_MAJOR_VERSION=18 ALPINE_VERSION=3.21 /bin/sh -c set -ex; echo "https://dl-cdn.alpinelinux.org/alpine/v${ALPINE_VERSION}/community/" >> /etc/apk/repositories; apk update; if [ "$PG_MAJOR_VERSION" -ge 16 && "$PG_MAJOR_VERSION" -lt 18 ] ; then apk add --no-cache postgresql${PG_VERSION}-plpython3; fi # buildkit
2025-11-13 17:02:50 UTC (buildkit.dockerfile.v0)ARG PGVECTOR_VERSION=v0.7.2
2025-11-13 17:02:50 UTC (buildkit.dockerfile.v0)ARG PG_VERSION=18
2025-11-13 17:02:50 UTC (buildkit.dockerfile.v0)ARG CLANG_VERSION=19
2025-11-13 17:02:50 UTC (buildkit.dockerfile.v0)ARG PG_MAJOR_VERSION=18
2025-11-13 17:02:51 UTC (buildkit.dockerfile.v0)RUN |6 OSS_ONLY= PG_VERSION=18 PG_MAJOR_VERSION=18 ALPINE_VERSION=3.21 PGVECTOR_VERSION=v0.7.2 CLANG_VERSION=19 /bin/sh -c set -ex; if [ "$PG_MAJOR_VERSION" -lt 18 ] ; then 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; fi # buildkit
2025-11-13 17:02:51 UTC (buildkit.dockerfile.v0)COPY docker-entrypoint-initdb.d/* /docker-entrypoint-initdb.d/ # buildkit
2025-11-13 17:15:06 UTC (buildkit.dockerfile.v0)COPY /go/bin/* /usr/local/bin/ # buildkit
2025-11-13 17:15:06 UTC (buildkit.dockerfile.v0)COPY /usr/local/lib/postgresql/timescaledb-*.so /usr/local/lib/postgresql/ # buildkit
2025-11-13 17:15:06 UTC (buildkit.dockerfile.v0)COPY /usr/local/share/postgresql/extension/timescaledb--*.sql /usr/local/share/postgresql/extension/ # buildkit
2025-11-13 17:15:06 UTC (buildkit.dockerfile.v0)ARG TS_VERSION=2.23.1
2025-11-13 17:38:49 UTC (buildkit.dockerfile.v0)RUN |7 OSS_ONLY= PG_VERSION=18 PG_MAJOR_VERSION=18 ALPINE_VERSION=3.21 PGVECTOR_VERSION=v0.7.2 CLANG_VERSION=19 TS_VERSION=2.23.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 gcc krb5-dev libc-dev make cmake util-linux-dev && cd /build/timescaledb && rm -fr build && git checkout ${TS_VERSION} && ./bootstrap -DCMAKE_BUILD_TYPE=RelWithDebInfo -DREGRESS_CHECKS=OFF -DTAP_CHECKS=OFF -DGENERATE_DOWNGRADE_SCRIPT=ON -DWARNINGS_AS_ERRORS=OFF -DPROJECT_INSTALL_METHOD="docker"${OSS_ONLY} && cd build && make install && cd ~ && if [ "${OSS_ONLY}" != "" ]; then rm -f $(pg_config --pkglibdir)/timescaledb-tsl-*.so; fi && apk del .fetch-deps .build-deps && rm -rf /build && sed -r -i "s/[#]*\s*(shared_preload_libraries)\s*=\s*'(.*)'/\1 = 'timescaledb,\2'/;s/,'/'/" /usr/local/share/postgresql/postgresql.conf.sample # buildkit
2025-11-13 17:39:03 UTC
128 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/18/docker
PG_MAJOR18
PG_SHA2560d5b903b1e5fe361bca7aa9507519933773eb34266b1357c4e7780fdee6d6078
PG_VERSION18.0
[#000] sha256:c2fe130f4aabc917e559e7eed7d37b0e21ba13b44520101696887ca892e8c63f - 2.96% (3.81 MB)
[#001] sha256:1b6372313a895b677402af802fd43970f63fbcc14a09feeb5fbae46e63f55e41 - 0.0% (971 Bytes)
[#002] sha256:23946c762af64f236fb87bd777b6a21a3394496340f86210ac9e890f898e579e - 0.65% (853 KB)
[#003] sha256:f41bd0f74bb9e0586871d2c66b984a0649878dae7db97d74c87d896d55bbc253 - 0.0% (116 Bytes)
[#004] sha256:a820be390bf49a942a92c53c0884a765aedcbb5bfd35a7d39694ec4812e0f4f1 - 76.11% (97.7 MB)
[#005] sha256:89e8a27d758bcaa9c579711ce32d8aea1db1a4d3e81287555633276e96464b68 - 0.01% (18.3 KB)
[#006] sha256:e2adc545b7f81961a351a83e92675d7fc34cd990141533bf3e5c991847750755 - 0.0% (128 Bytes)
[#007] sha256:1a2a7df35fbe1f66755e19d47fbdfe1435d03204e0db991cd9ad2c25b15d96ee - 0.0% (183 Bytes)
[#008] sha256:764a4f1f861e917ef0326d269a07f379fec849babb5f69323ba3b1d199f62f9c - 0.0% (5.94 KB)
[#009] sha256:0ae58e8cc3da2db517a8e46a0cc71212c1ff99395e3b96a1b3d9bfa4424d302a - 0.0% (182 Bytes)
[#010] sha256:6e22712c35c9f6d0dc50e6a65c64e7847c3e8fa6f7f622763e6fede1caa06f19 - 1.83% (2.35 MB)
[#011] sha256:4f4fb700ef54461cfa02571ae0db9a0dc1e0cdb5577484a6d75e68dc38e8acc1 - 0.0% (32 Bytes)
[#012] sha256:11fa0b48afc430d235de0808257352a69185f960acb8c83499957a797d55361e - 0.0% (2.08 KB)
[#013] sha256:9d50f4117e56689875b5eccd53888800e6b9da4a277d8dc1d55bcee3ad975325 - 5.77% (7.41 MB)
[#014] sha256:2ddd1e743c0251dbbc14b2d767b7b8b8c8a70f43eeaf0ecd77eaf7c3d842b160 - 4.39% (5.64 MB)
[#015] sha256:af60c33137d3cdb255c4995a5426f164837ef4e5a5b2b33e1e6a4e8dd4b914d8 - 1.81% (2.33 MB)
[#016] sha256:1692b39dcb648c82b4cb82cf20f854db7721f13b74f71484b6941b3ff1f59a41 - 6.46% (8.29 MB)
ADD alpine-minirootfs-3.21.5-aarch64.tar.gz / # buildkit
2025-10-08 11:06:42 UTC (buildkit.dockerfile.v0)CMD ["/bin/sh"]
2025-10-15 18:23:03 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c set -eux; addgroup -g 70 -S postgres; adduser -u 70 -S -D -G postgres -H -h /var/lib/postgresql -s /bin/sh postgres; install --verbose --directory --owner postgres --group postgres --mode 1777 /var/lib/postgresql # buildkit
2025-10-15 18:23:03 UTC (buildkit.dockerfile.v0)ENV GOSU_VERSION=1.19
2025-10-15 18:23: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
2025-10-15 18:23:03 UTC (buildkit.dockerfile.v0)ENV LANG=en_US.utf8
2025-10-15 18:23:03 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c mkdir /docker-entrypoint-initdb.d # buildkit
2025-10-15 18:23:03 UTC (buildkit.dockerfile.v0)ENV PG_MAJOR=18
2025-10-15 18:23:03 UTC (buildkit.dockerfile.v0)ENV PG_VERSION=18.0
2025-10-15 18:23:03 UTC (buildkit.dockerfile.v0)ENV PG_SHA256=0d5b903b1e5fe361bca7aa9507519933773eb34266b1357c4e7780fdee6d6078
2025-10-15 18:23:03 UTC (buildkit.dockerfile.v0)ENV DOCKER_PG_LLVM_DEPS=llvm19-dev clang19
2025-10-15 18:23: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 liburing-dev ; cd /usr/src/postgresql; awk '$1 == "#define" && $2 == "DEFAULT_PGSOCKET_DIR" && $3 == "\"/tmp\"" { $3 = "\"/var/run/postgresql\""; print; next } { print }' src/include/pg_config_manual.h > src/include/pg_config_manual.h.new; grep '/var/run/postgresql' src/include/pg_config_manual.h.new; mv src/include/pg_config_manual.h.new src/include/pg_config_manual.h; gnuArch="$(dpkg-architecture --query DEB_BUILD_GNU_TYPE)"; export LLVM_CONFIG="/usr/lib/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-liburing --with-libxml --with-libxslt --with-llvm --with-lz4 --with-openssl --with-perl --with-python --with-tcl --with-zstd ; make -j "$(nproc)" world-bin; make install-world-bin; make -C contrib install; runDeps="$( scanelf --needed --nobanner --format '%n#p' --recursive /usr/local | tr ',' '\n' | sort -u | awk 'system("[ -e /usr/local/lib/" $1 " ]") == 0 { next } { print "so:" $1 }' | grep -v -e perl -e python -e tcl )"; apk add --no-cache --virtual .postgresql-rundeps $runDeps bash tzdata zstd icu-data-full $([ "$(apk --print-arch)" != 'ppc64le' ] && echo 'nss_wrapper') ; apk del --no-network .build-deps; cd /; rm -rf /usr/src/postgresql /usr/local/share/doc /usr/local/share/man ; postgres --version # buildkit
2025-10-15 18:23: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
2025-10-15 18:23:03 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c install --verbose --directory --owner postgres --group postgres --mode 3777 /var/run/postgresql # buildkit
2025-10-15 18:23:03 UTC (buildkit.dockerfile.v0)ENV PGDATA=/var/lib/postgresql/18/docker
2025-10-15 18:23:03 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c ln -svT . /var/lib/postgresql/data # https://github.com/docker-library/postgres/pull/1259#issuecomment-2215477494 # buildkit
2025-10-15 18:23:03 UTC (buildkit.dockerfile.v0)VOLUME [/var/lib/postgresql]
2025-10-15 18:23:03 UTC (buildkit.dockerfile.v0)COPY docker-entrypoint.sh docker-ensure-initdb.sh /usr/local/bin/ # buildkit
2025-10-15 18:23:03 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c ln -sT docker-ensure-initdb.sh /usr/local/bin/docker-enforce-initdb.sh # buildkit
2025-10-15 18:23:03 UTC (buildkit.dockerfile.v0)ENTRYPOINT ["docker-entrypoint.sh"]
2025-10-15 18:23:03 UTC (buildkit.dockerfile.v0)STOPSIGNAL SIGINT
2025-10-15 18:23:03 UTC (buildkit.dockerfile.v0)EXPOSE map[5432/tcp:{}]
2025-10-15 18:23:03 UTC (buildkit.dockerfile.v0)CMD ["postgres"]
2025-11-13 17:02:54 UTC (buildkit.dockerfile.v0)ARG OSS_ONLY
2025-11-13 17:02:54 UTC (buildkit.dockerfile.v0)LABEL maintainer=Timescale https://www.timescale.com
2025-11-13 17:02:54 UTC (buildkit.dockerfile.v0)ARG PG_VERSION=18
2025-11-13 17:02:54 UTC (buildkit.dockerfile.v0)ARG PG_MAJOR_VERSION=18
2025-11-13 17:02:54 UTC (buildkit.dockerfile.v0)ARG ALPINE_VERSION=3.21
2025-11-13 17:02:54 UTC (buildkit.dockerfile.v0)RUN |4 OSS_ONLY= PG_VERSION=18 PG_MAJOR_VERSION=18 ALPINE_VERSION=3.21 /bin/sh -c set -ex; echo "https://dl-cdn.alpinelinux.org/alpine/v${ALPINE_VERSION}/community/" >> /etc/apk/repositories; apk update; if [ "$PG_MAJOR_VERSION" -ge 16 && "$PG_MAJOR_VERSION" -lt 18 ] ; then apk add --no-cache postgresql${PG_VERSION}-plpython3; fi # buildkit
2025-11-13 17:02:54 UTC (buildkit.dockerfile.v0)ARG PGVECTOR_VERSION=v0.7.2
2025-11-13 17:02:54 UTC (buildkit.dockerfile.v0)ARG PG_VERSION=18
2025-11-13 17:02:54 UTC (buildkit.dockerfile.v0)ARG CLANG_VERSION=19
2025-11-13 17:02:54 UTC (buildkit.dockerfile.v0)ARG PG_MAJOR_VERSION=18
2025-11-13 17:02:54 UTC (buildkit.dockerfile.v0)RUN |6 OSS_ONLY= PG_VERSION=18 PG_MAJOR_VERSION=18 ALPINE_VERSION=3.21 PGVECTOR_VERSION=v0.7.2 CLANG_VERSION=19 /bin/sh -c set -ex; if [ "$PG_MAJOR_VERSION" -lt 18 ] ; then 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; fi # buildkit
2025-11-13 17:02:54 UTC (buildkit.dockerfile.v0)COPY docker-entrypoint-initdb.d/* /docker-entrypoint-initdb.d/ # buildkit
2025-11-13 17:14:35 UTC (buildkit.dockerfile.v0)COPY /go/bin/* /usr/local/bin/ # buildkit
2025-11-13 17:14:35 UTC (buildkit.dockerfile.v0)COPY /usr/local/lib/postgresql/timescaledb-*.so /usr/local/lib/postgresql/ # buildkit
2025-11-13 17:14:35 UTC (buildkit.dockerfile.v0)COPY /usr/local/share/postgresql/extension/timescaledb--*.sql /usr/local/share/postgresql/extension/ # buildkit
2025-11-13 17:14:35 UTC (buildkit.dockerfile.v0)ARG TS_VERSION=2.23.1
2025-11-13 17:39:03 UTC (buildkit.dockerfile.v0)RUN |7 OSS_ONLY= PG_VERSION=18 PG_MAJOR_VERSION=18 ALPINE_VERSION=3.21 PGVECTOR_VERSION=v0.7.2 CLANG_VERSION=19 TS_VERSION=2.23.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 gcc krb5-dev libc-dev make cmake util-linux-dev && cd /build/timescaledb && rm -fr build && git checkout ${TS_VERSION} && ./bootstrap -DCMAKE_BUILD_TYPE=RelWithDebInfo -DREGRESS_CHECKS=OFF -DTAP_CHECKS=OFF -DGENERATE_DOWNGRADE_SCRIPT=ON -DWARNINGS_AS_ERRORS=OFF -DPROJECT_INSTALL_METHOD="docker"${OSS_ONLY} && cd build && make install && cd ~ && if [ "${OSS_ONLY}" != "" ]; then rm -f $(pg_config --pkglibdir)/timescaledb-tsl-*.so; fi && apk del .fetch-deps .build-deps && rm -rf /build && sed -r -i "s/[#]*\s*(shared_preload_libraries)\s*=\s*'(.*)'/\1 = 'timescaledb,\2'/;s/,'/'/" /usr/local/share/postgresql/postgresql.conf.sample # buildkit
Please be careful as this will not just delete the reference but also the actual content!
For example when you have latest and v1.2.3 both pointing to the same image
the deletion of latest will also permanently remove v1.2.3.