2025-08-12 05:41:54 UTC
338 MB
llvm19-dev clang19
GOSU_VERSION1.17
LANGen_US.utf8
PATH/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
PGDATA/var/lib/postgresql/data
PG_MAJOR16
PG_SHA25607c00fb824df0a0c295f249f44691b86e3266753b380c96f633c3311e10bd005
PG_VERSION16.9
[#000] sha256:47ad0adcb4aa253584437783c542bfbd2276c07a7a0b7487bb26f9b2e80cba73 - 0.98% (3.3 MB)
[#001] sha256:1bba3f0a8ea63467d5f6c2474d7b38f27f660efbfac377076a32fbc8614ccaab - 0.0% (972 Bytes)
[#002] sha256:029735f9f16a9daf1b88262bc35c9634b8c09ab8c4dd2914f4f89c07919aaa44 - 0.31% (1.04 MB)
[#003] sha256:6cfd4b52877a142829c6fc4ecae20fb72102c5589b439dec962fcec04befcf40 - 0.0% (171 Bytes)
[#004] sha256:9701145fc5b2e0b261913c8fc439506faf094c0317d8ed805a74c35c77e650f2 - 0.0% (116 Bytes)
[#005] sha256:33de13596f87783859de5aab41bba6e408bfe8eb0238959604c88ea3e318569d - 31.37% (106 MB)
[#006] sha256:3e25cd9d9aa9aa950628f0e8d21dc8b4398c1d467b968a4965e048539695b26e - 0.0% (9.34 KB)
[#007] sha256:de575a78ec306358f3ac4161a7356ee2c32284f9b06142e7ffc8512d6e294a42 - 0.0% (128 Bytes)
[#008] sha256:e19cfdeb24cecac93d86bb321ade78de5d482643cc96a74ac4dbce7bd2972884 - 0.0% (168 Bytes)
[#009] sha256:5b42c715e3f41a5d78ebef8ba23e0da215f12cd2a13a30ca851b45371ee226f1 - 0.0% (5.79 KB)
[#010] sha256:12221c3063e0567f4b801e85c775ddaa70beb32f8328effca4bf32af3d21e2c8 - 0.0% (186 Bytes)
[#011] sha256:969f4e7825acee1dd6d82ed6a55c9182c3fb0acf5f4a4eedc74c6df7bd60fea8 - 6.96% (23.6 MB)
[#012] sha256:292eccd9b3155b8e8182690482ebe6a9a8d330b82d92f8a99806263d65956fd7 - 1.51% (5.1 MB)
[#013] sha256:f27b7b205ef1a34d12038f99bb86bde6657830fd4e39299903d823a7084bc8c7 - 0.0% (2.08 KB)
[#014] sha256:144532ec3cc663a8f67ca6b3a11d2790e0ec84bfb5f42a5d4164dd9a3189d8b2 - 2.23% (7.55 MB)
[#015] sha256:56b7d75cfc376073aead136aa0b2e5e95fe83da0d95e0d3cda647ad65fa9978d - 38.72% (131 MB)
[#016] sha256:8ec48d7ba3d5b49c22ece9bfe90a543329cfbab10714865cef33db6e8d257d99 - 15.69% (53.1 MB)
[#017] sha256:d7a746f753518128e0984268017b2b85727fb94ce38149387407f979a32c3db6 - 2.23% (7.54 MB)
ADD alpine-minirootfs-3.21.4-x86.tar.gz / # buildkit
2025-06-06 18:27:47 UTC (buildkit.dockerfile.v0)CMD ["/bin/sh"]
2025-06-06 18:27:47 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-06-06 18:27:47 UTC (buildkit.dockerfile.v0)ENV GOSU_VERSION=1.17
2025-06-06 18:27:47 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-06-06 18:27:47 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-06-06 18:27:47 UTC (buildkit.dockerfile.v0)ENV LANG=en_US.utf8
2025-06-06 18:27:47 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c mkdir /docker-entrypoint-initdb.d # buildkit
2025-06-06 18:27:47 UTC (buildkit.dockerfile.v0)ENV PG_MAJOR=16
2025-06-06 18:27:47 UTC (buildkit.dockerfile.v0)ENV PG_VERSION=16.9
2025-06-06 18:27:47 UTC (buildkit.dockerfile.v0)ENV PG_SHA256=07c00fb824df0a0c295f249f44691b86e3266753b380c96f633c3311e10bd005
2025-06-06 18:27:47 UTC (buildkit.dockerfile.v0)ENV DOCKER_PG_LLVM_DEPS=llvm19-dev clang19
2025-06-06 18:27:47 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-ldap --with-tcl --with-perl --with-python --with-openssl --with-libxml --with-libxslt --with-icu --with-llvm --with-lz4 --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-06-06 18:27:47 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-06-06 18:27:47 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c install --verbose --directory --owner postgres --group postgres --mode 3777 /var/run/postgresql # buildkit
2025-06-06 18:27:47 UTC (buildkit.dockerfile.v0)ENV PGDATA=/var/lib/postgresql/data
2025-06-06 18:27:47 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c install --verbose --directory --owner postgres --group postgres --mode 1777 "$PGDATA" # buildkit
2025-06-06 18:27:47 UTC (buildkit.dockerfile.v0)VOLUME [/var/lib/postgresql/data]
2025-06-06 18:27:47 UTC (buildkit.dockerfile.v0)COPY docker-entrypoint.sh docker-ensure-initdb.sh /usr/local/bin/ # buildkit
2025-06-06 18:27:47 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c ln -sT docker-ensure-initdb.sh /usr/local/bin/docker-enforce-initdb.sh # buildkit
2025-06-06 18:27:47 UTC (buildkit.dockerfile.v0)ENTRYPOINT ["docker-entrypoint.sh"]
2025-06-06 18:27:47 UTC (buildkit.dockerfile.v0)STOPSIGNAL SIGINT
2025-06-06 18:27:47 UTC (buildkit.dockerfile.v0)EXPOSE map[5432/tcp:{}]
2025-06-06 18:27:47 UTC (buildkit.dockerfile.v0)CMD ["postgres"]
2025-08-12 05:34:07 UTC (buildkit.dockerfile.v0)ARG OSS_ONLY
2025-08-12 05:34:07 UTC (buildkit.dockerfile.v0)LABEL maintainer=Timescale https://www.timescale.com
2025-08-12 05:34:07 UTC (buildkit.dockerfile.v0)ARG PG_VERSION=16
2025-08-12 05:34:07 UTC (buildkit.dockerfile.v0)ARG PG_MAJOR_VERSION=16
2025-08-12 05:34:07 UTC (buildkit.dockerfile.v0)ARG ALPINE_VERSION=3.21
2025-08-12 05:34:07 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 ] ; then apk add --no-cache postgresql${PG_VERSION}-plpython3; fi # buildkit
2025-08-12 05:34:07 UTC (buildkit.dockerfile.v0)ARG PGVECTOR_VERSION=v0.7.2
2025-08-12 05:34:07 UTC (buildkit.dockerfile.v0)ARG PG_VERSION=16
2025-08-12 05:34:07 UTC (buildkit.dockerfile.v0)ARG CLANG_VERSION=19
2025-08-12 05:34:07 UTC (buildkit.dockerfile.v0)ARG PG_MAJOR_VERSION=16
2025-08-12 05:35:30 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; apk update; apk add --no-cache --virtual .vector-deps postgresql${PG_VERSION}-dev git build-base clang${CLANG_VERSION} llvm${CLANG_VERSION}-dev llvm${CLANG_VERSION}; git clone --branch ${PGVECTOR_VERSION} https://github.com/pgvector/pgvector.git /build/pgvector; cd /build/pgvector; make OPTFLAGS=""; make install; apk del .vector-deps; # buildkit
2025-08-12 05:35:30 UTC (buildkit.dockerfile.v0)COPY docker-entrypoint-initdb.d/* /docker-entrypoint-initdb.d/ # buildkit
2025-08-12 05:36:06 UTC (buildkit.dockerfile.v0)COPY /go/bin/* /usr/local/bin/ # buildkit
2025-08-12 05:36:07 UTC (buildkit.dockerfile.v0)COPY /usr/local/lib/postgresql/timescaledb-*.so /usr/local/lib/postgresql/ # buildkit
2025-08-12 05:36:09 UTC (buildkit.dockerfile.v0)COPY /usr/local/share/postgresql/extension/timescaledb--*.sql /usr/local/share/postgresql/extension/ # buildkit
2025-08-12 05:36:09 UTC (buildkit.dockerfile.v0)ARG TS_VERSION=2.21.3
2025-08-12 05:41:54 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.21.3 /bin/sh -c set -ex && apk add --no-cache --virtual .fetch-deps ca-certificates git openssl openssl-dev tar && mkdir -p /build/ && git clone https://github.com/timescale/timescaledb /build/timescaledb && apk add --no-cache --virtual .build-deps coreutils dpkg-dev dpkg 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-08-12 05:40:54 UTC
338 MB
llvm19-dev clang19
GOSU_VERSION1.17
LANGen_US.utf8
PATH/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
PGDATA/var/lib/postgresql/data
PG_MAJOR16
PG_SHA25607c00fb824df0a0c295f249f44691b86e3266753b380c96f633c3311e10bd005
PG_VERSION16.9
[#000] sha256:0368fd46e3c6d237d81390ff086f93aee216df5cfa814041a491453fb0932a12 - 1.03% (3.47 MB)
[#001] sha256:b4deedf114c0c050475a6032a9cd2d209ef070126154d12caeed6aa317ff2793 - 0.0% (971 Bytes)
[#002] sha256:060c7bb68a30d73bf9eb9ec93ec02ee93858eb5d6138ad23619f9140a928af48 - 0.31% (1.06 MB)
[#003] sha256:c5ea19c7b4452c814e3d10bffe1cca267af899d163416a7fef73fd8aac7ac26f - 0.0% (170 Bytes)
[#004] sha256:2812886fda62aa89d774bd722da11874f8ee1287256be56b38f73cd84edd1e08 - 0.0% (116 Bytes)
[#005] sha256:de779c25a993c79fec77a3efdf05b2bfb4125903c68ce63cee78005b2de48159 - 29.57% (100 MB)
[#006] sha256:42d84aba1ec1c4adaf83151eab203de960f465adcce531d3c6957957abfaef31 - 0.0% (9.33 KB)
[#007] sha256:71f1cce2511eae88147406a0a628824f546bb8cb0f697875b55eb19e9c5c0d53 - 0.0% (129 Bytes)
[#008] sha256:27483c3af95ba09ad50ea915b5cf78694442eec13238a6911e55e67a35c6a5b0 - 0.0% (168 Bytes)
[#009] sha256:badfcb19409e593349ccd8353fed75f50915a06b649889a305cab2d7b571d8ab - 0.0% (5.79 KB)
[#010] sha256:58881d9574e53625d87b07188b21b66d8b76b6cb12ad81824dac464409caeea8 - 0.0% (186 Bytes)
[#011] sha256:c5e1d1dda6c74c079facd818fbdb2ccff4c610843528e086447e143cc9514122 - 6.72% (22.7 MB)
[#012] sha256:76b28d46b31ccfe220df5b1272bcfc2dc998d5fe5c17d1f3465c2ec1c15e7231 - 1.56% (5.27 MB)
[#013] sha256:1709a6e7a8a28c075af4216a8c4676fb44ebeaac44b64b99f0ba6ce6cbb7a4a8 - 0.0% (2.08 KB)
[#014] sha256:ada350e6ac20a39205f9bab1835e06275bb4d38e5ac20b7aa61d8a2afad5d930 - 2.32% (7.85 MB)
[#015] sha256:f48d4ba89616e0fbf943fbf3bdfdddaba990efabd549ae494bae41a9612b9623 - 40.49% (137 MB)
[#016] sha256:d3020c01dbdcc56e6d0ab1c157946335d696489f65f861f55dfb7a7e3fa4e214 - 15.68% (53.1 MB)
[#017] sha256:de7fd620f236e75210286bf998a5256fdf02e19f63912797f3ccd03a361ffdfc - 2.31% (7.83 MB)
ADD alpine-minirootfs-3.21.4-x86_64.tar.gz / # buildkit
2025-06-06 18:27:47 UTC (buildkit.dockerfile.v0)CMD ["/bin/sh"]
2025-06-06 18:27:47 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-06-06 18:27:47 UTC (buildkit.dockerfile.v0)ENV GOSU_VERSION=1.17
2025-06-06 18:27:47 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-06-06 18:27:47 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-06-06 18:27:47 UTC (buildkit.dockerfile.v0)ENV LANG=en_US.utf8
2025-06-06 18:27:47 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c mkdir /docker-entrypoint-initdb.d # buildkit
2025-06-06 18:27:47 UTC (buildkit.dockerfile.v0)ENV PG_MAJOR=16
2025-06-06 18:27:47 UTC (buildkit.dockerfile.v0)ENV PG_VERSION=16.9
2025-06-06 18:27:47 UTC (buildkit.dockerfile.v0)ENV PG_SHA256=07c00fb824df0a0c295f249f44691b86e3266753b380c96f633c3311e10bd005
2025-06-06 18:27:47 UTC (buildkit.dockerfile.v0)ENV DOCKER_PG_LLVM_DEPS=llvm19-dev clang19
2025-06-06 18:27:47 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-ldap --with-tcl --with-perl --with-python --with-openssl --with-libxml --with-libxslt --with-icu --with-llvm --with-lz4 --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-06-06 18:27:47 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-06-06 18:27:47 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c install --verbose --directory --owner postgres --group postgres --mode 3777 /var/run/postgresql # buildkit
2025-06-06 18:27:47 UTC (buildkit.dockerfile.v0)ENV PGDATA=/var/lib/postgresql/data
2025-06-06 18:27:47 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c install --verbose --directory --owner postgres --group postgres --mode 1777 "$PGDATA" # buildkit
2025-06-06 18:27:47 UTC (buildkit.dockerfile.v0)VOLUME [/var/lib/postgresql/data]
2025-06-06 18:27:47 UTC (buildkit.dockerfile.v0)COPY docker-entrypoint.sh docker-ensure-initdb.sh /usr/local/bin/ # buildkit
2025-06-06 18:27:47 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c ln -sT docker-ensure-initdb.sh /usr/local/bin/docker-enforce-initdb.sh # buildkit
2025-06-06 18:27:47 UTC (buildkit.dockerfile.v0)ENTRYPOINT ["docker-entrypoint.sh"]
2025-06-06 18:27:47 UTC (buildkit.dockerfile.v0)STOPSIGNAL SIGINT
2025-06-06 18:27:47 UTC (buildkit.dockerfile.v0)EXPOSE map[5432/tcp:{}]
2025-06-06 18:27:47 UTC (buildkit.dockerfile.v0)CMD ["postgres"]
2025-08-12 05:33:49 UTC (buildkit.dockerfile.v0)ARG OSS_ONLY
2025-08-12 05:33:49 UTC (buildkit.dockerfile.v0)LABEL maintainer=Timescale https://www.timescale.com
2025-08-12 05:33:49 UTC (buildkit.dockerfile.v0)ARG PG_VERSION=16
2025-08-12 05:33:49 UTC (buildkit.dockerfile.v0)ARG PG_MAJOR_VERSION=16
2025-08-12 05:33:49 UTC (buildkit.dockerfile.v0)ARG ALPINE_VERSION=3.21
2025-08-12 05:33:49 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 ] ; then apk add --no-cache postgresql${PG_VERSION}-plpython3; fi # buildkit
2025-08-12 05:33:49 UTC (buildkit.dockerfile.v0)ARG PGVECTOR_VERSION=v0.7.2
2025-08-12 05:33:49 UTC (buildkit.dockerfile.v0)ARG PG_VERSION=16
2025-08-12 05:33:49 UTC (buildkit.dockerfile.v0)ARG CLANG_VERSION=19
2025-08-12 05:33:49 UTC (buildkit.dockerfile.v0)ARG PG_MAJOR_VERSION=16
2025-08-12 05:35:23 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; apk update; apk add --no-cache --virtual .vector-deps postgresql${PG_VERSION}-dev git build-base clang${CLANG_VERSION} llvm${CLANG_VERSION}-dev llvm${CLANG_VERSION}; git clone --branch ${PGVECTOR_VERSION} https://github.com/pgvector/pgvector.git /build/pgvector; cd /build/pgvector; make OPTFLAGS=""; make install; apk del .vector-deps; # buildkit
2025-08-12 05:35:23 UTC (buildkit.dockerfile.v0)COPY docker-entrypoint-initdb.d/* /docker-entrypoint-initdb.d/ # buildkit
2025-08-12 05:35:37 UTC (buildkit.dockerfile.v0)COPY /go/bin/* /usr/local/bin/ # buildkit
2025-08-12 05:35:37 UTC (buildkit.dockerfile.v0)COPY /usr/local/lib/postgresql/timescaledb-*.so /usr/local/lib/postgresql/ # buildkit
2025-08-12 05:35:39 UTC (buildkit.dockerfile.v0)COPY /usr/local/share/postgresql/extension/timescaledb--*.sql /usr/local/share/postgresql/extension/ # buildkit
2025-08-12 05:35:39 UTC (buildkit.dockerfile.v0)ARG TS_VERSION=2.21.3
2025-08-12 05:40:54 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.21.3 /bin/sh -c set -ex && apk add --no-cache --virtual .fetch-deps ca-certificates git openssl openssl-dev tar && mkdir -p /build/ && git clone https://github.com/timescale/timescaledb /build/timescaledb && apk add --no-cache --virtual .build-deps coreutils dpkg-dev dpkg 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-08-12 06:12:51 UTC
313 MB
llvm19-dev clang19
GOSU_VERSION1.17
LANGen_US.utf8
PATH/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
PGDATA/var/lib/postgresql/data
PG_MAJOR16
PG_SHA25607c00fb824df0a0c295f249f44691b86e3266753b380c96f633c3311e10bd005
PG_VERSION16.9
[#000] sha256:ca0c331561564c536ffa9246944bb50ac21d3fb11fe66c38baad97fdd1f05719 - 1.03% (3.21 MB)
[#001] sha256:98c24d3e045a6ae3a2737e134a0660bb67966f1c4c59f473117ca5bfb7f462df - 0.0% (969 Bytes)
[#002] sha256:b85a4c1614afc683eca7c5ab777456f2ae53dd7e1347e7e75764a6a74abf3b8b - 0.33% (1.03 MB)
[#003] sha256:fb0535ca87f130f01bd91aa140a599a3b6ee5d8f43b88e249c7c036a020c97a1 - 0.0% (174 Bytes)
[#004] sha256:a590464760964dee563efddc9e8fba7d79df0dc36493bcf3cf136c63fbf94eca - 0.0% (114 Bytes)
[#005] sha256:f6842a3a5906a9a087be580c63bf2b4d6bbd41abbeaa6ae4c343257b0ced116f - 25.84% (80.8 MB)
[#006] sha256:06834087c02f02c62ec70e7940dfc86538268e09e75d43666694854f07ea1532 - 0.0% (9.34 KB)
[#007] sha256:23e8509a082fa87bb6f39d96f9604e90947e4df943c4adc343df457ce2ff8b9d - 0.0% (128 Bytes)
[#008] sha256:0e88dacc0e75c7b00f5fc10e4db477e79d49641c89329aaa2d73352f75abe819 - 0.0% (169 Bytes)
[#009] sha256:cefb5708d5593076453e6cbb3638fa54d9ca99d7943dc2d393b82ebb463c7c0d - 0.0% (5.79 KB)
[#010] sha256:d3366051c1ef45b8d1a88530f73656fd18817ce767d370ad0b7a353af0e7fbd9 - 0.0% (186 Bytes)
[#011] sha256:d56bc8438a22b25e045e25a2b0abd6ea9fbc487fef5514098538948bfe3521a0 - 6.98% (21.8 MB)
[#012] sha256:f4f8ed7f017efee116e18b86c867cd640ba2b8b44290bbbd1d120a89d1c71e66 - 1.54% (4.83 MB)
[#013] sha256:9e5ada2f33903448448ebad236094442006f12eabb09fef873c75258c5eb0ea8 - 0.0% (2.08 KB)
[#014] sha256:c6b4785e997acb9fecec8c1bbab1abd31e91626c0607ece211f799a427e762eb - 2.33% (7.3 MB)
[#015] sha256:bd90f73413bff4ad491a55af812e2a2459909b403196aecd5546ec9547cd3d24 - 42.54% (133 MB)
[#016] sha256:e02ab83a3fdbfe9b1ed3e0d7a3886b49f9050fa7e1b8c0bd1f69f64434606e4e - 16.96% (53.1 MB)
[#017] sha256:5879dd7fb86909b411c71957c55c3b2b07336a114e595a584897b9be7a34b5b2 - 2.44% (7.63 MB)
ADD alpine-minirootfs-3.21.4-armhf.tar.gz / # buildkit
2025-06-06 18:27:47 UTC (buildkit.dockerfile.v0)CMD ["/bin/sh"]
2025-06-06 18:27:47 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-06-06 18:27:47 UTC (buildkit.dockerfile.v0)ENV GOSU_VERSION=1.17
2025-06-06 18:27:47 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-06-06 18:27:47 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-06-06 18:27:47 UTC (buildkit.dockerfile.v0)ENV LANG=en_US.utf8
2025-06-06 18:27:47 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c mkdir /docker-entrypoint-initdb.d # buildkit
2025-06-06 18:27:47 UTC (buildkit.dockerfile.v0)ENV PG_MAJOR=16
2025-06-06 18:27:47 UTC (buildkit.dockerfile.v0)ENV PG_VERSION=16.9
2025-06-06 18:27:47 UTC (buildkit.dockerfile.v0)ENV PG_SHA256=07c00fb824df0a0c295f249f44691b86e3266753b380c96f633c3311e10bd005
2025-06-06 18:27:47 UTC (buildkit.dockerfile.v0)ENV DOCKER_PG_LLVM_DEPS=llvm19-dev clang19
2025-06-06 18:27:47 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-ldap --with-tcl --with-perl --with-python --with-openssl --with-libxml --with-libxslt --with-icu --with-llvm --with-lz4 --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-06-06 18:27:47 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-06-06 18:27:47 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c install --verbose --directory --owner postgres --group postgres --mode 3777 /var/run/postgresql # buildkit
2025-06-06 18:27:47 UTC (buildkit.dockerfile.v0)ENV PGDATA=/var/lib/postgresql/data
2025-06-06 18:27:47 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c install --verbose --directory --owner postgres --group postgres --mode 1777 "$PGDATA" # buildkit
2025-06-06 18:27:47 UTC (buildkit.dockerfile.v0)VOLUME [/var/lib/postgresql/data]
2025-06-06 18:27:47 UTC (buildkit.dockerfile.v0)COPY docker-entrypoint.sh docker-ensure-initdb.sh /usr/local/bin/ # buildkit
2025-06-06 18:27:47 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c ln -sT docker-ensure-initdb.sh /usr/local/bin/docker-enforce-initdb.sh # buildkit
2025-06-06 18:27:47 UTC (buildkit.dockerfile.v0)ENTRYPOINT ["docker-entrypoint.sh"]
2025-06-06 18:27:47 UTC (buildkit.dockerfile.v0)STOPSIGNAL SIGINT
2025-06-06 18:27:47 UTC (buildkit.dockerfile.v0)EXPOSE map[5432/tcp:{}]
2025-06-06 18:27:47 UTC (buildkit.dockerfile.v0)CMD ["postgres"]
2025-08-12 05:34:59 UTC (buildkit.dockerfile.v0)ARG OSS_ONLY
2025-08-12 05:34:59 UTC (buildkit.dockerfile.v0)LABEL maintainer=Timescale https://www.timescale.com
2025-08-12 05:34:59 UTC (buildkit.dockerfile.v0)ARG PG_VERSION=16
2025-08-12 05:34:59 UTC (buildkit.dockerfile.v0)ARG PG_MAJOR_VERSION=16
2025-08-12 05:34:59 UTC (buildkit.dockerfile.v0)ARG ALPINE_VERSION=3.21
2025-08-12 05:34:59 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 ] ; then apk add --no-cache postgresql${PG_VERSION}-plpython3; fi # buildkit
2025-08-12 05:34:59 UTC (buildkit.dockerfile.v0)ARG PGVECTOR_VERSION=v0.7.2
2025-08-12 05:34:59 UTC (buildkit.dockerfile.v0)ARG PG_VERSION=16
2025-08-12 05:34:59 UTC (buildkit.dockerfile.v0)ARG CLANG_VERSION=19
2025-08-12 05:34:59 UTC (buildkit.dockerfile.v0)ARG PG_MAJOR_VERSION=16
2025-08-12 05:45: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; apk update; apk add --no-cache --virtual .vector-deps postgresql${PG_VERSION}-dev git build-base clang${CLANG_VERSION} llvm${CLANG_VERSION}-dev llvm${CLANG_VERSION}; git clone --branch ${PGVECTOR_VERSION} https://github.com/pgvector/pgvector.git /build/pgvector; cd /build/pgvector; make OPTFLAGS=""; make install; apk del .vector-deps; # buildkit
2025-08-12 05:45:03 UTC (buildkit.dockerfile.v0)COPY docker-entrypoint-initdb.d/* /docker-entrypoint-initdb.d/ # buildkit
2025-08-12 05:50:46 UTC (buildkit.dockerfile.v0)COPY /go/bin/* /usr/local/bin/ # buildkit
2025-08-12 05:50:47 UTC (buildkit.dockerfile.v0)COPY /usr/local/lib/postgresql/timescaledb-*.so /usr/local/lib/postgresql/ # buildkit
2025-08-12 05:50:48 UTC (buildkit.dockerfile.v0)COPY /usr/local/share/postgresql/extension/timescaledb--*.sql /usr/local/share/postgresql/extension/ # buildkit
2025-08-12 05:50:48 UTC (buildkit.dockerfile.v0)ARG TS_VERSION=2.21.3
2025-08-12 06:12:51 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.21.3 /bin/sh -c set -ex && apk add --no-cache --virtual .fetch-deps ca-certificates git openssl openssl-dev tar && mkdir -p /build/ && git clone https://github.com/timescale/timescaledb /build/timescaledb && apk add --no-cache --virtual .build-deps coreutils dpkg-dev dpkg 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-08-12 06:13:59 UTC
307 MB
llvm19-dev clang19
GOSU_VERSION1.17
LANGen_US.utf8
PATH/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
PGDATA/var/lib/postgresql/data
PG_MAJOR16
PG_SHA25607c00fb824df0a0c295f249f44691b86e3266753b380c96f633c3311e10bd005
PG_VERSION16.9
[#000] sha256:a96f521d793eec1dcb2b825985eb01c309edb500ebd753a2f84cb9430f05802f - 0.96% (2.95 MB)
[#001] sha256:72f3486cf29d0276b4ac8fbb65b102ab22ae5618fb042837b80f87e637b02102 - 0.0% (966 Bytes)
[#002] sha256:e280f6d7d0584205565e6b71ba0d85887f9a443bdeb5686d452b8c7e204d5be4 - 0.34% (1.03 MB)
[#003] sha256:78fb28f5b006def17f8ecd81a69d69c91ae8956810d98732d5b50a1dd609916d - 0.0% (174 Bytes)
[#004] sha256:1b2a6075ee206ff91d1b258f59ee3dec1834d46f4da114bf543a980c7d57e1c8 - 0.0% (116 Bytes)
[#005] sha256:cc3cba150afa2c66f72459012804ba8a213661cc79ec485cf2a3279dc9a1a3c6 - 24.95% (76.5 MB)
[#006] sha256:1411002560fb580a7af1f1f26a7b9e664223a8f1d6d00780c17f2b69f95c6584 - 0.0% (9.34 KB)
[#007] sha256:b426373d3eea7136b26e394610ddb884474b48d829720638814f862915693d32 - 0.0% (128 Bytes)
[#008] sha256:948b55161137e2e2a860a08ff69eafc7b25b7e71cf035548793f33a131958426 - 0.0% (167 Bytes)
[#009] sha256:b17decb11d73c9e53c9379c4c17cb165bde3866eaf04f263700dbd862f7cddc0 - 0.0% (5.79 KB)
[#010] sha256:dc566a84e659f59d62a26409b1956e2ca81f00337866f86c6f4a98350fd5181f - 0.0% (184 Bytes)
[#011] sha256:3bcc65264d439849ff7348cac1149f81c7b840240a06352a8da10cb5b03aedf4 - 6.91% (21.2 MB)
[#012] sha256:a4371a9c6bc360aa4d2ced9b241a85cd90d0eebb9bf3b25a870dcfa1d372bd27 - 1.63% (5 MB)
[#013] sha256:60b7d8176c0b432f54a0468936ecb8898a5550d9ce809f63bd71b48569e65a26 - 0.0% (2.08 KB)
[#014] sha256:af6426c711cde25662c63164b48598470901644f95f7b2a0dc2aa2664a759b66 - 2.38% (7.29 MB)
[#015] sha256:bf97ae2f74fe6264132ba42fb2d204f8e783e1bd85fa22d00e4cac02d3827ea7 - 43.06% (132 MB)
[#016] sha256:5e3670b8cfcd155d5dc087c221b1de7440a4ec4a8546c43d897b33ec784b8169 - 17.3% (53.1 MB)
[#017] sha256:ddabbc64055a95cb194f7fbf1af3667201cb43736431f07b82febd086f2908c7 - 2.47% (7.58 MB)
ADD alpine-minirootfs-3.21.4-armv7.tar.gz / # buildkit
2025-06-06 18:27:47 UTC (buildkit.dockerfile.v0)CMD ["/bin/sh"]
2025-06-06 18:27:47 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-06-06 18:27:47 UTC (buildkit.dockerfile.v0)ENV GOSU_VERSION=1.17
2025-06-06 18:27:47 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-06-06 18:27:47 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-06-06 18:27:47 UTC (buildkit.dockerfile.v0)ENV LANG=en_US.utf8
2025-06-06 18:27:47 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c mkdir /docker-entrypoint-initdb.d # buildkit
2025-06-06 18:27:47 UTC (buildkit.dockerfile.v0)ENV PG_MAJOR=16
2025-06-06 18:27:47 UTC (buildkit.dockerfile.v0)ENV PG_VERSION=16.9
2025-06-06 18:27:47 UTC (buildkit.dockerfile.v0)ENV PG_SHA256=07c00fb824df0a0c295f249f44691b86e3266753b380c96f633c3311e10bd005
2025-06-06 18:27:47 UTC (buildkit.dockerfile.v0)ENV DOCKER_PG_LLVM_DEPS=llvm19-dev clang19
2025-06-06 18:27:47 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-ldap --with-tcl --with-perl --with-python --with-openssl --with-libxml --with-libxslt --with-icu --with-llvm --with-lz4 --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-06-06 18:27:47 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-06-06 18:27:47 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c install --verbose --directory --owner postgres --group postgres --mode 3777 /var/run/postgresql # buildkit
2025-06-06 18:27:47 UTC (buildkit.dockerfile.v0)ENV PGDATA=/var/lib/postgresql/data
2025-06-06 18:27:47 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c install --verbose --directory --owner postgres --group postgres --mode 1777 "$PGDATA" # buildkit
2025-06-06 18:27:47 UTC (buildkit.dockerfile.v0)VOLUME [/var/lib/postgresql/data]
2025-06-06 18:27:47 UTC (buildkit.dockerfile.v0)COPY docker-entrypoint.sh docker-ensure-initdb.sh /usr/local/bin/ # buildkit
2025-06-06 18:27:47 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c ln -sT docker-ensure-initdb.sh /usr/local/bin/docker-enforce-initdb.sh # buildkit
2025-06-06 18:27:47 UTC (buildkit.dockerfile.v0)ENTRYPOINT ["docker-entrypoint.sh"]
2025-06-06 18:27:47 UTC (buildkit.dockerfile.v0)STOPSIGNAL SIGINT
2025-06-06 18:27:47 UTC (buildkit.dockerfile.v0)EXPOSE map[5432/tcp:{}]
2025-06-06 18:27:47 UTC (buildkit.dockerfile.v0)CMD ["postgres"]
2025-08-12 05:35:12 UTC (buildkit.dockerfile.v0)ARG OSS_ONLY
2025-08-12 05:35:12 UTC (buildkit.dockerfile.v0)LABEL maintainer=Timescale https://www.timescale.com
2025-08-12 05:35:12 UTC (buildkit.dockerfile.v0)ARG PG_VERSION=16
2025-08-12 05:35:12 UTC (buildkit.dockerfile.v0)ARG PG_MAJOR_VERSION=16
2025-08-12 05:35:12 UTC (buildkit.dockerfile.v0)ARG ALPINE_VERSION=3.21
2025-08-12 05:35:12 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 ] ; then apk add --no-cache postgresql${PG_VERSION}-plpython3; fi # buildkit
2025-08-12 05:35:12 UTC (buildkit.dockerfile.v0)ARG PGVECTOR_VERSION=v0.7.2
2025-08-12 05:35:12 UTC (buildkit.dockerfile.v0)ARG PG_VERSION=16
2025-08-12 05:35:12 UTC (buildkit.dockerfile.v0)ARG CLANG_VERSION=19
2025-08-12 05:35:12 UTC (buildkit.dockerfile.v0)ARG PG_MAJOR_VERSION=16
2025-08-12 05:45:00 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; apk update; apk add --no-cache --virtual .vector-deps postgresql${PG_VERSION}-dev git build-base clang${CLANG_VERSION} llvm${CLANG_VERSION}-dev llvm${CLANG_VERSION}; git clone --branch ${PGVECTOR_VERSION} https://github.com/pgvector/pgvector.git /build/pgvector; cd /build/pgvector; make OPTFLAGS=""; make install; apk del .vector-deps; # buildkit
2025-08-12 05:45:00 UTC (buildkit.dockerfile.v0)COPY docker-entrypoint-initdb.d/* /docker-entrypoint-initdb.d/ # buildkit
2025-08-12 05:50:48 UTC (buildkit.dockerfile.v0)COPY /go/bin/* /usr/local/bin/ # buildkit
2025-08-12 05:50:49 UTC (buildkit.dockerfile.v0)COPY /usr/local/lib/postgresql/timescaledb-*.so /usr/local/lib/postgresql/ # buildkit
2025-08-12 05:50:50 UTC (buildkit.dockerfile.v0)COPY /usr/local/share/postgresql/extension/timescaledb--*.sql /usr/local/share/postgresql/extension/ # buildkit
2025-08-12 05:50:50 UTC (buildkit.dockerfile.v0)ARG TS_VERSION=2.21.3
2025-08-12 06:13:59 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.21.3 /bin/sh -c set -ex && apk add --no-cache --virtual .fetch-deps ca-certificates git openssl openssl-dev tar && mkdir -p /build/ && git clone https://github.com/timescale/timescaledb /build/timescaledb && apk add --no-cache --virtual .build-deps coreutils dpkg-dev dpkg 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-08-12 06:14:10 UTC
329 MB
llvm19-dev clang19
GOSU_VERSION1.17
LANGen_US.utf8
PATH/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
PGDATA/var/lib/postgresql/data
PG_MAJOR16
PG_SHA25607c00fb824df0a0c295f249f44691b86e3266753b380c96f633c3311e10bd005
PG_VERSION16.9
[#000] sha256:d06c6b665c9b4c183a2e300b290a6b4b7db03f803122fe93d91e9178f425e488 - 1.15% (3.8 MB)
[#001] sha256:8e83a04663f13f5baa82135ff9e60f9db62556460d35926ae5e559dcd004be87 - 0.0% (970 Bytes)
[#002] sha256:9a219a9326a248ea39ab113c79425302bb8b917a59f93520480153f052e8298d - 0.3% (1020 KB)
[#003] sha256:b7ec242821a117c6945c43e69f90e6317e532e86129577d779b0c6ded7842c44 - 0.0% (175 Bytes)
[#004] sha256:b14081171e98c3abddbb6997502df972d15d3c4f8240408828ff17e587e548f5 - 0.0% (116 Bytes)
[#005] sha256:87f840e2ac8f23b10ed9143cef2ccaf326a81ff057a4e2941baa63f15ac80827 - 29.09% (95.8 MB)
[#006] sha256:b6a347e21b18da0c15c99043cfed32dc4b090a77ff3cc5da8f98570e1d832b00 - 0.0% (9.34 KB)
[#007] sha256:6429ff4cc37ca5f33154c604c3a2f1f4d17351c6bf563c7dd1aca8850e663c9b - 0.0% (127 Bytes)
[#008] sha256:66395cb4f809cb3a0c4e0527578f889800c1bb92c2454bd443800f608cc80855 - 0.0% (168 Bytes)
[#009] sha256:456b45e09ded97f03eddc050a373c20f945070feb5de2650d53b8eff4db4dda1 - 0.0% (5.79 KB)
[#010] sha256:969af8138f368c06ee35d940126f84665c60d813aad146358ae8eade68d7b13d - 0.0% (181 Bytes)
[#011] sha256:2f8f51f9851f69626139dde25dbf9c8b54607ffc7fca5db620a9e0acd5dcabdd - 6.85% (22.6 MB)
[#012] sha256:acbec89864b171acb62120f3238789462d59cab7dffcd73c8748680fc8f61365 - 1.58% (5.2 MB)
[#013] sha256:46b04ffd3a048bd41160e33b76298af204e1c905c11b1f1d06ee847e97186646 - 0.0% (2.08 KB)
[#014] sha256:4d53eff9cd4fce53fdac41639727b246d8e897494903fa8287c95903eadc2010 - 2.24% (7.4 MB)
[#015] sha256:05f279e980841f2814d6b3a500df3f4e9d796d114ca9c02f149be4e515a2cd31 - 40.36% (133 MB)
[#016] sha256:7d36ee84862e9ca71713853545507a015e2d3790b900b067f2fee16c136b5ba9 - 16.11% (53.1 MB)
[#017] sha256:2dc338955eae15733f2a2e2917522f40b16908b781a2de7f937c76cd0a3de234 - 2.31% (7.62 MB)
ADD alpine-minirootfs-3.21.4-aarch64.tar.gz / # buildkit
2025-06-06 18:27:47 UTC (buildkit.dockerfile.v0)CMD ["/bin/sh"]
2025-06-06 18:27:47 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-06-06 18:27:47 UTC (buildkit.dockerfile.v0)ENV GOSU_VERSION=1.17
2025-06-06 18:27:47 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-06-06 18:27:47 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-06-06 18:27:47 UTC (buildkit.dockerfile.v0)ENV LANG=en_US.utf8
2025-06-06 18:27:47 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c mkdir /docker-entrypoint-initdb.d # buildkit
2025-06-06 18:27:47 UTC (buildkit.dockerfile.v0)ENV PG_MAJOR=16
2025-06-06 18:27:47 UTC (buildkit.dockerfile.v0)ENV PG_VERSION=16.9
2025-06-06 18:27:47 UTC (buildkit.dockerfile.v0)ENV PG_SHA256=07c00fb824df0a0c295f249f44691b86e3266753b380c96f633c3311e10bd005
2025-06-06 18:27:47 UTC (buildkit.dockerfile.v0)ENV DOCKER_PG_LLVM_DEPS=llvm19-dev clang19
2025-06-06 18:27:47 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-ldap --with-tcl --with-perl --with-python --with-openssl --with-libxml --with-libxslt --with-icu --with-llvm --with-lz4 --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-06-06 18:27:47 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-06-06 18:27:47 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c install --verbose --directory --owner postgres --group postgres --mode 3777 /var/run/postgresql # buildkit
2025-06-06 18:27:47 UTC (buildkit.dockerfile.v0)ENV PGDATA=/var/lib/postgresql/data
2025-06-06 18:27:47 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c install --verbose --directory --owner postgres --group postgres --mode 1777 "$PGDATA" # buildkit
2025-06-06 18:27:47 UTC (buildkit.dockerfile.v0)VOLUME [/var/lib/postgresql/data]
2025-06-06 18:27:47 UTC (buildkit.dockerfile.v0)COPY docker-entrypoint.sh docker-ensure-initdb.sh /usr/local/bin/ # buildkit
2025-06-06 18:27:47 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c ln -sT docker-ensure-initdb.sh /usr/local/bin/docker-enforce-initdb.sh # buildkit
2025-06-06 18:27:47 UTC (buildkit.dockerfile.v0)ENTRYPOINT ["docker-entrypoint.sh"]
2025-06-06 18:27:47 UTC (buildkit.dockerfile.v0)STOPSIGNAL SIGINT
2025-06-06 18:27:47 UTC (buildkit.dockerfile.v0)EXPOSE map[5432/tcp:{}]
2025-06-06 18:27:47 UTC (buildkit.dockerfile.v0)CMD ["postgres"]
2025-08-12 05:35:12 UTC (buildkit.dockerfile.v0)ARG OSS_ONLY
2025-08-12 05:35:12 UTC (buildkit.dockerfile.v0)LABEL maintainer=Timescale https://www.timescale.com
2025-08-12 05:35:12 UTC (buildkit.dockerfile.v0)ARG PG_VERSION=16
2025-08-12 05:35:12 UTC (buildkit.dockerfile.v0)ARG PG_MAJOR_VERSION=16
2025-08-12 05:35:12 UTC (buildkit.dockerfile.v0)ARG ALPINE_VERSION=3.21
2025-08-12 05:35:12 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 ] ; then apk add --no-cache postgresql${PG_VERSION}-plpython3; fi # buildkit
2025-08-12 05:35:12 UTC (buildkit.dockerfile.v0)ARG PGVECTOR_VERSION=v0.7.2
2025-08-12 05:35:12 UTC (buildkit.dockerfile.v0)ARG PG_VERSION=16
2025-08-12 05:35:12 UTC (buildkit.dockerfile.v0)ARG CLANG_VERSION=19
2025-08-12 05:35:12 UTC (buildkit.dockerfile.v0)ARG PG_MAJOR_VERSION=16
2025-08-12 05:45:12 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; apk update; apk add --no-cache --virtual .vector-deps postgresql${PG_VERSION}-dev git build-base clang${CLANG_VERSION} llvm${CLANG_VERSION}-dev llvm${CLANG_VERSION}; git clone --branch ${PGVECTOR_VERSION} https://github.com/pgvector/pgvector.git /build/pgvector; cd /build/pgvector; make OPTFLAGS=""; make install; apk del .vector-deps; # buildkit
2025-08-12 05:45:12 UTC (buildkit.dockerfile.v0)COPY docker-entrypoint-initdb.d/* /docker-entrypoint-initdb.d/ # buildkit
2025-08-12 05:50:29 UTC (buildkit.dockerfile.v0)COPY /go/bin/* /usr/local/bin/ # buildkit
2025-08-12 05:50:30 UTC (buildkit.dockerfile.v0)COPY /usr/local/lib/postgresql/timescaledb-*.so /usr/local/lib/postgresql/ # buildkit
2025-08-12 05:50:31 UTC (buildkit.dockerfile.v0)COPY /usr/local/share/postgresql/extension/timescaledb--*.sql /usr/local/share/postgresql/extension/ # buildkit
2025-08-12 05:50:31 UTC (buildkit.dockerfile.v0)ARG TS_VERSION=2.21.3
2025-08-12 06:14:10 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.21.3 /bin/sh -c set -ex && apk add --no-cache --virtual .fetch-deps ca-certificates git openssl openssl-dev tar && mkdir -p /build/ && git clone https://github.com/timescale/timescaledb /build/timescaledb && apk add --no-cache --virtual .build-deps coreutils dpkg-dev dpkg 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.