2025-10-29 10:09:33 UTC
339 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_MAJOR16
PG_SHA256de8485f4ce9c32e3ddfeef0b7c261eed1cecb54c9bcd170e437ff454cb292b42
PG_VERSION16.10
[#000] sha256:bbedd1c05bb5090fc3fc2356be88d60b2a60937565b56e91fb4be42c5c73d485 - 0.98% (3.3 MB)
[#001] sha256:8cfeb39a9719abd71245d4f641bacb8ab8a3995fe420f2fb6c6a37531b32250c - 0.0% (970 Bytes)
[#002] sha256:0d2b42fd3ac4aac6aa01013315fb693458216445a1470944a12c379f4628e854 - 0.25% (870 KB)
[#003] sha256:8aa9148e52a22b6c675b14e20c52b9331cc29554618b25c5984021cc47ab9d19 - 0.0% (176 Bytes)
[#004] sha256:dd159d587d479af857468d6b82f079aa1f24c9fde6f5604e4e48d0f49e5e9fc6 - 0.0% (116 Bytes)
[#005] sha256:d0c8afb31225979718fcab881a29c930fa54a941bccd8fded2f7157407583f0c - 31.32% (106 MB)
[#006] sha256:36fc9bcd5d915cab7032f3ad1ca9c4289e5c20b5fbb12b8679de59721b8a47c4 - 0.0% (9.33 KB)
[#007] sha256:e88f71a3815a1119a879f26e3446cd8bbb4dcce5016d7169ebe1fbb4bc4230f1 - 0.0% (128 Bytes)
[#008] sha256:5166166d955ea80d2416817e3ba1a5e26139293ebd51a92d2d9508212d0f90e1 - 0.0% (167 Bytes)
[#009] sha256:0c88ff47ab5fa025e3f4db78fda035a2f4aea41bb4dd5b7e4f3d88d8cc2369a6 - 0.0% (5.93 KB)
[#010] sha256:a73036d5c339cd31dc3ac2f0158c38f473d2a469b7f79e79443ed4271e15f427 - 0.0% (183 Bytes)
[#011] sha256:d13341daddb2ef070d3e107b488985c96a9530da239fc578f2a8fad70734b49a - 0.65% (2.21 MB)
[#012] sha256:a0d4d2ef5574dd4f3178bd89d039d13681a25e04428e535758b0977ce0503828 - 1.51% (5.1 MB)
[#013] sha256:2866785234837d8f298cafd503217e03a19754c9be016146c34ac885daaf8938 - 0.0% (2.08 KB)
[#014] sha256:5bf56e2398efc716d3a80edf33b5b2f550e8fa344367150e24bcc0e04cda700e - 2.23% (7.55 MB)
[#015] sha256:6173e23126a3774c8f214ffb5fc9eb4fedcbbd3121bcf67a08574d236009dfc6 - 43.2% (146 MB)
[#016] sha256:100db6a9a34483a347f9ae71ad1e13065944577a85861df44431fe8c9298ceaf - 17.58% (59.6 MB)
[#017] sha256:be3730651d3708f64f79318c80ca7d69547ee05111db2c1ed9c6aeee0ad7c5fc - 2.27% (7.69 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)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
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=16
2025-10-15 18:23:03 UTC (buildkit.dockerfile.v0)ENV PG_VERSION=16.10
2025-10-15 18:23:03 UTC (buildkit.dockerfile.v0)ENV PG_SHA256=de8485f4ce9c32e3ddfeef0b7c261eed1cecb54c9bcd170e437ff454cb292b42
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 ; 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-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
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/data
2025-10-15 18:23:03 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c install --verbose --directory --owner postgres --group postgres --mode 1777 "$PGDATA" # buildkit
2025-10-15 18:23:03 UTC (buildkit.dockerfile.v0)VOLUME [/var/lib/postgresql/data]
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-10-29 10:01:34 UTC (buildkit.dockerfile.v0)ARG OSS_ONLY
2025-10-29 10:01:34 UTC (buildkit.dockerfile.v0)LABEL maintainer=Timescale https://www.timescale.com
2025-10-29 10:01:34 UTC (buildkit.dockerfile.v0)ARG PG_VERSION=16
2025-10-29 10:01:34 UTC (buildkit.dockerfile.v0)ARG PG_MAJOR_VERSION=16
2025-10-29 10:01:34 UTC (buildkit.dockerfile.v0)ARG ALPINE_VERSION=3.21
2025-10-29 10:01:34 UTC (buildkit.dockerfile.v0)RUN |4 OSS_ONLY= PG_VERSION=16 PG_MAJOR_VERSION=16 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-10-29 10:01:34 UTC (buildkit.dockerfile.v0)ARG PGVECTOR_VERSION=v0.7.2
2025-10-29 10:01:34 UTC (buildkit.dockerfile.v0)ARG PG_VERSION=16
2025-10-29 10:01:34 UTC (buildkit.dockerfile.v0)ARG CLANG_VERSION=19
2025-10-29 10:01:34 UTC (buildkit.dockerfile.v0)ARG PG_MAJOR_VERSION=16
2025-10-29 10:03:04 UTC (buildkit.dockerfile.v0)RUN |6 OSS_ONLY= PG_VERSION=16 PG_MAJOR_VERSION=16 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-10-29 10:03:04 UTC (buildkit.dockerfile.v0)COPY docker-entrypoint-initdb.d/* /docker-entrypoint-initdb.d/ # buildkit
2025-10-29 10:04:07 UTC (buildkit.dockerfile.v0)COPY /go/bin/* /usr/local/bin/ # buildkit
2025-10-29 10:04:08 UTC (buildkit.dockerfile.v0)COPY /usr/local/lib/postgresql/timescaledb-*.so /usr/local/lib/postgresql/ # buildkit
2025-10-29 10:04:09 UTC (buildkit.dockerfile.v0)COPY /usr/local/share/postgresql/extension/timescaledb--*.sql /usr/local/share/postgresql/extension/ # buildkit
2025-10-29 10:04:09 UTC (buildkit.dockerfile.v0)ARG TS_VERSION=2.23.0
2025-10-29 10:09:33 UTC (buildkit.dockerfile.v0)RUN |7 OSS_ONLY= PG_VERSION=16 PG_MAJOR_VERSION=16 ALPINE_VERSION=3.21 PGVECTOR_VERSION=v0.7.2 CLANG_VERSION=19 TS_VERSION=2.23.0 /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-10-29 10:08:53 UTC
341 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_MAJOR16
PG_SHA256de8485f4ce9c32e3ddfeef0b7c261eed1cecb54c9bcd170e437ff454cb292b42
PG_VERSION16.10
[#000] sha256:f637881d1138581d892d9eb942c56e0ccc7758fe3bdc0f1e6cd66059fdfd8185 - 1.02% (3.47 MB)
[#001] sha256:78c6e351bd48e5e96527642f847dc00602104844da4d56be95940b5836834137 - 0.0% (970 Bytes)
[#002] sha256:49acb54bb4ceea2caef911238c1b2b1f60afb0baef2f4a4b678b5b4ee0ef5b37 - 0.26% (897 KB)
[#003] sha256:63b1750e717539498bbb05ff2921f4a56e88c856e034e47226d255c5b5cc07aa - 0.0% (174 Bytes)
[#004] sha256:7620384eb87cafb67d17f9babe6b2c8794bea75c56dece3de6ebbb0e4ce7a873 - 0.0% (116 Bytes)
[#005] sha256:10e52e32e99a00da1e5cf11b0433489135eb67cec11b571f5cc72f0891cccca2 - 29.37% (100 MB)
[#006] sha256:a4959145d7b8cbc1b679c5c33e864ec3a9303eda1c4b0d4f4f0af437b407c807 - 0.0% (9.34 KB)
[#007] sha256:73322965cd35b1250996f1263d9f9ce201c6de633e3949b1dd5d056e27bb44b7 - 0.0% (128 Bytes)
[#008] sha256:2a472bb508b37f983c9535821e9be97fff07bd1c988340baa2a42645def5146d - 0.0% (169 Bytes)
[#009] sha256:2fd075aaf991400b2d12f20280817801851041c3f72e5b98e6f23082b3cf31a1 - 0.0% (5.94 KB)
[#010] sha256:6f567051868bffcd38faf1f157f8e17f5f5e2398f77ea3fed370440113433cdd - 0.0% (184 Bytes)
[#011] sha256:faf707bae626f3a4f5daea9297658aaad2a453935c11990f2350e84aa0b12b49 - 0.69% (2.37 MB)
[#012] sha256:c79b8510bf8f9749ae00b89909f9d0c467bdf8956d6749cf92a99c0e7e6134c4 - 1.55% (5.27 MB)
[#013] sha256:3fc33d498f1fe59cc9894df97a3e3c8d4439ba85bcccdc633b1baa378729e8de - 0.0% (2.08 KB)
[#014] sha256:b8c323f77dca31ecb994ba4c364576368e16e126f3eaeeddbeb3e5566f1dc76c - 2.31% (7.85 MB)
[#015] sha256:c1bb3392d75b52a5a893f4c9d16ac50acdd890ae895a4a9524b2bb506548bd61 - 44.97% (153 MB)
[#016] sha256:d7434ad69e91d2a59c0110d9a128d14a53a18992103ae123ecc844ca56c7b960 - 17.49% (59.6 MB)
[#017] sha256:28f4082fef7aa61f614aae814a4b22890f2456507e658d33cb5b3bf9ad24fc21 - 2.34% (7.96 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)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
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=16
2025-10-15 18:23:03 UTC (buildkit.dockerfile.v0)ENV PG_VERSION=16.10
2025-10-15 18:23:03 UTC (buildkit.dockerfile.v0)ENV PG_SHA256=de8485f4ce9c32e3ddfeef0b7c261eed1cecb54c9bcd170e437ff454cb292b42
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 ; 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-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
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/data
2025-10-15 18:23:03 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c install --verbose --directory --owner postgres --group postgres --mode 1777 "$PGDATA" # buildkit
2025-10-15 18:23:03 UTC (buildkit.dockerfile.v0)VOLUME [/var/lib/postgresql/data]
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-10-29 10:01:33 UTC (buildkit.dockerfile.v0)ARG OSS_ONLY
2025-10-29 10:01:33 UTC (buildkit.dockerfile.v0)LABEL maintainer=Timescale https://www.timescale.com
2025-10-29 10:01:33 UTC (buildkit.dockerfile.v0)ARG PG_VERSION=16
2025-10-29 10:01:33 UTC (buildkit.dockerfile.v0)ARG PG_MAJOR_VERSION=16
2025-10-29 10:01:33 UTC (buildkit.dockerfile.v0)ARG ALPINE_VERSION=3.21
2025-10-29 10:01:33 UTC (buildkit.dockerfile.v0)RUN |4 OSS_ONLY= PG_VERSION=16 PG_MAJOR_VERSION=16 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-10-29 10:01:33 UTC (buildkit.dockerfile.v0)ARG PGVECTOR_VERSION=v0.7.2
2025-10-29 10:01:33 UTC (buildkit.dockerfile.v0)ARG PG_VERSION=16
2025-10-29 10:01:33 UTC (buildkit.dockerfile.v0)ARG CLANG_VERSION=19
2025-10-29 10:01:33 UTC (buildkit.dockerfile.v0)ARG PG_MAJOR_VERSION=16
2025-10-29 10:03:03 UTC (buildkit.dockerfile.v0)RUN |6 OSS_ONLY= PG_VERSION=16 PG_MAJOR_VERSION=16 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-10-29 10:03:03 UTC (buildkit.dockerfile.v0)COPY docker-entrypoint-initdb.d/* /docker-entrypoint-initdb.d/ # buildkit
2025-10-29 10:03:49 UTC (buildkit.dockerfile.v0)COPY /go/bin/* /usr/local/bin/ # buildkit
2025-10-29 10:03:50 UTC (buildkit.dockerfile.v0)COPY /usr/local/lib/postgresql/timescaledb-*.so /usr/local/lib/postgresql/ # buildkit
2025-10-29 10:03:51 UTC (buildkit.dockerfile.v0)COPY /usr/local/share/postgresql/extension/timescaledb--*.sql /usr/local/share/postgresql/extension/ # buildkit
2025-10-29 10:03:51 UTC (buildkit.dockerfile.v0)ARG TS_VERSION=2.23.0
2025-10-29 10:08:53 UTC (buildkit.dockerfile.v0)RUN |7 OSS_ONLY= PG_VERSION=16 PG_MAJOR_VERSION=16 ALPINE_VERSION=3.21 PGVECTOR_VERSION=v0.7.2 CLANG_VERSION=19 TS_VERSION=2.23.0 /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-10-29 10:42:05 UTC
315 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_MAJOR16
PG_SHA256de8485f4ce9c32e3ddfeef0b7c261eed1cecb54c9bcd170e437ff454cb292b42
PG_VERSION16.10
[#000] sha256:f8b30cbd0fab9e5a803578a09c973d18d7450816d914e63e04e5c2edd79f8bee - 1.02% (3.21 MB)
[#001] sha256:93d6ec1eac5b60119033a43351ab37172f18e7a11162508d27055dfc29c4bf73 - 0.0% (968 Bytes)
[#002] sha256:aff8bb6b4f884d10830a1a3278bfadbad8d64fc89cf0fde372b8201f7bbb91bd - 0.27% (865 KB)
[#003] sha256:aa6a5c76375427aa13becc2591f06ad7fd1ae80529a84aa950aa5c3e0ea3ebf2 - 0.0% (172 Bytes)
[#004] sha256:2487aa89b5c61ad7b2b70ce4abe1c9a3448118fb304ea7428bb2e1c3710e5f18 - 0.0% (116 Bytes)
[#005] sha256:510b1a585ac3d242e2b818a87d415de3afa92c593490fdf3f84a3801039f292e - 25.66% (80.8 MB)
[#006] sha256:33b08c5e23e85f4c7fcfcffc687f65fd026c03906417dfd9513d80ab78955ae4 - 0.0% (9.34 KB)
[#007] sha256:f23dfd2ef6ceb2b048b03fb4075c5d69af5795ed9beed51c61cfcf26940a20ae - 0.0% (128 Bytes)
[#008] sha256:e1acfcc97df1c63bef1092246ad67b0885bcc96539b94aa2691c71e40e15b50a - 0.0% (166 Bytes)
[#009] sha256:d5b258c5806b32dd70145a0691dd9eb2dc7ff7af6948896f96720333296e1bd9 - 0.0% (5.94 KB)
[#010] sha256:a1649e84b9fc00218a1012b94e7e572c427381f8221fcd5a4a27d2804e7a8ef6 - 0.0% (184 Bytes)
[#011] sha256:ea9b82007c695a0061745ef95f936057557a5440051c504ab11b39b1d1c80205 - 0.63% (1.99 MB)
[#012] sha256:dd72f2def13495cbff168fbe1b57dafaba1c76458fc767163ff1d204c136dec1 - 1.53% (4.84 MB)
[#013] sha256:d320e3706b4f3690a1ce39c1c536ebdd4c41394eb3a4c0460f60f151ddec98a9 - 0.0% (2.08 KB)
[#014] sha256:07e67a1d0454e3b5769454557898350853a3051ad2407dd7010625ba7557362c - 2.32% (7.3 MB)
[#015] sha256:e14335993c022760fe70936912d85a395dbd3eca9f54e192856f170af1878d23 - 47.19% (149 MB)
[#016] sha256:40845998098b35d2228d88edd72d56039d27a65198a772bf6c1a9cd9b679855c - 18.91% (59.6 MB)
[#017] sha256:02800b5700ad9219eab9fbf8accd04ee2c289ebb8f38a4d9f9c328d18929b2d2 - 2.46% (7.76 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)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
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=16
2025-10-15 18:23:03 UTC (buildkit.dockerfile.v0)ENV PG_VERSION=16.10
2025-10-15 18:23:03 UTC (buildkit.dockerfile.v0)ENV PG_SHA256=de8485f4ce9c32e3ddfeef0b7c261eed1cecb54c9bcd170e437ff454cb292b42
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 ; 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-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
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/data
2025-10-15 18:23:03 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c install --verbose --directory --owner postgres --group postgres --mode 1777 "$PGDATA" # buildkit
2025-10-15 18:23:03 UTC (buildkit.dockerfile.v0)VOLUME [/var/lib/postgresql/data]
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-10-29 10:01:41 UTC (buildkit.dockerfile.v0)ARG OSS_ONLY
2025-10-29 10:01:41 UTC (buildkit.dockerfile.v0)LABEL maintainer=Timescale https://www.timescale.com
2025-10-29 10:01:41 UTC (buildkit.dockerfile.v0)ARG PG_VERSION=16
2025-10-29 10:01:41 UTC (buildkit.dockerfile.v0)ARG PG_MAJOR_VERSION=16
2025-10-29 10:01:41 UTC (buildkit.dockerfile.v0)ARG ALPINE_VERSION=3.21
2025-10-29 10:01:41 UTC (buildkit.dockerfile.v0)RUN |4 OSS_ONLY= PG_VERSION=16 PG_MAJOR_VERSION=16 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-10-29 10:01:41 UTC (buildkit.dockerfile.v0)ARG PGVECTOR_VERSION=v0.7.2
2025-10-29 10:01:41 UTC (buildkit.dockerfile.v0)ARG PG_VERSION=16
2025-10-29 10:01:41 UTC (buildkit.dockerfile.v0)ARG CLANG_VERSION=19
2025-10-29 10:01:41 UTC (buildkit.dockerfile.v0)ARG PG_MAJOR_VERSION=16
2025-10-29 10:12:46 UTC (buildkit.dockerfile.v0)RUN |6 OSS_ONLY= PG_VERSION=16 PG_MAJOR_VERSION=16 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-10-29 10:12:46 UTC (buildkit.dockerfile.v0)COPY docker-entrypoint-initdb.d/* /docker-entrypoint-initdb.d/ # buildkit
2025-10-29 10:19:20 UTC (buildkit.dockerfile.v0)COPY /go/bin/* /usr/local/bin/ # buildkit
2025-10-29 10:19:21 UTC (buildkit.dockerfile.v0)COPY /usr/local/lib/postgresql/timescaledb-*.so /usr/local/lib/postgresql/ # buildkit
2025-10-29 10:19:22 UTC (buildkit.dockerfile.v0)COPY /usr/local/share/postgresql/extension/timescaledb--*.sql /usr/local/share/postgresql/extension/ # buildkit
2025-10-29 10:19:22 UTC (buildkit.dockerfile.v0)ARG TS_VERSION=2.23.0
2025-10-29 10:42:05 UTC (buildkit.dockerfile.v0)RUN |7 OSS_ONLY= PG_VERSION=16 PG_MAJOR_VERSION=16 ALPINE_VERSION=3.21 PGVECTOR_VERSION=v0.7.2 CLANG_VERSION=19 TS_VERSION=2.23.0 /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-10-29 10:42:50 UTC
310 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_MAJOR16
PG_SHA256de8485f4ce9c32e3ddfeef0b7c261eed1cecb54c9bcd170e437ff454cb292b42
PG_VERSION16.10
[#000] sha256:520d06ecc3ba4ec2920319fa6f2cc6bea9a9c1d5a43808c1d2388522c37d7b30 - 0.95% (2.96 MB)
[#001] sha256:fcbf7e0edc2e683242a6afd65791e650ba3292fa69a7dd3a1fdfc49e08d898f9 - 0.0% (973 Bytes)
[#002] sha256:ab05ea5c487a3559ff12aaaffe8da8f2bc47f81d0f36190e9c789ddbc8bb2b53 - 0.27% (865 KB)
[#003] sha256:cbac878fac201a9e6a076e82325af7762855dbafae9d479c177a77f9ab77ec40 - 0.0% (173 Bytes)
[#004] sha256:5d4161a415288dadf33c16d7f9604cbba2c6fba0f8e6c186c6f655bc4360ea33 - 0.0% (116 Bytes)
[#005] sha256:f86a6ce29a71537875b71773e9ff52b34511a6b2fbd386fe2f9766f66d8d426f - 24.71% (76.5 MB)
[#006] sha256:c87178c8b605c6538e1ebce7eda29d1e978c03f9c3b3899a32c2113106a751e2 - 0.0% (9.33 KB)
[#007] sha256:e6fdff0f8c55cc142f79153a1dee8a346b8054b7b81043189fb2e5ba62c6aa16 - 0.0% (128 Bytes)
[#008] sha256:46341a7fedee469bbc24d3c4fd72378026d5df8a5f6e30218fa7cf4adc09f6ab - 0.0% (169 Bytes)
[#009] sha256:9e519717ba57b1c2fe359b5867fc2af75fa294d373494ed6506d49905e69403d - 0.0% (5.94 KB)
[#010] sha256:f38ab522fcbcf89a6061f0631abd929834337b6f5c8c8455048a8b4c812167af - 0.0% (182 Bytes)
[#011] sha256:5aba3ec8a4b24b8539024e635d17513b49c821a317cb495adb469cfcccc52b51 - 0.71% (2.19 MB)
[#012] sha256:f365a45f53d94a763c461b728afd02fd83a4012e4f27230779a26a6511ebc20a - 1.61% (5 MB)
[#013] sha256:c24db9ab3814d7257f35606fd8208f0985a7bdbaa49b42d4682bf4ce032fcefe - 0.0% (2.08 KB)
[#014] sha256:04359ea20e933e6954b8031d734397aa01bc2907e88f9f3030e4d67ed59a3b81 - 2.35% (7.29 MB)
[#015] sha256:baf13282ebb1f2ac86d22e66abcc2b942e89bcda58e93ccbe2a80e948725ab1e - 47.65% (148 MB)
[#016] sha256:03a2bd76bd84006bf57a473cc04685c0beaef929f0a6eee8dfa99605c858a0f7 - 19.23% (59.6 MB)
[#017] sha256:68cd9bf5f0ed4cf4b81640cf7acd1ada4123c469404c2ef9e67e216890e11a5a - 2.49% (7.73 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)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
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=16
2025-10-15 18:23:03 UTC (buildkit.dockerfile.v0)ENV PG_VERSION=16.10
2025-10-15 18:23:03 UTC (buildkit.dockerfile.v0)ENV PG_SHA256=de8485f4ce9c32e3ddfeef0b7c261eed1cecb54c9bcd170e437ff454cb292b42
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 ; 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-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
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/data
2025-10-15 18:23:03 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c install --verbose --directory --owner postgres --group postgres --mode 1777 "$PGDATA" # buildkit
2025-10-15 18:23:03 UTC (buildkit.dockerfile.v0)VOLUME [/var/lib/postgresql/data]
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-10-29 10:01:41 UTC (buildkit.dockerfile.v0)ARG OSS_ONLY
2025-10-29 10:01:41 UTC (buildkit.dockerfile.v0)LABEL maintainer=Timescale https://www.timescale.com
2025-10-29 10:01:41 UTC (buildkit.dockerfile.v0)ARG PG_VERSION=16
2025-10-29 10:01:41 UTC (buildkit.dockerfile.v0)ARG PG_MAJOR_VERSION=16
2025-10-29 10:01:41 UTC (buildkit.dockerfile.v0)ARG ALPINE_VERSION=3.21
2025-10-29 10:01:41 UTC (buildkit.dockerfile.v0)RUN |4 OSS_ONLY= PG_VERSION=16 PG_MAJOR_VERSION=16 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-10-29 10:01:41 UTC (buildkit.dockerfile.v0)ARG PGVECTOR_VERSION=v0.7.2
2025-10-29 10:01:41 UTC (buildkit.dockerfile.v0)ARG PG_VERSION=16
2025-10-29 10:01:41 UTC (buildkit.dockerfile.v0)ARG CLANG_VERSION=19
2025-10-29 10:01:41 UTC (buildkit.dockerfile.v0)ARG PG_MAJOR_VERSION=16
2025-10-29 10:12:36 UTC (buildkit.dockerfile.v0)RUN |6 OSS_ONLY= PG_VERSION=16 PG_MAJOR_VERSION=16 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-10-29 10:12:36 UTC (buildkit.dockerfile.v0)COPY docker-entrypoint-initdb.d/* /docker-entrypoint-initdb.d/ # buildkit
2025-10-29 10:19:18 UTC (buildkit.dockerfile.v0)COPY /go/bin/* /usr/local/bin/ # buildkit
2025-10-29 10:19:18 UTC (buildkit.dockerfile.v0)COPY /usr/local/lib/postgresql/timescaledb-*.so /usr/local/lib/postgresql/ # buildkit
2025-10-29 10:19:19 UTC (buildkit.dockerfile.v0)COPY /usr/local/share/postgresql/extension/timescaledb--*.sql /usr/local/share/postgresql/extension/ # buildkit
2025-10-29 10:19:19 UTC (buildkit.dockerfile.v0)ARG TS_VERSION=2.23.0
2025-10-29 10:42:50 UTC (buildkit.dockerfile.v0)RUN |7 OSS_ONLY= PG_VERSION=16 PG_MAJOR_VERSION=16 ALPINE_VERSION=3.21 PGVECTOR_VERSION=v0.7.2 CLANG_VERSION=19 TS_VERSION=2.23.0 /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-10-29 10:43:01 UTC
331 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_MAJOR16
PG_SHA256de8485f4ce9c32e3ddfeef0b7c261eed1cecb54c9bcd170e437ff454cb292b42
PG_VERSION16.10
[#000] sha256:c2fe130f4aabc917e559e7eed7d37b0e21ba13b44520101696887ca892e8c63f - 1.15% (3.81 MB)
[#001] sha256:1f77b27129d891fcba88ae9d6803b40bdcf0af0af0bccec0d87cbbe60f60fc5a - 0.0% (970 Bytes)
[#002] sha256:467dde2718cf6151132e9e82e4b6c1ad5a04b6836946aab176cec9f85bed196b - 0.25% (853 KB)
[#003] sha256:c7932b8f88c219a1a000dd8e92c0a867433de741a04bd30bd6e4fe24f62fbcc8 - 0.0% (174 Bytes)
[#004] sha256:dd591228d448d0da6d913e05f20a962a4cdc66ca8daa53566eb285a7a6fcf76a - 0.0% (116 Bytes)
[#005] sha256:0ddd6192b43157d933f742fe64b56eb064c1ed348d1767384421aae567489773 - 28.93% (95.8 MB)
[#006] sha256:aa61fa1651fd2e2d2d80b9b23dacff1e1c59fe2614574d3b1d26d31ed022789d - 0.0% (9.34 KB)
[#007] sha256:17bb18d074b2d873ac63e4af3c2a62be3d92a397bab13bdca40fc5eb93147387 - 0.0% (128 Bytes)
[#008] sha256:3cbc85aec8598eeadeb6084a6a9090b951b8333e59f6051820e6874904f98d65 - 0.0% (169 Bytes)
[#009] sha256:10ee80a37bcd16cb359512bb051d3a26a4cbdde193ac4d6583c2411e6869aaed - 0.0% (5.94 KB)
[#010] sha256:4d07fdc279701c0ba393e06078f6eaba7f0a54caa757209b19c748ff050f0755 - 0.0% (186 Bytes)
[#011] sha256:c53ba6706c055e047a341d78faf7d7141ce932fab6397ab85f24ebb4d66517e5 - 0.71% (2.35 MB)
[#012] sha256:a19c068030b3c94b541d8f5c5b215b6f5b52820a702b659f4814ec6715e49084 - 1.57% (5.2 MB)
[#013] sha256:d320e3706b4f3690a1ce39c1c536ebdd4c41394eb3a4c0460f60f151ddec98a9 - 0.0% (2.08 KB)
[#014] sha256:66c1f12d19b214c263bcab9da2282951c44f692eeb6fbea12c3b7dc92953f943 - 2.23% (7.4 MB)
[#015] sha256:966b5ceb13552b4afa555963c9c427cb855c52e8fcb42e779fd082fb5d16d739 - 44.84% (149 MB)
[#016] sha256:8db463d521ce4cd5631a46f37e1abc17586c6f63687a63ef4eccf2ddf1638213 - 17.97% (59.6 MB)
[#017] sha256:ca8eaa33ecfc905e07bfe3414862e3eb7f64dd2caa6a651dfe97c899b5b75012 - 2.35% (7.77 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)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
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=16
2025-10-15 18:23:03 UTC (buildkit.dockerfile.v0)ENV PG_VERSION=16.10
2025-10-15 18:23:03 UTC (buildkit.dockerfile.v0)ENV PG_SHA256=de8485f4ce9c32e3ddfeef0b7c261eed1cecb54c9bcd170e437ff454cb292b42
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 ; 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-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
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/data
2025-10-15 18:23:03 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c install --verbose --directory --owner postgres --group postgres --mode 1777 "$PGDATA" # buildkit
2025-10-15 18:23:03 UTC (buildkit.dockerfile.v0)VOLUME [/var/lib/postgresql/data]
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-10-29 10:01:44 UTC (buildkit.dockerfile.v0)ARG OSS_ONLY
2025-10-29 10:01:44 UTC (buildkit.dockerfile.v0)LABEL maintainer=Timescale https://www.timescale.com
2025-10-29 10:01:44 UTC (buildkit.dockerfile.v0)ARG PG_VERSION=16
2025-10-29 10:01:44 UTC (buildkit.dockerfile.v0)ARG PG_MAJOR_VERSION=16
2025-10-29 10:01:44 UTC (buildkit.dockerfile.v0)ARG ALPINE_VERSION=3.21
2025-10-29 10:01:44 UTC (buildkit.dockerfile.v0)RUN |4 OSS_ONLY= PG_VERSION=16 PG_MAJOR_VERSION=16 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-10-29 10:01:44 UTC (buildkit.dockerfile.v0)ARG PGVECTOR_VERSION=v0.7.2
2025-10-29 10:01:44 UTC (buildkit.dockerfile.v0)ARG PG_VERSION=16
2025-10-29 10:01:44 UTC (buildkit.dockerfile.v0)ARG CLANG_VERSION=19
2025-10-29 10:01:44 UTC (buildkit.dockerfile.v0)ARG PG_MAJOR_VERSION=16
2025-10-29 10:12:46 UTC (buildkit.dockerfile.v0)RUN |6 OSS_ONLY= PG_VERSION=16 PG_MAJOR_VERSION=16 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-10-29 10:12:46 UTC (buildkit.dockerfile.v0)COPY docker-entrypoint-initdb.d/* /docker-entrypoint-initdb.d/ # buildkit
2025-10-29 10:19:10 UTC (buildkit.dockerfile.v0)COPY /go/bin/* /usr/local/bin/ # buildkit
2025-10-29 10:19:11 UTC (buildkit.dockerfile.v0)COPY /usr/local/lib/postgresql/timescaledb-*.so /usr/local/lib/postgresql/ # buildkit
2025-10-29 10:19:12 UTC (buildkit.dockerfile.v0)COPY /usr/local/share/postgresql/extension/timescaledb--*.sql /usr/local/share/postgresql/extension/ # buildkit
2025-10-29 10:19:12 UTC (buildkit.dockerfile.v0)ARG TS_VERSION=2.23.0
2025-10-29 10:43:01 UTC (buildkit.dockerfile.v0)RUN |7 OSS_ONLY= PG_VERSION=16 PG_MAJOR_VERSION=16 ALPINE_VERSION=3.21 PGVECTOR_VERSION=v0.7.2 CLANG_VERSION=19 TS_VERSION=2.23.0 /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.