2025-02-19 15:19:11 UTC
255 MB
llvm15-dev clang15
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_MAJOR15
PG_SHA2565367e97e81e493301cc4aab049dfbc9b4913822985bc62379faab2a281cfbdf0
PG_VERSION15.11
[#000] sha256:b3d7db73e90671cb6b7925cc878d43a2781451bed256cf0626110f5386cdd4dc - 1.3% (3.31 MB)
[#001] sha256:94a698c50ca401253ee0a1571a20b50701f87d4ff2aba3a00e3911050b6e5fb9 - 0.0% (983 Bytes)
[#002] sha256:a58e9a3b0a25ecb012a9ef00dd9abd46a7fff8279e7446197b36696b07085c3d - 0.41% (1.04 MB)
[#003] sha256:c94caf2386289bf840a71263ceb34251b027ef80b965f42375f746957af98144 - 0.0% (171 Bytes)
[#004] sha256:778e5be8f5eed361e99120a2046991f0b51b572491bae9320564f38d1a641f1c - 0.0% (114 Bytes)
[#005] sha256:d1d828a3e2582aa1c95e998e509f68b24f1cff3863f02f49d0b41437f7dba24c - 36.25% (92.5 MB)
[#006] sha256:1badd9809aa02e31e201816f3b9b1fe3005620009925b6fa697fd7d660c0d78d - 0.0% (9.23 KB)
[#007] sha256:d3d8398716ab7a201b3a5a13e630cb2cefb86a346634347de34b76fe0814f42a - 0.0% (129 Bytes)
[#008] sha256:17ad5a0efefeb824d8cb9f712c08a4d24ccd647426e0df990bf2908194f18607 - 0.0% (169 Bytes)
[#009] sha256:b455ec39ff54ce841ba75c28aeb100a863c30dea143e96f7ec6b276e82ffd0e3 - 0.0% (5.29 KB)
[#010] sha256:aeaebaa8ebbef53f1a2de6bfb3057185fa4af536d01309831e25f55f2acd4cb5 - 0.0% (185 Bytes)
[#011] sha256:a214be4fd996e2924494a2f75f16fad4e0579e8fe1c61400f0dd0669f80aa2d5 - 8.99% (22.9 MB)
[#012] sha256:c8222e680fa4678a47a8a9ffdca5904c7e0d5740fdffe8390292c418cdd02fa6 - 2.04% (5.2 MB)
[#013] sha256:14f9ec9ac56de5a3a1dd256148e01a33b01528804aca32bb30167d639d34f8f4 - 0.0% (2.13 KB)
[#014] sha256:4034f545b0e967860a4ce9d393b132292ba9f3f08ca553ddc124d2d0d76515d7 - 2.94% (7.49 MB)
[#015] sha256:52fa1b22b9225000ae15fcfd2b8656c234839d10964d8ed5df6ecd43721a02b7 - 26.51% (67.6 MB)
[#016] sha256:4263163fe86702d882acd27f9e9d1aedd764252a106cc4c4d52f5a27715c73db - 19.74% (50.4 MB)
[#017] sha256:866301f89d5984d763bd293bf017ef9cc3ea07c1e51b74ba85839996f38e3660 - 1.82% (4.65 MB)
ADD alpine-minirootfs-3.20.6-x86.tar.gz / # buildkit
2025-02-13 18:31:47 UTC (buildkit.dockerfile.v0)CMD ["/bin/sh"]
2025-02-13 18:31: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-02-13 18:31:47 UTC (buildkit.dockerfile.v0)ENV GOSU_VERSION=1.17
2025-02-13 18:31: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-02-13 18:31: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-02-13 18:31:47 UTC (buildkit.dockerfile.v0)ENV LANG=en_US.utf8
2025-02-13 18:31:47 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c mkdir /docker-entrypoint-initdb.d # buildkit
2025-02-13 18:31:47 UTC (buildkit.dockerfile.v0)ENV PG_MAJOR=15
2025-02-13 18:31:47 UTC (buildkit.dockerfile.v0)ENV PG_VERSION=15.11
2025-02-13 18:31:47 UTC (buildkit.dockerfile.v0)ENV PG_SHA256=5367e97e81e493301cc4aab049dfbc9b4913822985bc62379faab2a281cfbdf0
2025-02-13 18:31:47 UTC (buildkit.dockerfile.v0)ENV DOCKER_PG_LLVM_DEPS=llvm15-dev clang15
2025-02-13 18:31: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)"; wget -O config/config.guess 'https://git.savannah.gnu.org/cgit/config.git/plain/config.guess?id=7d3d27baf8107b630586c962c057e22149653deb'; wget -O config/config.sub 'https://git.savannah.gnu.org/cgit/config.git/plain/config.sub?id=7d3d27baf8107b630586c962c057e22149653deb'; export LLVM_CONFIG="/usr/lib/llvm15/bin/llvm-config"; export CLANG=clang-15; ./configure --enable-option-checking=fatal --build="$gnuArch" --enable-integer-datetimes --enable-thread-safety --enable-tap-tests --disable-rpath --with-uuid=e2fs --with-gnu-ld --with-pgport=5432 --with-system-tzdata=/usr/share/zoneinfo --prefix=/usr/local --with-includes=/usr/local/include --with-libraries=/usr/local/lib --with-gssapi --with-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-02-13 18:31: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-02-13 18:31:47 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c install --verbose --directory --owner postgres --group postgres --mode 3777 /var/run/postgresql # buildkit
2025-02-13 18:31:47 UTC (buildkit.dockerfile.v0)ENV PGDATA=/var/lib/postgresql/data
2025-02-13 18:31:47 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c install --verbose --directory --owner postgres --group postgres --mode 1777 "$PGDATA" # buildkit
2025-02-13 18:31:47 UTC (buildkit.dockerfile.v0)VOLUME [/var/lib/postgresql/data]
2025-02-13 18:31:47 UTC (buildkit.dockerfile.v0)COPY docker-entrypoint.sh docker-ensure-initdb.sh /usr/local/bin/ # buildkit
2025-02-13 18:31:47 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c ln -sT docker-ensure-initdb.sh /usr/local/bin/docker-enforce-initdb.sh # buildkit
2025-02-13 18:31:47 UTC (buildkit.dockerfile.v0)ENTRYPOINT ["docker-entrypoint.sh"]
2025-02-13 18:31:47 UTC (buildkit.dockerfile.v0)STOPSIGNAL SIGINT
2025-02-13 18:31:47 UTC (buildkit.dockerfile.v0)EXPOSE map[5432/tcp:{}]
2025-02-13 18:31:47 UTC (buildkit.dockerfile.v0)CMD ["postgres"]
2025-02-19 15:13:52 UTC (buildkit.dockerfile.v0)ARG OSS_ONLY= -DAPACHE_ONLY=1
2025-02-19 15:13:52 UTC (buildkit.dockerfile.v0)LABEL maintainer=Timescale https://www.timescale.com
2025-02-19 15:13:52 UTC (buildkit.dockerfile.v0)ARG PG_VERSION=15
2025-02-19 15:13:52 UTC (buildkit.dockerfile.v0)RUN |2 OSS_ONLY= -DAPACHE_ONLY=1 PG_VERSION=15 /bin/sh -c set -ex; apk update; apk add --no-cache postgresql${PG_VERSION}-plpython3; # buildkit
2025-02-19 15:13:52 UTC (buildkit.dockerfile.v0)ARG PGVECTOR_VERSION=v0.7.2
2025-02-19 15:13:52 UTC (buildkit.dockerfile.v0)ARG PG_VERSION=15
2025-02-19 15:13:52 UTC (buildkit.dockerfile.v0)ARG CLANG_VERSION=15
2025-02-19 15:15:15 UTC (buildkit.dockerfile.v0)RUN |4 OSS_ONLY= -DAPACHE_ONLY=1 PG_VERSION=15 PGVECTOR_VERSION=v0.7.2 CLANG_VERSION=15 /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; make install; apk del .vector-deps; # buildkit
2025-02-19 15:15:15 UTC (buildkit.dockerfile.v0)COPY docker-entrypoint-initdb.d/* /docker-entrypoint-initdb.d/ # buildkit
2025-02-19 15:16:10 UTC (buildkit.dockerfile.v0)COPY /go/bin/* /usr/local/bin/ # buildkit
2025-02-19 15:16:10 UTC (buildkit.dockerfile.v0)COPY /usr/local/lib/postgresql/timescaledb-*.so /usr/local/lib/postgresql/ # buildkit
2025-02-19 15:16:11 UTC (buildkit.dockerfile.v0)COPY /usr/local/share/postgresql/extension/timescaledb--*.sql /usr/local/share/postgresql/extension/ # buildkit
2025-02-19 15:16:11 UTC (buildkit.dockerfile.v0)ARG TS_VERSION=2.18.2
2025-02-19 15:19:11 UTC (buildkit.dockerfile.v0)RUN |5 OSS_ONLY= -DAPACHE_ONLY=1 PG_VERSION=15 PGVECTOR_VERSION=v0.7.2 CLANG_VERSION=15 TS_VERSION=2.18.2 /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-02-19 15:18:40 UTC
253 MB
llvm15-dev clang15
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_MAJOR15
PG_SHA2565367e97e81e493301cc4aab049dfbc9b4913822985bc62379faab2a281cfbdf0
PG_VERSION15.11
[#000] sha256:0a9a5dfd008f05ebc27e4790db0709a29e527690c21bcbcd01481eaeb6bb49dc - 1.37% (3.46 MB)
[#001] sha256:f33c63abc240b3b922d1ccd53628ab26e8c322635907b753ee9cd85910763a5b - 0.0% (986 Bytes)
[#002] sha256:921e40087b1cc0113d897124e5ced2f51331fbc26c7fb348e682b07f125a898f - 0.42% (1.07 MB)
[#003] sha256:ddba0de0cfacb732be730ce834063e995a760ca7443f71e999553a4e9b4c04a2 - 0.0% (173 Bytes)
[#004] sha256:d855f16fefae54eec45de2dd79eee03f69ec89e896b389dfb801edbc096ad3de - 0.0% (116 Bytes)
[#005] sha256:5e2a31f6244926c21369e4087555eecb999435e549d7d0d7d5c7484d638cb737 - 34.46% (87.2 MB)
[#006] sha256:08f87d84dba7c50659dfe51b2e44458d9f0723bf1fc52532daacbbc0e9c5397b - 0.0% (9.22 KB)
[#007] sha256:ed0b7f1ce2acb44da6c7ae028873533860a70a67b92d7cae06b1674417febf50 - 0.0% (129 Bytes)
[#008] sha256:a0f41a55bfe8191db776f7d3b310a4406562175cd855cf8d6eb86a075ce30d45 - 0.0% (169 Bytes)
[#009] sha256:df102c386ee289d4f2a593b573b11b1d78c3e2abedb3635b4cf6addbfaaf8e17 - 0.0% (5.29 KB)
[#010] sha256:b4e20cea72618a3faea3824782780720d8d2797288a49d7019e64760caa003b4 - 0.0% (184 Bytes)
[#011] sha256:dee2708f7afccfdb7610a3400ca567c1236bfafe93fea20acb37a02844addef3 - 8.74% (22.1 MB)
[#012] sha256:5aeba95ec6cf4803e5a7cd20e0c76d4a6d0e9240299b0c60e39ff111e8423de8 - 2.12% (5.36 MB)
[#013] sha256:b4e0b96bd6484eff404064e5925e616e2ffb4733caaf5918ec52c6847f5a1aa9 - 0.0% (2.13 KB)
[#014] sha256:d61d12ff75db701506a5f92271417e8821f4d0c883f0ac69ef6dbc7ae7346a08 - 3.08% (7.79 MB)
[#015] sha256:2fb41cb9a86a1260daed4d6bc8f94628520f377b9c8daa69ac647f6077cae594 - 28.04% (71 MB)
[#016] sha256:df791b1e856f2dc65315954fd263e6125bcf15ea0fcb01708dd6dadebf7e7992 - 19.89% (50.4 MB)
[#017] sha256:2a46d0bd851850f6ab05e86f9b8cce607a2811eeb8f2eb77b52399d828f72164 - 1.87% (4.74 MB)
ADD alpine-minirootfs-3.20.6-x86_64.tar.gz / # buildkit
2025-02-13 18:31:47 UTC (buildkit.dockerfile.v0)CMD ["/bin/sh"]
2025-02-13 18:31: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-02-13 18:31:47 UTC (buildkit.dockerfile.v0)ENV GOSU_VERSION=1.17
2025-02-13 18:31: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-02-13 18:31: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-02-13 18:31:47 UTC (buildkit.dockerfile.v0)ENV LANG=en_US.utf8
2025-02-13 18:31:47 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c mkdir /docker-entrypoint-initdb.d # buildkit
2025-02-13 18:31:47 UTC (buildkit.dockerfile.v0)ENV PG_MAJOR=15
2025-02-13 18:31:47 UTC (buildkit.dockerfile.v0)ENV PG_VERSION=15.11
2025-02-13 18:31:47 UTC (buildkit.dockerfile.v0)ENV PG_SHA256=5367e97e81e493301cc4aab049dfbc9b4913822985bc62379faab2a281cfbdf0
2025-02-13 18:31:47 UTC (buildkit.dockerfile.v0)ENV DOCKER_PG_LLVM_DEPS=llvm15-dev clang15
2025-02-13 18:31: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)"; wget -O config/config.guess 'https://git.savannah.gnu.org/cgit/config.git/plain/config.guess?id=7d3d27baf8107b630586c962c057e22149653deb'; wget -O config/config.sub 'https://git.savannah.gnu.org/cgit/config.git/plain/config.sub?id=7d3d27baf8107b630586c962c057e22149653deb'; export LLVM_CONFIG="/usr/lib/llvm15/bin/llvm-config"; export CLANG=clang-15; ./configure --enable-option-checking=fatal --build="$gnuArch" --enable-integer-datetimes --enable-thread-safety --enable-tap-tests --disable-rpath --with-uuid=e2fs --with-gnu-ld --with-pgport=5432 --with-system-tzdata=/usr/share/zoneinfo --prefix=/usr/local --with-includes=/usr/local/include --with-libraries=/usr/local/lib --with-gssapi --with-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-02-13 18:31: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-02-13 18:31:47 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c install --verbose --directory --owner postgres --group postgres --mode 3777 /var/run/postgresql # buildkit
2025-02-13 18:31:47 UTC (buildkit.dockerfile.v0)ENV PGDATA=/var/lib/postgresql/data
2025-02-13 18:31:47 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c install --verbose --directory --owner postgres --group postgres --mode 1777 "$PGDATA" # buildkit
2025-02-13 18:31:47 UTC (buildkit.dockerfile.v0)VOLUME [/var/lib/postgresql/data]
2025-02-13 18:31:47 UTC (buildkit.dockerfile.v0)COPY docker-entrypoint.sh docker-ensure-initdb.sh /usr/local/bin/ # buildkit
2025-02-13 18:31:47 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c ln -sT docker-ensure-initdb.sh /usr/local/bin/docker-enforce-initdb.sh # buildkit
2025-02-13 18:31:47 UTC (buildkit.dockerfile.v0)ENTRYPOINT ["docker-entrypoint.sh"]
2025-02-13 18:31:47 UTC (buildkit.dockerfile.v0)STOPSIGNAL SIGINT
2025-02-13 18:31:47 UTC (buildkit.dockerfile.v0)EXPOSE map[5432/tcp:{}]
2025-02-13 18:31:47 UTC (buildkit.dockerfile.v0)CMD ["postgres"]
2025-02-19 15:13:39 UTC (buildkit.dockerfile.v0)ARG OSS_ONLY= -DAPACHE_ONLY=1
2025-02-19 15:13:39 UTC (buildkit.dockerfile.v0)LABEL maintainer=Timescale https://www.timescale.com
2025-02-19 15:13:39 UTC (buildkit.dockerfile.v0)ARG PG_VERSION=15
2025-02-19 15:13:39 UTC (buildkit.dockerfile.v0)RUN |2 OSS_ONLY= -DAPACHE_ONLY=1 PG_VERSION=15 /bin/sh -c set -ex; apk update; apk add --no-cache postgresql${PG_VERSION}-plpython3; # buildkit
2025-02-19 15:13:39 UTC (buildkit.dockerfile.v0)ARG PGVECTOR_VERSION=v0.7.2
2025-02-19 15:13:39 UTC (buildkit.dockerfile.v0)ARG PG_VERSION=15
2025-02-19 15:13:39 UTC (buildkit.dockerfile.v0)ARG CLANG_VERSION=15
2025-02-19 15:15:01 UTC (buildkit.dockerfile.v0)RUN |4 OSS_ONLY= -DAPACHE_ONLY=1 PG_VERSION=15 PGVECTOR_VERSION=v0.7.2 CLANG_VERSION=15 /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; make install; apk del .vector-deps; # buildkit
2025-02-19 15:15:01 UTC (buildkit.dockerfile.v0)COPY docker-entrypoint-initdb.d/* /docker-entrypoint-initdb.d/ # buildkit
2025-02-19 15:15:54 UTC (buildkit.dockerfile.v0)COPY /go/bin/* /usr/local/bin/ # buildkit
2025-02-19 15:15:54 UTC (buildkit.dockerfile.v0)COPY /usr/local/lib/postgresql/timescaledb-*.so /usr/local/lib/postgresql/ # buildkit
2025-02-19 15:15:56 UTC (buildkit.dockerfile.v0)COPY /usr/local/share/postgresql/extension/timescaledb--*.sql /usr/local/share/postgresql/extension/ # buildkit
2025-02-19 15:15:56 UTC (buildkit.dockerfile.v0)ARG TS_VERSION=2.18.2
2025-02-19 15:18:40 UTC (buildkit.dockerfile.v0)RUN |5 OSS_ONLY= -DAPACHE_ONLY=1 PG_VERSION=15 PGVECTOR_VERSION=v0.7.2 CLANG_VERSION=15 TS_VERSION=2.18.2 /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-02-19 15:41:34 UTC
249 MB
llvm15-dev clang15
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_MAJOR15
PG_SHA2565367e97e81e493301cc4aab049dfbc9b4913822985bc62379faab2a281cfbdf0
PG_VERSION15.11
[#000] sha256:c9aedc9d4e47fa9429e5c329420d8a93e16c433e361d0f9281565ed4da3c057e - 1.29% (3.22 MB)
[#001] sha256:f562bdeccc677affba17117a3e71eed437842fbd24407b2ce425aa5819d3dab5 - 0.0% (984 Bytes)
[#002] sha256:c0c15f54b7c7b9df1d9b4f973855ca80d075a47a5343b27c0f6e4ae7774389b5 - 0.42% (1.04 MB)
[#003] sha256:d568e84a40aff368bdcb0f2c0209c899ecf6614f22d843f7855cc038d42ed61d - 0.0% (175 Bytes)
[#004] sha256:464e90337bafdf4dac44e92da85d96c873b18c4c579abd3dd0ee24ba0ae61dc9 - 0.0% (116 Bytes)
[#005] sha256:aea39fc9f41112f5e4908a35292d746e2bae941705a8aeb7afa4495de2919785 - 34.71% (86.3 MB)
[#006] sha256:279d4f3ab15bde9b6e3cebc9c53c75bf82e3f1f88dea33c9b838137d7d01ebc0 - 0.0% (9.23 KB)
[#007] sha256:1a2ba4b25aebeef61de95b73146e1f264cc3b695bc01abdf067af8af13d3cddb - 0.0% (128 Bytes)
[#008] sha256:d1b3943d93aa7be5e630a4256e845f899f310a276512aa64fb643f89aa788f47 - 0.0% (168 Bytes)
[#009] sha256:bb1d25b5d09138882201cc952ecf98ac811faa660911bbbf6ce8f9d93d76b649 - 0.0% (5.29 KB)
[#010] sha256:1f2d3462f038e3830fdb4ef0ebb2dc3907a0963ba9b233d7a616481dddcba2f6 - 0.0% (186 Bytes)
[#011] sha256:1a0e79e17201ae944817235d60e34f1daf7b4b3d17d5b9aeadb8b45f088556d5 - 8.58% (21.3 MB)
[#012] sha256:1f140327a626b273a06114d853dd919c8baad97d91c8ab4e89efa0a73f4bf4b6 - 1.98% (4.92 MB)
[#013] sha256:0d78e7dc23acd6524b623c84d994cba52c6c345d65ede83dd183439af62c9f53 - 0.0% (2.13 KB)
[#014] sha256:1475be071d5def9517c2321a5677b70a2b509e0ae676ec253de79c4f63962e89 - 2.92% (7.25 MB)
[#015] sha256:62004cbc87541a5ca95b97ddf05a7d8f6394efb849e555c2a62468db6bf3be31 - 27.95% (69.5 MB)
[#016] sha256:23575558ff42b30e513f37af57365c141d6887afc65db7f7f5f51a8ec469f1a9 - 20.26% (50.4 MB)
[#017] sha256:0da330b29ec3cdccb94a3445f1b6c18d8cf99fc435fa637dfeda0a33f3af60d1 - 1.89% (4.69 MB)
ADD alpine-minirootfs-3.20.6-armhf.tar.gz / # buildkit
2025-02-13 18:31:47 UTC (buildkit.dockerfile.v0)CMD ["/bin/sh"]
2025-02-13 18:31: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-02-13 18:31:47 UTC (buildkit.dockerfile.v0)ENV GOSU_VERSION=1.17
2025-02-13 18:31: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-02-13 18:31: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-02-13 18:31:47 UTC (buildkit.dockerfile.v0)ENV LANG=en_US.utf8
2025-02-13 18:31:47 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c mkdir /docker-entrypoint-initdb.d # buildkit
2025-02-13 18:31:47 UTC (buildkit.dockerfile.v0)ENV PG_MAJOR=15
2025-02-13 18:31:47 UTC (buildkit.dockerfile.v0)ENV PG_VERSION=15.11
2025-02-13 18:31:47 UTC (buildkit.dockerfile.v0)ENV PG_SHA256=5367e97e81e493301cc4aab049dfbc9b4913822985bc62379faab2a281cfbdf0
2025-02-13 18:31:47 UTC (buildkit.dockerfile.v0)ENV DOCKER_PG_LLVM_DEPS=llvm15-dev clang15
2025-02-13 18:31: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)"; wget -O config/config.guess 'https://git.savannah.gnu.org/cgit/config.git/plain/config.guess?id=7d3d27baf8107b630586c962c057e22149653deb'; wget -O config/config.sub 'https://git.savannah.gnu.org/cgit/config.git/plain/config.sub?id=7d3d27baf8107b630586c962c057e22149653deb'; export LLVM_CONFIG="/usr/lib/llvm15/bin/llvm-config"; export CLANG=clang-15; ./configure --enable-option-checking=fatal --build="$gnuArch" --enable-integer-datetimes --enable-thread-safety --enable-tap-tests --disable-rpath --with-uuid=e2fs --with-gnu-ld --with-pgport=5432 --with-system-tzdata=/usr/share/zoneinfo --prefix=/usr/local --with-includes=/usr/local/include --with-libraries=/usr/local/lib --with-gssapi --with-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-02-13 18:31: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-02-13 18:31:47 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c install --verbose --directory --owner postgres --group postgres --mode 3777 /var/run/postgresql # buildkit
2025-02-13 18:31:47 UTC (buildkit.dockerfile.v0)ENV PGDATA=/var/lib/postgresql/data
2025-02-13 18:31:47 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c install --verbose --directory --owner postgres --group postgres --mode 1777 "$PGDATA" # buildkit
2025-02-13 18:31:47 UTC (buildkit.dockerfile.v0)VOLUME [/var/lib/postgresql/data]
2025-02-13 18:31:47 UTC (buildkit.dockerfile.v0)COPY docker-entrypoint.sh docker-ensure-initdb.sh /usr/local/bin/ # buildkit
2025-02-13 18:31:47 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c ln -sT docker-ensure-initdb.sh /usr/local/bin/docker-enforce-initdb.sh # buildkit
2025-02-13 18:31:47 UTC (buildkit.dockerfile.v0)ENTRYPOINT ["docker-entrypoint.sh"]
2025-02-13 18:31:47 UTC (buildkit.dockerfile.v0)STOPSIGNAL SIGINT
2025-02-13 18:31:47 UTC (buildkit.dockerfile.v0)EXPOSE map[5432/tcp:{}]
2025-02-13 18:31:47 UTC (buildkit.dockerfile.v0)CMD ["postgres"]
2025-02-19 15:14:41 UTC (buildkit.dockerfile.v0)ARG OSS_ONLY= -DAPACHE_ONLY=1
2025-02-19 15:14:41 UTC (buildkit.dockerfile.v0)LABEL maintainer=Timescale https://www.timescale.com
2025-02-19 15:14:41 UTC (buildkit.dockerfile.v0)ARG PG_VERSION=15
2025-02-19 15:14:41 UTC (buildkit.dockerfile.v0)RUN |2 OSS_ONLY= -DAPACHE_ONLY=1 PG_VERSION=15 /bin/sh -c set -ex; apk update; apk add --no-cache postgresql${PG_VERSION}-plpython3; # buildkit
2025-02-19 15:14:41 UTC (buildkit.dockerfile.v0)ARG PGVECTOR_VERSION=v0.7.2
2025-02-19 15:14:41 UTC (buildkit.dockerfile.v0)ARG PG_VERSION=15
2025-02-19 15:14:41 UTC (buildkit.dockerfile.v0)ARG CLANG_VERSION=15
2025-02-19 15:23:13 UTC (buildkit.dockerfile.v0)RUN |4 OSS_ONLY= -DAPACHE_ONLY=1 PG_VERSION=15 PGVECTOR_VERSION=v0.7.2 CLANG_VERSION=15 /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; make install; apk del .vector-deps; # buildkit
2025-02-19 15:23:14 UTC (buildkit.dockerfile.v0)COPY docker-entrypoint-initdb.d/* /docker-entrypoint-initdb.d/ # buildkit
2025-02-19 15:30:06 UTC (buildkit.dockerfile.v0)COPY /go/bin/* /usr/local/bin/ # buildkit
2025-02-19 15:30:06 UTC (buildkit.dockerfile.v0)COPY /usr/local/lib/postgresql/timescaledb-*.so /usr/local/lib/postgresql/ # buildkit
2025-02-19 15:30:08 UTC (buildkit.dockerfile.v0)COPY /usr/local/share/postgresql/extension/timescaledb--*.sql /usr/local/share/postgresql/extension/ # buildkit
2025-02-19 15:30:08 UTC (buildkit.dockerfile.v0)ARG TS_VERSION=2.18.2
2025-02-19 15:41:34 UTC (buildkit.dockerfile.v0)RUN |5 OSS_ONLY= -DAPACHE_ONLY=1 PG_VERSION=15 PGVECTOR_VERSION=v0.7.2 CLANG_VERSION=15 TS_VERSION=2.18.2 /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-02-19 15:41:19 UTC
242 MB
llvm15-dev clang15
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_MAJOR15
PG_SHA2565367e97e81e493301cc4aab049dfbc9b4913822985bc62379faab2a281cfbdf0
PG_VERSION15.11
[#000] sha256:772078ddbdee5be52d429e08f953aaad6715a90d7e4d6496eb1cd4004efa8a95 - 1.22% (2.95 MB)
[#001] sha256:25896e659de9add0d4b908897850cbf64b7928b4104747d7d2f865d03c785b5e - 0.0% (983 Bytes)
[#002] sha256:4f74483a18f569a1fa2c939344a028b1612c307bf93662a4fdaf02c3f961ae8e - 0.43% (1.04 MB)
[#003] sha256:9eadf93718700a6ae0148ccbb835c2325930ee0d12ad9dac188ce36572109a18 - 0.0% (176 Bytes)
[#004] sha256:32b8c5e4ce7a3e3769bc68c603e910cda8c227d7c7644ade020fd071c0811efb - 0.0% (116 Bytes)
[#005] sha256:df94b347454676738531fec27eaf172d7b115765380517d31a83d31110148f5b - 33.51% (81.2 MB)
[#006] sha256:4d633440559378cdbf879b978c506480636d933477d8631b0014af2064d7ff4f - 0.0% (9.23 KB)
[#007] sha256:8b2c29df8f34dc203ede3f9c5f3566a6ff71c46558ed4bba89cdbb6be10b0170 - 0.0% (129 Bytes)
[#008] sha256:c7b50cc8edf41478796e12f4505784ef5d12e975f3c3aa0f71bd7d9e29a32dfb - 0.0% (169 Bytes)
[#009] sha256:f3529b7196c8155643ae7d071da29e194171e4f2d753cbb2410be053f12b12d1 - 0.0% (5.29 KB)
[#010] sha256:5d28db6c30c69c4085f92b68b20de21f9968a6eef90e864bc19e438f72db5ac7 - 0.0% (185 Bytes)
[#011] sha256:c47d47204877be6383dfa1b3ed8089a73c1813e4ea3cb9e6beb3f5cd636a535d - 8.54% (20.7 MB)
[#012] sha256:e1aadb1ea3d0a60c7fe715b9725ce733786de51f60e69f83b749077d91801ba3 - 2.11% (5.11 MB)
[#013] sha256:3b9349f57e26450db8cbe91a0a14fa09e8f171cfec3130031aed778504ecfb84 - 0.0% (2.13 KB)
[#014] sha256:273f04492216f2f0774ef58a04cdee940c2214003aaf8645c55ece7eaff7d20e - 2.98% (7.23 MB)
[#015] sha256:79508d254afd17290395b73a8002bbfdbdfd34f3bb8ec3e4b19fa5e5294631b5 - 28.5% (69.1 MB)
[#016] sha256:47a76a1365200a147e29b57eef7aa44f03e0eb8bccbdc0ec2cf80b923b6f8135 - 20.78% (50.4 MB)
[#017] sha256:c6cd50299634a100479d8cf195d677c32babc908e68d958613227c0d45326f2b - 1.93% (4.68 MB)
ADD alpine-minirootfs-3.20.6-armv7.tar.gz / # buildkit
2025-02-13 18:31:47 UTC (buildkit.dockerfile.v0)CMD ["/bin/sh"]
2025-02-13 18:31: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-02-13 18:31:47 UTC (buildkit.dockerfile.v0)ENV GOSU_VERSION=1.17
2025-02-13 18:31: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-02-13 18:31: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-02-13 18:31:47 UTC (buildkit.dockerfile.v0)ENV LANG=en_US.utf8
2025-02-13 18:31:47 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c mkdir /docker-entrypoint-initdb.d # buildkit
2025-02-13 18:31:47 UTC (buildkit.dockerfile.v0)ENV PG_MAJOR=15
2025-02-13 18:31:47 UTC (buildkit.dockerfile.v0)ENV PG_VERSION=15.11
2025-02-13 18:31:47 UTC (buildkit.dockerfile.v0)ENV PG_SHA256=5367e97e81e493301cc4aab049dfbc9b4913822985bc62379faab2a281cfbdf0
2025-02-13 18:31:47 UTC (buildkit.dockerfile.v0)ENV DOCKER_PG_LLVM_DEPS=llvm15-dev clang15
2025-02-13 18:31: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)"; wget -O config/config.guess 'https://git.savannah.gnu.org/cgit/config.git/plain/config.guess?id=7d3d27baf8107b630586c962c057e22149653deb'; wget -O config/config.sub 'https://git.savannah.gnu.org/cgit/config.git/plain/config.sub?id=7d3d27baf8107b630586c962c057e22149653deb'; export LLVM_CONFIG="/usr/lib/llvm15/bin/llvm-config"; export CLANG=clang-15; ./configure --enable-option-checking=fatal --build="$gnuArch" --enable-integer-datetimes --enable-thread-safety --enable-tap-tests --disable-rpath --with-uuid=e2fs --with-gnu-ld --with-pgport=5432 --with-system-tzdata=/usr/share/zoneinfo --prefix=/usr/local --with-includes=/usr/local/include --with-libraries=/usr/local/lib --with-gssapi --with-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-02-13 18:31: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-02-13 18:31:47 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c install --verbose --directory --owner postgres --group postgres --mode 3777 /var/run/postgresql # buildkit
2025-02-13 18:31:47 UTC (buildkit.dockerfile.v0)ENV PGDATA=/var/lib/postgresql/data
2025-02-13 18:31:47 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c install --verbose --directory --owner postgres --group postgres --mode 1777 "$PGDATA" # buildkit
2025-02-13 18:31:47 UTC (buildkit.dockerfile.v0)VOLUME [/var/lib/postgresql/data]
2025-02-13 18:31:47 UTC (buildkit.dockerfile.v0)COPY docker-entrypoint.sh docker-ensure-initdb.sh /usr/local/bin/ # buildkit
2025-02-13 18:31:47 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c ln -sT docker-ensure-initdb.sh /usr/local/bin/docker-enforce-initdb.sh # buildkit
2025-02-13 18:31:47 UTC (buildkit.dockerfile.v0)ENTRYPOINT ["docker-entrypoint.sh"]
2025-02-13 18:31:47 UTC (buildkit.dockerfile.v0)STOPSIGNAL SIGINT
2025-02-13 18:31:47 UTC (buildkit.dockerfile.v0)EXPOSE map[5432/tcp:{}]
2025-02-13 18:31:47 UTC (buildkit.dockerfile.v0)CMD ["postgres"]
2025-02-19 15:14:31 UTC (buildkit.dockerfile.v0)ARG OSS_ONLY= -DAPACHE_ONLY=1
2025-02-19 15:14:31 UTC (buildkit.dockerfile.v0)LABEL maintainer=Timescale https://www.timescale.com
2025-02-19 15:14:31 UTC (buildkit.dockerfile.v0)ARG PG_VERSION=15
2025-02-19 15:14:31 UTC (buildkit.dockerfile.v0)RUN |2 OSS_ONLY= -DAPACHE_ONLY=1 PG_VERSION=15 /bin/sh -c set -ex; apk update; apk add --no-cache postgresql${PG_VERSION}-plpython3; # buildkit
2025-02-19 15:14:31 UTC (buildkit.dockerfile.v0)ARG PGVECTOR_VERSION=v0.7.2
2025-02-19 15:14:31 UTC (buildkit.dockerfile.v0)ARG PG_VERSION=15
2025-02-19 15:14:31 UTC (buildkit.dockerfile.v0)ARG CLANG_VERSION=15
2025-02-19 15:22:58 UTC (buildkit.dockerfile.v0)RUN |4 OSS_ONLY= -DAPACHE_ONLY=1 PG_VERSION=15 PGVECTOR_VERSION=v0.7.2 CLANG_VERSION=15 /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; make install; apk del .vector-deps; # buildkit
2025-02-19 15:22:58 UTC (buildkit.dockerfile.v0)COPY docker-entrypoint-initdb.d/* /docker-entrypoint-initdb.d/ # buildkit
2025-02-19 15:30:08 UTC (buildkit.dockerfile.v0)COPY /go/bin/* /usr/local/bin/ # buildkit
2025-02-19 15:30:08 UTC (buildkit.dockerfile.v0)COPY /usr/local/lib/postgresql/timescaledb-*.so /usr/local/lib/postgresql/ # buildkit
2025-02-19 15:30:09 UTC (buildkit.dockerfile.v0)COPY /usr/local/share/postgresql/extension/timescaledb--*.sql /usr/local/share/postgresql/extension/ # buildkit
2025-02-19 15:30:09 UTC (buildkit.dockerfile.v0)ARG TS_VERSION=2.18.2
2025-02-19 15:41:19 UTC (buildkit.dockerfile.v0)RUN |5 OSS_ONLY= -DAPACHE_ONLY=1 PG_VERSION=15 PGVECTOR_VERSION=v0.7.2 CLANG_VERSION=15 TS_VERSION=2.18.2 /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-02-19 15:41:31 UTC
251 MB
llvm15-dev clang15
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_MAJOR15
PG_SHA2565367e97e81e493301cc4aab049dfbc9b4913822985bc62379faab2a281cfbdf0
PG_VERSION15.11
[#000] sha256:94e9d8af22013aabf0edcaf42950c88b0a1350c3a9ce076d61b98a535a673dd9 - 1.56% (3.9 MB)
[#001] sha256:5bc8827c16e8ec088d48c0b753a38f9b70fa76626b8e70929dbb63cf84cc89b5 - 0.0% (979 Bytes)
[#002] sha256:0907d060ed36b58b8341b1b05e996014c48ca9a918bb7414420e2e27fa4bc054 - 0.4% (1 MB)
[#003] sha256:36da590e94d03388333c8f90ebc9ff573b76757ec31fc8b18a031f6350a39911 - 0.0% (174 Bytes)
[#004] sha256:9ba3a5783239b116fcb925eef91e91369b4580402ff73a02ffd413615c3afcf0 - 0.0% (116 Bytes)
[#005] sha256:7691d6a0479686883774425dd8188a935a7b2978fcb2aadb8687aa4bb87525a9 - 34.33% (86.1 MB)
[#006] sha256:112a49da8e9cd7b9349c4f950e74cf7c08a95ac0fc0fa5f1eba30e111518a5b8 - 0.0% (9.23 KB)
[#007] sha256:218aebe1861e31ac2f30ed4aaf82ecf1499e69ee7ae9b84437a2ad955b56c178 - 0.0% (129 Bytes)
[#008] sha256:27934fa5b36bf96929ec8404960cda97fc048eb1a6da11d47fcc6559b054e5f6 - 0.0% (168 Bytes)
[#009] sha256:4399982e2694f9a0cb72d58410644b28c87da8e861f5a60f8f3457f55b36106e - 0.0% (5.29 KB)
[#010] sha256:cbd0ec2989c34ef92b6fe8a49bdc3630ee2f8417fb4cbf1684633a022bcb723b - 0.0% (185 Bytes)
[#011] sha256:187d26b9c9ae57cef2ff768a142f9d9929f28863a45af084f57d665af8579dcb - 8.88% (22.3 MB)
[#012] sha256:36d0eb32732c823c6e68f12c8e3d3d6703604692421664a228bad83f8d94f72a - 2.11% (5.28 MB)
[#013] sha256:ee703d01711a127ce9845a5a98f6a0244a9814eff192161914efacb94291cd80 - 0.0% (2.13 KB)
[#014] sha256:6bfe0fb03f781bdb33cbdbc75aa3e5ab8bf59fe4cbcf94a8e918216bc606dd81 - 2.92% (7.33 MB)
[#015] sha256:855520ba2d278e7daf79a518f933b0696fa36dcf760ce1d4e63e531bac05281f - 27.85% (69.9 MB)
[#016] sha256:6c64cd612baebfcc8cb69cc976787fd2f8f29561301c1861156e2c3e604b84e4 - 20.07% (50.4 MB)
[#017] sha256:652ee19815f8c149495b53b4b901e1ddf288ace6cc6d03a7f4e9cd99586d9fd5 - 1.88% (4.71 MB)
ADD alpine-minirootfs-3.20.6-aarch64.tar.gz / # buildkit
2025-02-13 18:31:47 UTC (buildkit.dockerfile.v0)CMD ["/bin/sh"]
2025-02-13 18:31: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-02-13 18:31:47 UTC (buildkit.dockerfile.v0)ENV GOSU_VERSION=1.17
2025-02-13 18:31: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-02-13 18:31: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-02-13 18:31:47 UTC (buildkit.dockerfile.v0)ENV LANG=en_US.utf8
2025-02-13 18:31:47 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c mkdir /docker-entrypoint-initdb.d # buildkit
2025-02-13 18:31:47 UTC (buildkit.dockerfile.v0)ENV PG_MAJOR=15
2025-02-13 18:31:47 UTC (buildkit.dockerfile.v0)ENV PG_VERSION=15.11
2025-02-13 18:31:47 UTC (buildkit.dockerfile.v0)ENV PG_SHA256=5367e97e81e493301cc4aab049dfbc9b4913822985bc62379faab2a281cfbdf0
2025-02-13 18:31:47 UTC (buildkit.dockerfile.v0)ENV DOCKER_PG_LLVM_DEPS=llvm15-dev clang15
2025-02-13 18:31: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)"; wget -O config/config.guess 'https://git.savannah.gnu.org/cgit/config.git/plain/config.guess?id=7d3d27baf8107b630586c962c057e22149653deb'; wget -O config/config.sub 'https://git.savannah.gnu.org/cgit/config.git/plain/config.sub?id=7d3d27baf8107b630586c962c057e22149653deb'; export LLVM_CONFIG="/usr/lib/llvm15/bin/llvm-config"; export CLANG=clang-15; ./configure --enable-option-checking=fatal --build="$gnuArch" --enable-integer-datetimes --enable-thread-safety --enable-tap-tests --disable-rpath --with-uuid=e2fs --with-gnu-ld --with-pgport=5432 --with-system-tzdata=/usr/share/zoneinfo --prefix=/usr/local --with-includes=/usr/local/include --with-libraries=/usr/local/lib --with-gssapi --with-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-02-13 18:31: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-02-13 18:31:47 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c install --verbose --directory --owner postgres --group postgres --mode 3777 /var/run/postgresql # buildkit
2025-02-13 18:31:47 UTC (buildkit.dockerfile.v0)ENV PGDATA=/var/lib/postgresql/data
2025-02-13 18:31:47 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c install --verbose --directory --owner postgres --group postgres --mode 1777 "$PGDATA" # buildkit
2025-02-13 18:31:47 UTC (buildkit.dockerfile.v0)VOLUME [/var/lib/postgresql/data]
2025-02-13 18:31:47 UTC (buildkit.dockerfile.v0)COPY docker-entrypoint.sh docker-ensure-initdb.sh /usr/local/bin/ # buildkit
2025-02-13 18:31:47 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c ln -sT docker-ensure-initdb.sh /usr/local/bin/docker-enforce-initdb.sh # buildkit
2025-02-13 18:31:47 UTC (buildkit.dockerfile.v0)ENTRYPOINT ["docker-entrypoint.sh"]
2025-02-13 18:31:47 UTC (buildkit.dockerfile.v0)STOPSIGNAL SIGINT
2025-02-13 18:31:47 UTC (buildkit.dockerfile.v0)EXPOSE map[5432/tcp:{}]
2025-02-13 18:31:47 UTC (buildkit.dockerfile.v0)CMD ["postgres"]
2025-02-19 15:14:40 UTC (buildkit.dockerfile.v0)ARG OSS_ONLY= -DAPACHE_ONLY=1
2025-02-19 15:14:40 UTC (buildkit.dockerfile.v0)LABEL maintainer=Timescale https://www.timescale.com
2025-02-19 15:14:40 UTC (buildkit.dockerfile.v0)ARG PG_VERSION=15
2025-02-19 15:14:40 UTC (buildkit.dockerfile.v0)RUN |2 OSS_ONLY= -DAPACHE_ONLY=1 PG_VERSION=15 /bin/sh -c set -ex; apk update; apk add --no-cache postgresql${PG_VERSION}-plpython3; # buildkit
2025-02-19 15:14:40 UTC (buildkit.dockerfile.v0)ARG PGVECTOR_VERSION=v0.7.2
2025-02-19 15:14:40 UTC (buildkit.dockerfile.v0)ARG PG_VERSION=15
2025-02-19 15:14:40 UTC (buildkit.dockerfile.v0)ARG CLANG_VERSION=15
2025-02-19 15:23:15 UTC (buildkit.dockerfile.v0)RUN |4 OSS_ONLY= -DAPACHE_ONLY=1 PG_VERSION=15 PGVECTOR_VERSION=v0.7.2 CLANG_VERSION=15 /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; make install; apk del .vector-deps; # buildkit
2025-02-19 15:23:15 UTC (buildkit.dockerfile.v0)COPY docker-entrypoint-initdb.d/* /docker-entrypoint-initdb.d/ # buildkit
2025-02-19 15:29:49 UTC (buildkit.dockerfile.v0)COPY /go/bin/* /usr/local/bin/ # buildkit
2025-02-19 15:29:50 UTC (buildkit.dockerfile.v0)COPY /usr/local/lib/postgresql/timescaledb-*.so /usr/local/lib/postgresql/ # buildkit
2025-02-19 15:29:51 UTC (buildkit.dockerfile.v0)COPY /usr/local/share/postgresql/extension/timescaledb--*.sql /usr/local/share/postgresql/extension/ # buildkit
2025-02-19 15:29:51 UTC (buildkit.dockerfile.v0)ARG TS_VERSION=2.18.2
2025-02-19 15:41:31 UTC (buildkit.dockerfile.v0)RUN |5 OSS_ONLY= -DAPACHE_ONLY=1 PG_VERSION=15 PGVECTOR_VERSION=v0.7.2 CLANG_VERSION=15 TS_VERSION=2.18.2 /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.