2025-06-02 13:08:50 UTC
242 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_MAJOR17
PG_SHA256fcb7ab38e23b264d1902cb25e6adafb4525a6ebcbd015434aeef9eda80f528d8
PG_VERSION17.5
[#000] sha256:69aa61ccf55e5bf8e7a069b89e8afb42b4f3443b3785868795af8046d810d608 - 1.36% (3.3 MB)
[#001] sha256:a831750da410319f0269f19e194d06ab860a40a9c18088461a072e1b28e7e2fe - 0.0% (971 Bytes)
[#002] sha256:0e581a6ade63b91a69b9065d8d2c650dd33aa8266f1b0553b09cc87e49638a54 - 0.43% (1.04 MB)
[#003] sha256:d9cea6731c09a9d2ba3ad95e386fa1ab11f67c4aa26ea28825608f0023f3084b - 0.0% (116 Bytes)
[#004] sha256:cb2c7bf5e5f8103752c5aee25238f4f79450ee4dff7fa46d8defc1e586164b01 - 44.28% (107 MB)
[#005] sha256:91200ef923345c61bb31b3eeec55d5c015aac1684203f105b053665b747777ef - 0.0% (9.65 KB)
[#006] sha256:7dc03f349fceeab9ec3bb5d6fb58ae7db8e2132bf310bde483fbf80634f21100 - 0.0% (127 Bytes)
[#007] sha256:4f8f35a1edf2bbb5df053877e4b627c114819abe3fb63a0ffeb3b38a5dd919b2 - 0.0% (172 Bytes)
[#008] sha256:7678ead87d4e07f89cf04796f953498dde6990fffdcdb5b1757eb2dca7b051fb - 0.0% (5.34 KB)
[#009] sha256:ba8c20705b3504df4bd1bb5a8f3982fc0c90a8fe4c595af070b872afb477a650 - 0.0% (184 Bytes)
[#010] sha256:42fdfcc40f6b7ac832b713d5f22e6a40cc3bd62d060ffb5f3df6d14608eb2e26 - 9.9% (24 MB)
[#011] sha256:b87d8a6e391d30e3825a414aec61165f29188ec4931aec001153badd9df75e01 - 2.14% (5.17 MB)
[#012] sha256:c38c91be41c43c60649f20443bb0ee4664fb64da692a8f4762e3e951d12ff087 - 0.0% (2.08 KB)
[#013] sha256:ec42ba348e615b6fff3ffba2b784eed8f49898d92c7f70c5d286b3558ae80174 - 3.09% (7.49 MB)
[#014] sha256:39dff6e63145d418d6849f06849c890dff5344c0053bd45a5e47fe8e7da90661 - 26.05% (63 MB)
[#015] sha256:d619221eece7efa3dbb30965a6f9fc975777dba5f2ce7058f9476e689b981141 - 9.55% (23.1 MB)
[#016] sha256:b507cc9d8c14914e744a195e4e9dc8121506011e01e0d59c11a308d92d530329 - 3.18% (7.69 MB)
ADD alpine-minirootfs-3.21.3-x86.tar.gz / # buildkit
2025-02-14 03:28:36 UTC (buildkit.dockerfile.v0)CMD ["/bin/sh"]
2025-05-08 18:32:48 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-05-08 18:32:48 UTC (buildkit.dockerfile.v0)ENV GOSU_VERSION=1.17
2025-05-08 18:32:48 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-05-08 18:32:48 UTC (buildkit.dockerfile.v0)ENV LANG=en_US.utf8
2025-05-08 18:32:48 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c mkdir /docker-entrypoint-initdb.d # buildkit
2025-05-08 18:32:48 UTC (buildkit.dockerfile.v0)ENV PG_MAJOR=17
2025-05-08 18:32:48 UTC (buildkit.dockerfile.v0)ENV PG_VERSION=17.5
2025-05-08 18:32:48 UTC (buildkit.dockerfile.v0)ENV PG_SHA256=fcb7ab38e23b264d1902cb25e6adafb4525a6ebcbd015434aeef9eda80f528d8
2025-05-08 18:32:48 UTC (buildkit.dockerfile.v0)ENV DOCKER_PG_LLVM_DEPS=llvm19-dev clang19
2025-05-08 18:32:48 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-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-05-08 18:32:48 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-05-08 18:32:48 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c install --verbose --directory --owner postgres --group postgres --mode 3777 /var/run/postgresql # buildkit
2025-05-08 18:32:48 UTC (buildkit.dockerfile.v0)ENV PGDATA=/var/lib/postgresql/data
2025-05-08 18:32:48 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c install --verbose --directory --owner postgres --group postgres --mode 1777 "$PGDATA" # buildkit
2025-05-08 18:32:48 UTC (buildkit.dockerfile.v0)VOLUME [/var/lib/postgresql/data]
2025-05-08 18:32:48 UTC (buildkit.dockerfile.v0)COPY docker-entrypoint.sh docker-ensure-initdb.sh /usr/local/bin/ # buildkit
2025-05-08 18:32:48 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c ln -sT docker-ensure-initdb.sh /usr/local/bin/docker-enforce-initdb.sh # buildkit
2025-05-08 18:32:48 UTC (buildkit.dockerfile.v0)ENTRYPOINT ["docker-entrypoint.sh"]
2025-05-08 18:32:48 UTC (buildkit.dockerfile.v0)STOPSIGNAL SIGINT
2025-05-08 18:32:48 UTC (buildkit.dockerfile.v0)EXPOSE map[5432/tcp:{}]
2025-05-08 18:32:48 UTC (buildkit.dockerfile.v0)CMD ["postgres"]
2025-06-02 13:00:51 UTC (buildkit.dockerfile.v0)ARG OSS_ONLY
2025-06-02 13:00:51 UTC (buildkit.dockerfile.v0)LABEL maintainer=Timescale https://www.timescale.com
2025-06-02 13:00:51 UTC (buildkit.dockerfile.v0)ARG PG_VERSION=17
2025-06-02 13:00:51 UTC (buildkit.dockerfile.v0)ARG PG_MAJOR_VERSION=17
2025-06-02 13:00:51 UTC (buildkit.dockerfile.v0)ARG ALPINE_VERSION=3.21
2025-06-02 13:00:51 UTC (buildkit.dockerfile.v0)RUN |4 OSS_ONLY= PG_VERSION=17 PG_MAJOR_VERSION=17 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-06-02 13:00:51 UTC (buildkit.dockerfile.v0)ARG PGVECTOR_VERSION=v0.7.2
2025-06-02 13:00:51 UTC (buildkit.dockerfile.v0)ARG PG_VERSION=17
2025-06-02 13:00:51 UTC (buildkit.dockerfile.v0)ARG CLANG_VERSION=19
2025-06-02 13:00:51 UTC (buildkit.dockerfile.v0)ARG PG_MAJOR_VERSION=17
2025-06-02 13:02:21 UTC (buildkit.dockerfile.v0)RUN |6 OSS_ONLY= PG_VERSION=17 PG_MAJOR_VERSION=17 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; make install; apk del .vector-deps; # buildkit
2025-06-02 13:02:21 UTC (buildkit.dockerfile.v0)COPY docker-entrypoint-initdb.d/* /docker-entrypoint-initdb.d/ # buildkit
2025-06-02 13:03:06 UTC (buildkit.dockerfile.v0)COPY /go/bin/* /usr/local/bin/ # buildkit
2025-06-02 13:03:06 UTC (buildkit.dockerfile.v0)COPY /usr/local/lib/postgresql/timescaledb-*.so /usr/local/lib/postgresql/ # buildkit
2025-06-02 13:03:06 UTC (buildkit.dockerfile.v0)COPY /usr/local/share/postgresql/extension/timescaledb--*.sql /usr/local/share/postgresql/extension/ # buildkit
2025-06-02 13:03:06 UTC (buildkit.dockerfile.v0)ARG TS_VERSION=2.20.2
2025-06-02 13:08:50 UTC (buildkit.dockerfile.v0)RUN |7 OSS_ONLY= PG_VERSION=17 PG_MAJOR_VERSION=17 ALPINE_VERSION=3.21 PGVECTOR_VERSION=v0.7.2 CLANG_VERSION=19 TS_VERSION=2.20.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-06-02 13:08:08 UTC
239 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_MAJOR17
PG_SHA256fcb7ab38e23b264d1902cb25e6adafb4525a6ebcbd015434aeef9eda80f528d8
PG_VERSION17.5
[#000] sha256:f18232174bc91741fdf3da96d85011092101a032a93a388b79e99e69c2d5c870 - 1.46% (3.47 MB)
[#001] sha256:3dac3732ccfc6f66fb60e4151af2fd767ce8cb07e0e06d6fd900a731633a00f8 - 0.0% (971 Bytes)
[#002] sha256:65108980cce7b30b537fe16efa7f4b5bccbf7b9e0355569392586461ff65a996 - 0.45% (1.07 MB)
[#003] sha256:ec9e131e4f9be3b02de1a79c71d51f33cb74bbaa880d0af67bb37e2c60a13ca6 - 0.0% (116 Bytes)
[#004] sha256:7f9d770706d06d93eee3cfbc984eea799d37ef94fe520c20142b626a2414afd8 - 42.38% (101 MB)
[#005] sha256:2b8a382914918af7939f8267f9e2a3d06d38e8ebcdb672308c64f690ab17044c - 0.0% (9.65 KB)
[#006] sha256:baaf781905620e7c91707a46ff34a1c6a976167ef94a37b4afb844861a688877 - 0.0% (127 Bytes)
[#007] sha256:0b06af809646f179d6131eb8d23423d23153b5cf38b2106361f7c7970bb452b6 - 0.0% (171 Bytes)
[#008] sha256:49e1487501cefa9cc44e47fa844b6ce27dbf916fab7d7b94a38a492fa77dbd73 - 0.0% (5.34 KB)
[#009] sha256:24be9e72e249afc269d0e76e5596817c7346ac8e667b0fa059a17e62daa8b2c7 - 0.0% (185 Bytes)
[#010] sha256:aa7aeb091d25dd3df20543672115a3a35602e7aef7324d4d83e737ff89538e35 - 9.69% (23.1 MB)
[#011] sha256:bbac646f8a4c077db7003d6467fc3339da4fd776c199353a3de300a330697ac3 - 2.23% (5.33 MB)
[#012] sha256:37f9d0080d420f26e41bd02526a67604d2a77772995e0d5195cfe80806c43a83 - 0.0% (2.08 KB)
[#013] sha256:dae49e45cafbb14317a6569a98bb387fc695fa7a1c6fbb3a4ce1781a8e6e4d42 - 3.27% (7.79 MB)
[#014] sha256:e9d0ab78069cb49c60c1b46b953f9000df82fa44cb20bf33a2e1850265655379 - 27.49% (65.6 MB)
[#015] sha256:23b503a33a5db1af4a2bd9f39abc82c05016e37ffddd28c005e79259d415d1df - 9.69% (23.1 MB)
[#016] sha256:ae73de08cb8f263abb848b0388b98db7c52e7fd8783bb3c2af8626d249286337 - 3.34% (7.96 MB)
ADD alpine-minirootfs-3.21.3-x86_64.tar.gz / # buildkit
2025-02-14 03:28:36 UTC (buildkit.dockerfile.v0)CMD ["/bin/sh"]
2025-05-08 18:32:48 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-05-08 18:32:48 UTC (buildkit.dockerfile.v0)ENV GOSU_VERSION=1.17
2025-05-08 18:32:48 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-05-08 18:32:48 UTC (buildkit.dockerfile.v0)ENV LANG=en_US.utf8
2025-05-08 18:32:48 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c mkdir /docker-entrypoint-initdb.d # buildkit
2025-05-08 18:32:48 UTC (buildkit.dockerfile.v0)ENV PG_MAJOR=17
2025-05-08 18:32:48 UTC (buildkit.dockerfile.v0)ENV PG_VERSION=17.5
2025-05-08 18:32:48 UTC (buildkit.dockerfile.v0)ENV PG_SHA256=fcb7ab38e23b264d1902cb25e6adafb4525a6ebcbd015434aeef9eda80f528d8
2025-05-08 18:32:48 UTC (buildkit.dockerfile.v0)ENV DOCKER_PG_LLVM_DEPS=llvm19-dev clang19
2025-05-08 18:32:48 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-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-05-08 18:32:48 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-05-08 18:32:48 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c install --verbose --directory --owner postgres --group postgres --mode 3777 /var/run/postgresql # buildkit
2025-05-08 18:32:48 UTC (buildkit.dockerfile.v0)ENV PGDATA=/var/lib/postgresql/data
2025-05-08 18:32:48 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c install --verbose --directory --owner postgres --group postgres --mode 1777 "$PGDATA" # buildkit
2025-05-08 18:32:48 UTC (buildkit.dockerfile.v0)VOLUME [/var/lib/postgresql/data]
2025-05-08 18:32:48 UTC (buildkit.dockerfile.v0)COPY docker-entrypoint.sh docker-ensure-initdb.sh /usr/local/bin/ # buildkit
2025-05-08 18:32:48 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c ln -sT docker-ensure-initdb.sh /usr/local/bin/docker-enforce-initdb.sh # buildkit
2025-05-08 18:32:48 UTC (buildkit.dockerfile.v0)ENTRYPOINT ["docker-entrypoint.sh"]
2025-05-08 18:32:48 UTC (buildkit.dockerfile.v0)STOPSIGNAL SIGINT
2025-05-08 18:32:48 UTC (buildkit.dockerfile.v0)EXPOSE map[5432/tcp:{}]
2025-05-08 18:32:48 UTC (buildkit.dockerfile.v0)CMD ["postgres"]
2025-06-02 13:00:51 UTC (buildkit.dockerfile.v0)ARG OSS_ONLY
2025-06-02 13:00:51 UTC (buildkit.dockerfile.v0)LABEL maintainer=Timescale https://www.timescale.com
2025-06-02 13:00:51 UTC (buildkit.dockerfile.v0)ARG PG_VERSION=17
2025-06-02 13:00:51 UTC (buildkit.dockerfile.v0)ARG PG_MAJOR_VERSION=17
2025-06-02 13:00:51 UTC (buildkit.dockerfile.v0)ARG ALPINE_VERSION=3.21
2025-06-02 13:00:51 UTC (buildkit.dockerfile.v0)RUN |4 OSS_ONLY= PG_VERSION=17 PG_MAJOR_VERSION=17 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-06-02 13:00:51 UTC (buildkit.dockerfile.v0)ARG PGVECTOR_VERSION=v0.7.2
2025-06-02 13:00:51 UTC (buildkit.dockerfile.v0)ARG PG_VERSION=17
2025-06-02 13:00:51 UTC (buildkit.dockerfile.v0)ARG CLANG_VERSION=19
2025-06-02 13:00:51 UTC (buildkit.dockerfile.v0)ARG PG_MAJOR_VERSION=17
2025-06-02 13:02:19 UTC (buildkit.dockerfile.v0)RUN |6 OSS_ONLY= PG_VERSION=17 PG_MAJOR_VERSION=17 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; make install; apk del .vector-deps; # buildkit
2025-06-02 13:02:19 UTC (buildkit.dockerfile.v0)COPY docker-entrypoint-initdb.d/* /docker-entrypoint-initdb.d/ # buildkit
2025-06-02 13:02:48 UTC (buildkit.dockerfile.v0)COPY /go/bin/* /usr/local/bin/ # buildkit
2025-06-02 13:02:48 UTC (buildkit.dockerfile.v0)COPY /usr/local/lib/postgresql/timescaledb-*.so /usr/local/lib/postgresql/ # buildkit
2025-06-02 13:02:49 UTC (buildkit.dockerfile.v0)COPY /usr/local/share/postgresql/extension/timescaledb--*.sql /usr/local/share/postgresql/extension/ # buildkit
2025-06-02 13:02:49 UTC (buildkit.dockerfile.v0)ARG TS_VERSION=2.20.2
2025-06-02 13:08:08 UTC (buildkit.dockerfile.v0)RUN |7 OSS_ONLY= PG_VERSION=17 PG_MAJOR_VERSION=17 ALPINE_VERSION=3.21 PGVECTOR_VERSION=v0.7.2 CLANG_VERSION=19 TS_VERSION=2.20.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-06-02 13:40:15 UTC
215 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_MAJOR17
PG_SHA256fcb7ab38e23b264d1902cb25e6adafb4525a6ebcbd015434aeef9eda80f528d8
PG_VERSION17.5
[#000] sha256:76099982f06682e28a60c3b774ef20931d07b0a2f551203484e633d8c0361ee7 - 1.49% (3.21 MB)
[#001] sha256:62e8cc19bee9308afcbf52843a00e4ef4972c49cf21acd9b92368cecf528ff49 - 0.0% (972 Bytes)
[#002] sha256:781627176b8f9e10a830d9e3a634776cd0db6531992b444881c58b767652e146 - 0.48% (1.04 MB)
[#003] sha256:e8d02770e2c9e59d06a2bd5c652ffcad00b9acafe2e323aff7bd4c2aed933707 - 0.0% (116 Bytes)
[#004] sha256:19aa3b8f6aa328a208b530b4d488bad275631bb10e40db5a77b0bd0aef778c73 - 38.05% (81.9 MB)
[#005] sha256:9e1569abdc8c7e09ab6de71da82409a23dc55ecc08f8c6ed6641ba50cb090e5a - 0.0% (9.65 KB)
[#006] sha256:5fcc79dacbb5e09ee4fc5fe907972863df064e4d6228a7982a15801ae61c167e - 0.0% (128 Bytes)
[#007] sha256:b941acca171aac10e7c276f24957778f4fb364884ca98db3b0c51a0c3f168f1b - 0.0% (169 Bytes)
[#008] sha256:650b563b55b08783de01b6b84869e92c1403644da0e5ef23981b949a89888234 - 0.0% (5.35 KB)
[#009] sha256:a808a4a62a5651e2e764a28c2538b333bf749fc0793e20f4c78abddaf5a15123 - 0.0% (183 Bytes)
[#010] sha256:e52564d70a2724965982ddaef7dfa9ab30300fe547dbfaf4f46ae2a465cda280 - 10.31% (22.2 MB)
[#011] sha256:086b3751c6d3db1f97102869bd3a3038a2098438a53ca1d7301c2cf4980054c5 - 2.27% (4.89 MB)
[#012] sha256:7e073b2a8edd2b599af935e7de2aebf68febfa4ece2fedfaf120c48002be5b39 - 0.0% (2.08 KB)
[#013] sha256:283e8a6117d6af37f46b2d822c989f79079d83b532e07ee5ecab3b65bc433f27 - 3.37% (7.25 MB)
[#014] sha256:b353ff8db7b6c457f01f2e80590c9fb4ac315a5c20217051d946cf9f5d0f6cf7 - 29.66% (63.8 MB)
[#015] sha256:3bc6c5a434e4d356f6e75e6eae042a130d99093afc0e8ce579cc4fefe21c9524 - 10.74% (23.1 MB)
[#016] sha256:da91318913caa81b5dc193afda0221362bee04085ee545c36ad0650414cef958 - 3.61% (7.77 MB)
ADD alpine-minirootfs-3.21.3-armhf.tar.gz / # buildkit
2025-02-14 03:28:36 UTC (buildkit.dockerfile.v0)CMD ["/bin/sh"]
2025-05-08 18:32:48 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-05-08 18:32:48 UTC (buildkit.dockerfile.v0)ENV GOSU_VERSION=1.17
2025-05-08 18:32:48 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-05-08 18:32:48 UTC (buildkit.dockerfile.v0)ENV LANG=en_US.utf8
2025-05-08 18:32:48 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c mkdir /docker-entrypoint-initdb.d # buildkit
2025-05-08 18:32:48 UTC (buildkit.dockerfile.v0)ENV PG_MAJOR=17
2025-05-08 18:32:48 UTC (buildkit.dockerfile.v0)ENV PG_VERSION=17.5
2025-05-08 18:32:48 UTC (buildkit.dockerfile.v0)ENV PG_SHA256=fcb7ab38e23b264d1902cb25e6adafb4525a6ebcbd015434aeef9eda80f528d8
2025-05-08 18:32:48 UTC (buildkit.dockerfile.v0)ENV DOCKER_PG_LLVM_DEPS=llvm19-dev clang19
2025-05-08 18:32:48 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-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-05-08 18:32:48 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-05-08 18:32:48 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c install --verbose --directory --owner postgres --group postgres --mode 3777 /var/run/postgresql # buildkit
2025-05-08 18:32:48 UTC (buildkit.dockerfile.v0)ENV PGDATA=/var/lib/postgresql/data
2025-05-08 18:32:48 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c install --verbose --directory --owner postgres --group postgres --mode 1777 "$PGDATA" # buildkit
2025-05-08 18:32:48 UTC (buildkit.dockerfile.v0)VOLUME [/var/lib/postgresql/data]
2025-05-08 18:32:48 UTC (buildkit.dockerfile.v0)COPY docker-entrypoint.sh docker-ensure-initdb.sh /usr/local/bin/ # buildkit
2025-05-08 18:32:48 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c ln -sT docker-ensure-initdb.sh /usr/local/bin/docker-enforce-initdb.sh # buildkit
2025-05-08 18:32:48 UTC (buildkit.dockerfile.v0)ENTRYPOINT ["docker-entrypoint.sh"]
2025-05-08 18:32:48 UTC (buildkit.dockerfile.v0)STOPSIGNAL SIGINT
2025-05-08 18:32:48 UTC (buildkit.dockerfile.v0)EXPOSE map[5432/tcp:{}]
2025-05-08 18:32:48 UTC (buildkit.dockerfile.v0)CMD ["postgres"]
2025-06-02 13:01:46 UTC (buildkit.dockerfile.v0)ARG OSS_ONLY
2025-06-02 13:01:46 UTC (buildkit.dockerfile.v0)LABEL maintainer=Timescale https://www.timescale.com
2025-06-02 13:01:46 UTC (buildkit.dockerfile.v0)ARG PG_VERSION=17
2025-06-02 13:01:46 UTC (buildkit.dockerfile.v0)ARG PG_MAJOR_VERSION=17
2025-06-02 13:01:46 UTC (buildkit.dockerfile.v0)ARG ALPINE_VERSION=3.21
2025-06-02 13:01:46 UTC (buildkit.dockerfile.v0)RUN |4 OSS_ONLY= PG_VERSION=17 PG_MAJOR_VERSION=17 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-06-02 13:01:46 UTC (buildkit.dockerfile.v0)ARG PGVECTOR_VERSION=v0.7.2
2025-06-02 13:01:46 UTC (buildkit.dockerfile.v0)ARG PG_VERSION=17
2025-06-02 13:01:46 UTC (buildkit.dockerfile.v0)ARG CLANG_VERSION=19
2025-06-02 13:01:46 UTC (buildkit.dockerfile.v0)ARG PG_MAJOR_VERSION=17
2025-06-02 13:11:49 UTC (buildkit.dockerfile.v0)RUN |6 OSS_ONLY= PG_VERSION=17 PG_MAJOR_VERSION=17 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; make install; apk del .vector-deps; # buildkit
2025-06-02 13:11:49 UTC (buildkit.dockerfile.v0)COPY docker-entrypoint-initdb.d/* /docker-entrypoint-initdb.d/ # buildkit
2025-06-02 13:17:46 UTC (buildkit.dockerfile.v0)COPY /go/bin/* /usr/local/bin/ # buildkit
2025-06-02 13:17:46 UTC (buildkit.dockerfile.v0)COPY /usr/local/lib/postgresql/timescaledb-*.so /usr/local/lib/postgresql/ # buildkit
2025-06-02 13:17:47 UTC (buildkit.dockerfile.v0)COPY /usr/local/share/postgresql/extension/timescaledb--*.sql /usr/local/share/postgresql/extension/ # buildkit
2025-06-02 13:17:47 UTC (buildkit.dockerfile.v0)ARG TS_VERSION=2.20.2
2025-06-02 13:40:15 UTC (buildkit.dockerfile.v0)RUN |7 OSS_ONLY= PG_VERSION=17 PG_MAJOR_VERSION=17 ALPINE_VERSION=3.21 PGVECTOR_VERSION=v0.7.2 CLANG_VERSION=19 TS_VERSION=2.20.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-06-02 13:40:28 UTC
210 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_MAJOR17
PG_SHA256fcb7ab38e23b264d1902cb25e6adafb4525a6ebcbd015434aeef9eda80f528d8
PG_VERSION17.5
[#000] sha256:85f3b18f9f5a8655db86c6dfb02bb01011ffef63d10a173843c5c65c3e9137b7 - 1.41% (2.95 MB)
[#001] sha256:3ada47321bd0e89157bae4052aa7de0b68f59e22e5aa8ed76cb27a9a4fb2758b - 0.0% (973 Bytes)
[#002] sha256:997421b050761e5bc8fffaa3538a99a0dfde2e21a4b3c0d5f0432f97e3b5127d - 0.49% (1.04 MB)
[#003] sha256:2254c9bfb60716e855593990632ba5474ac42c7a065d45aa04f922b0ee39f083 - 0.0% (116 Bytes)
[#004] sha256:a1721ac7a4178a855ef732bff747545d7942da4ec95f6795d4643df632e675fe - 36.99% (77.5 MB)
[#005] sha256:7a803adc1dcc5b57b0fc1ef7afb9688f6e8e995100b706b38e03920a63dd2fab - 0.0% (9.65 KB)
[#006] sha256:2bff139362b56e8f1806047b104001fdf800977899ff6ee1dcfeb660730426b2 - 0.0% (127 Bytes)
[#007] sha256:5a80a1a167d32183ff964e1b2314cd47027c14c5d1941f9c24d545f026f5394a - 0.0% (171 Bytes)
[#008] sha256:31a4d6cb63eeb4349b64c9076b09575b5937e6d6da78fff62ba9aeb6222399d5 - 0.0% (5.34 KB)
[#009] sha256:803ce2f0b379184aba7b210a6eef0673b6213d4bc71bcea9bd2d5807331679a3 - 0.0% (185 Bytes)
[#010] sha256:e5c32fe7c8f8eb7487af54320b3ce2ecc873fa3fc09ca40821c729e00c03594d - 10.28% (21.5 MB)
[#011] sha256:18abebf51cd39d928343b39e65ad08f996ae31b0c22e4d5ec884908aca2ee249 - 2.41% (5.06 MB)
[#012] sha256:d751565456a6f4d85f508198c9fdfc88f7cfdac47d57bbfa5a346c44487763e5 - 0.0% (2.08 KB)
[#013] sha256:6eb4d890ee1c2e2616520f2994a00435983fe44f16c286437390d090828fa4c1 - 3.45% (7.23 MB)
[#014] sha256:1036b340f6764baac8f7bc8a37aea3eac095508e695eaf2f38e5eb70bd78f912 - 30.24% (63.4 MB)
[#015] sha256:e9b6941294e878c2835475ef10b76ddcb20711939693520fc2a45b9c94dfb8d8 - 11.03% (23.1 MB)
[#016] sha256:44831898e2447e04dc75b3fc916527585e98eca6b0ae23954aeb52cbf36e91e0 - 3.69% (7.73 MB)
ADD alpine-minirootfs-3.21.3-armv7.tar.gz / # buildkit
2025-02-14 03:28:36 UTC (buildkit.dockerfile.v0)CMD ["/bin/sh"]
2025-05-08 18:32:48 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-05-08 18:32:48 UTC (buildkit.dockerfile.v0)ENV GOSU_VERSION=1.17
2025-05-08 18:32:48 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-05-08 18:32:48 UTC (buildkit.dockerfile.v0)ENV LANG=en_US.utf8
2025-05-08 18:32:48 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c mkdir /docker-entrypoint-initdb.d # buildkit
2025-05-08 18:32:48 UTC (buildkit.dockerfile.v0)ENV PG_MAJOR=17
2025-05-08 18:32:48 UTC (buildkit.dockerfile.v0)ENV PG_VERSION=17.5
2025-05-08 18:32:48 UTC (buildkit.dockerfile.v0)ENV PG_SHA256=fcb7ab38e23b264d1902cb25e6adafb4525a6ebcbd015434aeef9eda80f528d8
2025-05-08 18:32:48 UTC (buildkit.dockerfile.v0)ENV DOCKER_PG_LLVM_DEPS=llvm19-dev clang19
2025-05-08 18:32:48 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-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-05-08 18:32:48 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-05-08 18:32:48 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c install --verbose --directory --owner postgres --group postgres --mode 3777 /var/run/postgresql # buildkit
2025-05-08 18:32:48 UTC (buildkit.dockerfile.v0)ENV PGDATA=/var/lib/postgresql/data
2025-05-08 18:32:48 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c install --verbose --directory --owner postgres --group postgres --mode 1777 "$PGDATA" # buildkit
2025-05-08 18:32:48 UTC (buildkit.dockerfile.v0)VOLUME [/var/lib/postgresql/data]
2025-05-08 18:32:48 UTC (buildkit.dockerfile.v0)COPY docker-entrypoint.sh docker-ensure-initdb.sh /usr/local/bin/ # buildkit
2025-05-08 18:32:48 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c ln -sT docker-ensure-initdb.sh /usr/local/bin/docker-enforce-initdb.sh # buildkit
2025-05-08 18:32:48 UTC (buildkit.dockerfile.v0)ENTRYPOINT ["docker-entrypoint.sh"]
2025-05-08 18:32:48 UTC (buildkit.dockerfile.v0)STOPSIGNAL SIGINT
2025-05-08 18:32:48 UTC (buildkit.dockerfile.v0)EXPOSE map[5432/tcp:{}]
2025-05-08 18:32:48 UTC (buildkit.dockerfile.v0)CMD ["postgres"]
2025-06-02 13:01:39 UTC (buildkit.dockerfile.v0)ARG OSS_ONLY
2025-06-02 13:01:39 UTC (buildkit.dockerfile.v0)LABEL maintainer=Timescale https://www.timescale.com
2025-06-02 13:01:39 UTC (buildkit.dockerfile.v0)ARG PG_VERSION=17
2025-06-02 13:01:39 UTC (buildkit.dockerfile.v0)ARG PG_MAJOR_VERSION=17
2025-06-02 13:01:39 UTC (buildkit.dockerfile.v0)ARG ALPINE_VERSION=3.21
2025-06-02 13:01:39 UTC (buildkit.dockerfile.v0)RUN |4 OSS_ONLY= PG_VERSION=17 PG_MAJOR_VERSION=17 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-06-02 13:01:39 UTC (buildkit.dockerfile.v0)ARG PGVECTOR_VERSION=v0.7.2
2025-06-02 13:01:39 UTC (buildkit.dockerfile.v0)ARG PG_VERSION=17
2025-06-02 13:01:39 UTC (buildkit.dockerfile.v0)ARG CLANG_VERSION=19
2025-06-02 13:01:39 UTC (buildkit.dockerfile.v0)ARG PG_MAJOR_VERSION=17
2025-06-02 13:11:43 UTC (buildkit.dockerfile.v0)RUN |6 OSS_ONLY= PG_VERSION=17 PG_MAJOR_VERSION=17 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; make install; apk del .vector-deps; # buildkit
2025-06-02 13:11:43 UTC (buildkit.dockerfile.v0)COPY docker-entrypoint-initdb.d/* /docker-entrypoint-initdb.d/ # buildkit
2025-06-02 13:17:43 UTC (buildkit.dockerfile.v0)COPY /go/bin/* /usr/local/bin/ # buildkit
2025-06-02 13:17:43 UTC (buildkit.dockerfile.v0)COPY /usr/local/lib/postgresql/timescaledb-*.so /usr/local/lib/postgresql/ # buildkit
2025-06-02 13:17:44 UTC (buildkit.dockerfile.v0)COPY /usr/local/share/postgresql/extension/timescaledb--*.sql /usr/local/share/postgresql/extension/ # buildkit
2025-06-02 13:17:44 UTC (buildkit.dockerfile.v0)ARG TS_VERSION=2.20.2
2025-06-02 13:40:28 UTC (buildkit.dockerfile.v0)RUN |7 OSS_ONLY= PG_VERSION=17 PG_MAJOR_VERSION=17 ALPINE_VERSION=3.21 PGVECTOR_VERSION=v0.7.2 CLANG_VERSION=19 TS_VERSION=2.20.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-06-02 13:41:12 UTC
232 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_MAJOR17
PG_SHA256fcb7ab38e23b264d1902cb25e6adafb4525a6ebcbd015434aeef9eda80f528d8
PG_VERSION17.5
[#000] sha256:6e771e15690e2fabf2332d3a3b744495411d6e0b00b2aea64419b58b0066cf81 - 1.64% (3.81 MB)
[#001] sha256:80d2520a24d998204e8ceb4a9de65be79f4682dff9f4c13754ea7d80be740d07 - 0.0% (973 Bytes)
[#002] sha256:f902a55e1f5ccbc0e968f96c95c6407849a74f82c937ab32c0942e65f92a0da2 - 0.43% (1 MB)
[#003] sha256:6af5f785d6f68fbec2825897b79493de10fb30d51fc083e4cd1a9118a64b858c - 0.0% (116 Bytes)
[#004] sha256:7f301e56214476c4d7eee20b1bdda2df16cb54de247920e70babaa4d7eff0247 - 41.8% (96.9 MB)
[#005] sha256:d96943a6b7d0b6e2fd6420cb6c1407e3feda835e8ef00b3c0fb1969c21fa33ee - 0.0% (9.65 KB)
[#006] sha256:3848f1ec9d548715452a7dd84f483aae834a3a2f12e972f06c07db842547a7be - 0.0% (124 Bytes)
[#007] sha256:f3042323a8a8b3b468e3da0c02941a7ca7543522152bd69c2219f49a62223200 - 0.0% (170 Bytes)
[#008] sha256:06fddcaebcf51f838d8e26d288a7a1a20ed91d69585de0e070cf2c0b86776888 - 0.0% (5.34 KB)
[#009] sha256:35d1e0a06223c3740d5d571d5147f25ecf1987e50111c468de8d6fafae77a9b2 - 0.0% (182 Bytes)
[#010] sha256:6fcd0cfbc1c93028e23545cf71fcfb0f73078a1ba4f441e09be37efc6c49f742 - 9.9% (22.9 MB)
[#011] sha256:2e6fe662c2c47a8d1a1e5fcea7e5d6ff2c916e995a787e054b611099c519bc13 - 2.27% (5.26 MB)
[#012] sha256:aacee3da16fb4b7bc9c61d6acfc40e87b10cf9c472f2cd8810292c7651a72368 - 0.0% (2.08 KB)
[#013] sha256:5d25f64f751c11dde0a723b6a65f3d4bb7e7a516ba87b4a23fb423e09eb802c2 - 3.16% (7.33 MB)
[#014] sha256:0ff30a39bf0ac0ee5e5ab2cd201b0e579077d7ab813c60906f8acc3fe365f5db - 27.47% (63.7 MB)
[#015] sha256:4d71cc45b3898db0b3a11558b02d29c438728fedb47fe80b7ebbbdf7f9185d50 - 9.97% (23.1 MB)
[#016] sha256:bc545623bb3beb2f29a87655762e0f387601f1e04088834923d7df99a801b889 - 3.35% (7.75 MB)
ADD alpine-minirootfs-3.21.3-aarch64.tar.gz / # buildkit
2025-02-14 03:28:36 UTC (buildkit.dockerfile.v0)CMD ["/bin/sh"]
2025-05-08 18:32:48 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-05-08 18:32:48 UTC (buildkit.dockerfile.v0)ENV GOSU_VERSION=1.17
2025-05-08 18:32:48 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-05-08 18:32:48 UTC (buildkit.dockerfile.v0)ENV LANG=en_US.utf8
2025-05-08 18:32:48 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c mkdir /docker-entrypoint-initdb.d # buildkit
2025-05-08 18:32:48 UTC (buildkit.dockerfile.v0)ENV PG_MAJOR=17
2025-05-08 18:32:48 UTC (buildkit.dockerfile.v0)ENV PG_VERSION=17.5
2025-05-08 18:32:48 UTC (buildkit.dockerfile.v0)ENV PG_SHA256=fcb7ab38e23b264d1902cb25e6adafb4525a6ebcbd015434aeef9eda80f528d8
2025-05-08 18:32:48 UTC (buildkit.dockerfile.v0)ENV DOCKER_PG_LLVM_DEPS=llvm19-dev clang19
2025-05-08 18:32:48 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-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-05-08 18:32:48 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-05-08 18:32:48 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c install --verbose --directory --owner postgres --group postgres --mode 3777 /var/run/postgresql # buildkit
2025-05-08 18:32:48 UTC (buildkit.dockerfile.v0)ENV PGDATA=/var/lib/postgresql/data
2025-05-08 18:32:48 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c install --verbose --directory --owner postgres --group postgres --mode 1777 "$PGDATA" # buildkit
2025-05-08 18:32:48 UTC (buildkit.dockerfile.v0)VOLUME [/var/lib/postgresql/data]
2025-05-08 18:32:48 UTC (buildkit.dockerfile.v0)COPY docker-entrypoint.sh docker-ensure-initdb.sh /usr/local/bin/ # buildkit
2025-05-08 18:32:48 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c ln -sT docker-ensure-initdb.sh /usr/local/bin/docker-enforce-initdb.sh # buildkit
2025-05-08 18:32:48 UTC (buildkit.dockerfile.v0)ENTRYPOINT ["docker-entrypoint.sh"]
2025-05-08 18:32:48 UTC (buildkit.dockerfile.v0)STOPSIGNAL SIGINT
2025-05-08 18:32:48 UTC (buildkit.dockerfile.v0)EXPOSE map[5432/tcp:{}]
2025-05-08 18:32:48 UTC (buildkit.dockerfile.v0)CMD ["postgres"]
2025-06-02 13:01:53 UTC (buildkit.dockerfile.v0)ARG OSS_ONLY
2025-06-02 13:01:53 UTC (buildkit.dockerfile.v0)LABEL maintainer=Timescale https://www.timescale.com
2025-06-02 13:01:53 UTC (buildkit.dockerfile.v0)ARG PG_VERSION=17
2025-06-02 13:01:53 UTC (buildkit.dockerfile.v0)ARG PG_MAJOR_VERSION=17
2025-06-02 13:01:53 UTC (buildkit.dockerfile.v0)ARG ALPINE_VERSION=3.21
2025-06-02 13:01:53 UTC (buildkit.dockerfile.v0)RUN |4 OSS_ONLY= PG_VERSION=17 PG_MAJOR_VERSION=17 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-06-02 13:01:53 UTC (buildkit.dockerfile.v0)ARG PGVECTOR_VERSION=v0.7.2
2025-06-02 13:01:53 UTC (buildkit.dockerfile.v0)ARG PG_VERSION=17
2025-06-02 13:01:53 UTC (buildkit.dockerfile.v0)ARG CLANG_VERSION=19
2025-06-02 13:01:53 UTC (buildkit.dockerfile.v0)ARG PG_MAJOR_VERSION=17
2025-06-02 13:12:06 UTC (buildkit.dockerfile.v0)RUN |6 OSS_ONLY= PG_VERSION=17 PG_MAJOR_VERSION=17 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; make install; apk del .vector-deps; # buildkit
2025-06-02 13:12:06 UTC (buildkit.dockerfile.v0)COPY docker-entrypoint-initdb.d/* /docker-entrypoint-initdb.d/ # buildkit
2025-06-02 13:17:24 UTC (buildkit.dockerfile.v0)COPY /go/bin/* /usr/local/bin/ # buildkit
2025-06-02 13:17:24 UTC (buildkit.dockerfile.v0)COPY /usr/local/lib/postgresql/timescaledb-*.so /usr/local/lib/postgresql/ # buildkit
2025-06-02 13:17:25 UTC (buildkit.dockerfile.v0)COPY /usr/local/share/postgresql/extension/timescaledb--*.sql /usr/local/share/postgresql/extension/ # buildkit
2025-06-02 13:17:25 UTC (buildkit.dockerfile.v0)ARG TS_VERSION=2.20.2
2025-06-02 13:41:12 UTC (buildkit.dockerfile.v0)RUN |7 OSS_ONLY= PG_VERSION=17 PG_MAJOR_VERSION=17 ALPINE_VERSION=3.21 PGVECTOR_VERSION=v0.7.2 CLANG_VERSION=19 TS_VERSION=2.20.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.