2025-08-12 05:38:27 UTC
303 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_SHA2564f62e133d22ea08a0401b0840920e26698644d01a80c34341fb732dd0a90ca5d
PG_VERSION15.13
[#000] sha256:b3d7db73e90671cb6b7925cc878d43a2781451bed256cf0626110f5386cdd4dc - 1.09% (3.31 MB)
[#001] sha256:8f570a16eaaa87c60b7af41d114fa1e406c856106931f2f60ae7f6cbc567ee6c - 0.0% (986 Bytes)
[#002] sha256:a41b7b67747d2e0059f0eea200a2c72704b0fac17a9fe1136d004dfc4e599ff5 - 0.35% (1.04 MB)
[#003] sha256:0cc44a1099d30ddcb882b88b82cd386b42773e500e4df0b6c9992064a98ee6e2 - 0.0% (174 Bytes)
[#004] sha256:e64b304ac1b6f0c6a69f9807d9331b48b8256bf24bf726547250705c21abb08a - 0.0% (116 Bytes)
[#005] sha256:9fc925346b1ac88e677b0387bc41f2cfe89fb6fcfdb6f7b646bcd82f38576347 - 30.6% (92.6 MB)
[#006] sha256:083bbbad8cb34036868e1c84b72897adacb548ad3b7141ba006ffd243919947b - 0.0% (9.22 KB)
[#007] sha256:e3b01554f526af222d3d45c1eb82000e06d7d33a9ff2a4322c0c310a506a10f7 - 0.0% (127 Bytes)
[#008] sha256:d3ba3213f39043e2d5746e4ebfabe4ccfea5d3ce589526e12c46741a4367c00f - 0.0% (169 Bytes)
[#009] sha256:b4cea87b347689c18af8be0f48b90f9e817cd095c3ee39132a06cee307ab646c - 0.0% (5.34 KB)
[#010] sha256:555db2796d323ddee28d553279667138a3b767330eefe7dbcf018fcba20c9ef5 - 0.0% (184 Bytes)
[#011] sha256:b7c6fab7ae08e6837c509cb6e89f20937e71046c0a6e428a46e164ce4e6d941b - 0.68% (2.07 MB)
[#012] sha256:2f82e9ef11b868cab6e358f65609f4039c9f54baf627d0e6a3762e96e80eac44 - 7.0% (21.2 MB)
[#013] sha256:bd0f5c1bd5b3189f8af0b35b3b8b70e47cc0cdac2dfcdc5da0a9b98137646995 - 0.0% (2.08 KB)
[#014] sha256:a684a3c174c9963703e23102d14d34e51b87f8d835dd9a1f7adc4b92885f0fda - 2.49% (7.55 MB)
[#015] sha256:dc5f0aeed962b7866ab34ac0a3a488485065680c3ec5c885507f0dc76e7af486 - 31.8% (96.3 MB)
[#016] sha256:e0f56d3fd0ec52f3c8c5f9c0b5bc64781bc667623c59208d0e3c48c131ace180 - 24.4% (73.9 MB)
[#017] sha256:0359cb9f2335d0a6ed8741a7340fa25df3a25d8dd63a5d7bd02c1b12551ebd1a - 1.57% (4.75 MB)
ADD alpine-minirootfs-3.20.6-x86.tar.gz / # buildkit
2025-02-14 03:00:07 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)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-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=15
2025-05-08 18:32:48 UTC (buildkit.dockerfile.v0)ENV PG_VERSION=15.13
2025-05-08 18:32:48 UTC (buildkit.dockerfile.v0)ENV PG_SHA256=4f62e133d22ea08a0401b0840920e26698644d01a80c34341fb732dd0a90ca5d
2025-05-08 18:32:48 UTC (buildkit.dockerfile.v0)ENV DOCKER_PG_LLVM_DEPS=llvm15-dev clang15
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/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-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-08-12 05:32:40 UTC (buildkit.dockerfile.v0)ARG OSS_ONLY= -DAPACHE_ONLY=1
2025-08-12 05:32:40 UTC (buildkit.dockerfile.v0)LABEL maintainer=Timescale https://www.timescale.com
2025-08-12 05:32:40 UTC (buildkit.dockerfile.v0)ARG PG_VERSION=15
2025-08-12 05:32:40 UTC (buildkit.dockerfile.v0)ARG PG_MAJOR_VERSION=15
2025-08-12 05:32:40 UTC (buildkit.dockerfile.v0)ARG ALPINE_VERSION=3.20
2025-08-12 05:32:40 UTC (buildkit.dockerfile.v0)RUN |4 OSS_ONLY= -DAPACHE_ONLY=1 PG_VERSION=15 PG_MAJOR_VERSION=15 ALPINE_VERSION=3.20 /bin/sh -c set -ex; echo "https://dl-cdn.alpinelinux.org/alpine/v${ALPINE_VERSION}/community/" >> /etc/apk/repositories; apk update; if [ "$PG_MAJOR_VERSION" -ge 16 ] ; then apk add --no-cache postgresql${PG_VERSION}-plpython3; fi # buildkit
2025-08-12 05:32:40 UTC (buildkit.dockerfile.v0)ARG PGVECTOR_VERSION=v0.7.2
2025-08-12 05:32:40 UTC (buildkit.dockerfile.v0)ARG PG_VERSION=15
2025-08-12 05:32:40 UTC (buildkit.dockerfile.v0)ARG CLANG_VERSION=15
2025-08-12 05:32:40 UTC (buildkit.dockerfile.v0)ARG PG_MAJOR_VERSION=15
2025-08-12 05:34:12 UTC (buildkit.dockerfile.v0)RUN |6 OSS_ONLY= -DAPACHE_ONLY=1 PG_VERSION=15 PG_MAJOR_VERSION=15 ALPINE_VERSION=3.20 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 OPTFLAGS=""; make install; apk del .vector-deps; # buildkit
2025-08-12 05:34:12 UTC (buildkit.dockerfile.v0)COPY docker-entrypoint-initdb.d/* /docker-entrypoint-initdb.d/ # buildkit
2025-08-12 05:35:13 UTC (buildkit.dockerfile.v0)COPY /go/bin/* /usr/local/bin/ # buildkit
2025-08-12 05:35:14 UTC (buildkit.dockerfile.v0)COPY /usr/local/lib/postgresql/timescaledb-*.so /usr/local/lib/postgresql/ # buildkit
2025-08-12 05:35:16 UTC (buildkit.dockerfile.v0)COPY /usr/local/share/postgresql/extension/timescaledb--*.sql /usr/local/share/postgresql/extension/ # buildkit
2025-08-12 05:35:16 UTC (buildkit.dockerfile.v0)ARG TS_VERSION=2.21.3
2025-08-12 05:38:27 UTC (buildkit.dockerfile.v0)RUN |7 OSS_ONLY= -DAPACHE_ONLY=1 PG_VERSION=15 PG_MAJOR_VERSION=15 ALPINE_VERSION=3.20 PGVECTOR_VERSION=v0.7.2 CLANG_VERSION=15 TS_VERSION=2.21.3 /bin/sh -c set -ex && apk add --no-cache --virtual .fetch-deps ca-certificates git openssl openssl-dev tar && mkdir -p /build/ && git clone https://github.com/timescale/timescaledb /build/timescaledb && apk add --no-cache --virtual .build-deps coreutils dpkg-dev dpkg gcc krb5-dev libc-dev make cmake util-linux-dev && cd /build/timescaledb && rm -fr build && git checkout ${TS_VERSION} && ./bootstrap -DCMAKE_BUILD_TYPE=RelWithDebInfo -DREGRESS_CHECKS=OFF -DTAP_CHECKS=OFF -DGENERATE_DOWNGRADE_SCRIPT=ON -DWARNINGS_AS_ERRORS=OFF -DPROJECT_INSTALL_METHOD="docker"${OSS_ONLY} && cd build && make install && cd ~ && if [ "${OSS_ONLY}" != "" ]; then rm -f $(pg_config --pkglibdir)/timescaledb-tsl-*.so; fi && apk del .fetch-deps .build-deps && rm -rf /build && sed -r -i "s/[#]*\s*(shared_preload_libraries)\s*=\s*'(.*)'/\1 = 'timescaledb,\2'/;s/,'/'/" /usr/local/share/postgresql/postgresql.conf.sample # buildkit
2025-08-12 05:37:35 UTC
303 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_SHA2564f62e133d22ea08a0401b0840920e26698644d01a80c34341fb732dd0a90ca5d
PG_VERSION15.13
[#000] sha256:0a9a5dfd008f05ebc27e4790db0709a29e527690c21bcbcd01481eaeb6bb49dc - 1.14% (3.46 MB)
[#001] sha256:c259fdfe51e9a6dc3715cf5474c11402a3262f40432966e245a186d4ea8ced7e - 0.0% (987 Bytes)
[#002] sha256:678cff7daef4758f05bdd564ad943d67c578bf8183bce0820b29ff11c408f3bd - 0.35% (1.07 MB)
[#003] sha256:6035710dcfda3536afec48ae8e6c8cbb505e52caf4b9e83151629d3cb177da3c - 0.0% (174 Bytes)
[#004] sha256:8a1f652aba56f08ba9907acbbbab5c2a8000e23068c9c124e19490b8db6808fd - 0.0% (116 Bytes)
[#005] sha256:d54f6bea316dcc0b01237f76c6f1ea1921dd35f33d4adf8cbdbc77fe6e3ead2d - 28.85% (87.4 MB)
[#006] sha256:6cdeafa7276235e21ff558554a7595642ff6c8ee130c3333ebe954c9b0357fc7 - 0.0% (9.23 KB)
[#007] sha256:6c40c6e3a2de572dcd74a909355b7778d008ae927222ee324f8455970d90e2f2 - 0.0% (127 Bytes)
[#008] sha256:c6e1fc4b898389d71df7dcef6b89c10aca1cc6282ee11717b72ceb17e02c1ae0 - 0.0% (171 Bytes)
[#009] sha256:937c3e5e562470ce03e14380110d34fbced80872e009ae79bc4dea7fb51417a9 - 0.0% (5.35 KB)
[#010] sha256:8c09314ad1482cc7f3350d10e2b2d5e920855ad9a5edbea0a2a69df3e7b347b1 - 0.0% (183 Bytes)
[#011] sha256:3ee6faa3ba28bd092f77718559e59b119c8e7e2319df5abf44ed2c4df658c81e - 0.73% (2.22 MB)
[#012] sha256:ad304db44997ea7dc0c7a8970ffe777bbbdd073bdb5cac77f6a2c7be0df0e356 - 7.07% (21.4 MB)
[#013] sha256:3fa30917f624c9f79a5946d0b1a18c8081509ce2efbd1767bdd39d9adc293edb - 0.0% (2.08 KB)
[#014] sha256:9cfcf55e78eb1050c26699243e8f17ef6f56b09b9360c1d481963e445db05144 - 2.59% (7.85 MB)
[#015] sha256:5f7f2ed8aa4ee386509eb7aa82e6ae959fcea5166fd7c8399d9fe3065ab3b699 - 33.26% (101 MB)
[#016] sha256:fca350766d4af6b31f2d8028f9e949f05f9e3f392664f8dbeeefe14ec1e87bfc - 24.39% (73.9 MB)
[#017] sha256:ddbe28d0ae3f73fd3d6feb908c88716330ae7a435af3e3fe9bbd180802799342 - 1.6% (4.85 MB)
ADD alpine-minirootfs-3.20.6-x86_64.tar.gz / # buildkit
2025-02-14 03:00:07 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)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-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=15
2025-05-08 18:32:48 UTC (buildkit.dockerfile.v0)ENV PG_VERSION=15.13
2025-05-08 18:32:48 UTC (buildkit.dockerfile.v0)ENV PG_SHA256=4f62e133d22ea08a0401b0840920e26698644d01a80c34341fb732dd0a90ca5d
2025-05-08 18:32:48 UTC (buildkit.dockerfile.v0)ENV DOCKER_PG_LLVM_DEPS=llvm15-dev clang15
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/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-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-08-12 05:32:48 UTC (buildkit.dockerfile.v0)ARG OSS_ONLY= -DAPACHE_ONLY=1
2025-08-12 05:32:48 UTC (buildkit.dockerfile.v0)LABEL maintainer=Timescale https://www.timescale.com
2025-08-12 05:32:48 UTC (buildkit.dockerfile.v0)ARG PG_VERSION=15
2025-08-12 05:32:48 UTC (buildkit.dockerfile.v0)ARG PG_MAJOR_VERSION=15
2025-08-12 05:32:48 UTC (buildkit.dockerfile.v0)ARG ALPINE_VERSION=3.20
2025-08-12 05:32:48 UTC (buildkit.dockerfile.v0)RUN |4 OSS_ONLY= -DAPACHE_ONLY=1 PG_VERSION=15 PG_MAJOR_VERSION=15 ALPINE_VERSION=3.20 /bin/sh -c set -ex; echo "https://dl-cdn.alpinelinux.org/alpine/v${ALPINE_VERSION}/community/" >> /etc/apk/repositories; apk update; if [ "$PG_MAJOR_VERSION" -ge 16 ] ; then apk add --no-cache postgresql${PG_VERSION}-plpython3; fi # buildkit
2025-08-12 05:32:48 UTC (buildkit.dockerfile.v0)ARG PGVECTOR_VERSION=v0.7.2
2025-08-12 05:32:48 UTC (buildkit.dockerfile.v0)ARG PG_VERSION=15
2025-08-12 05:32:48 UTC (buildkit.dockerfile.v0)ARG CLANG_VERSION=15
2025-08-12 05:32:48 UTC (buildkit.dockerfile.v0)ARG PG_MAJOR_VERSION=15
2025-08-12 05:34:14 UTC (buildkit.dockerfile.v0)RUN |6 OSS_ONLY= -DAPACHE_ONLY=1 PG_VERSION=15 PG_MAJOR_VERSION=15 ALPINE_VERSION=3.20 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 OPTFLAGS=""; make install; apk del .vector-deps; # buildkit
2025-08-12 05:34:14 UTC (buildkit.dockerfile.v0)COPY docker-entrypoint-initdb.d/* /docker-entrypoint-initdb.d/ # buildkit
2025-08-12 05:34:39 UTC (buildkit.dockerfile.v0)COPY /go/bin/* /usr/local/bin/ # buildkit
2025-08-12 05:34:40 UTC (buildkit.dockerfile.v0)COPY /usr/local/lib/postgresql/timescaledb-*.so /usr/local/lib/postgresql/ # buildkit
2025-08-12 05:34:42 UTC (buildkit.dockerfile.v0)COPY /usr/local/share/postgresql/extension/timescaledb--*.sql /usr/local/share/postgresql/extension/ # buildkit
2025-08-12 05:34:42 UTC (buildkit.dockerfile.v0)ARG TS_VERSION=2.21.3
2025-08-12 05:37:35 UTC (buildkit.dockerfile.v0)RUN |7 OSS_ONLY= -DAPACHE_ONLY=1 PG_VERSION=15 PG_MAJOR_VERSION=15 ALPINE_VERSION=3.20 PGVECTOR_VERSION=v0.7.2 CLANG_VERSION=15 TS_VERSION=2.21.3 /bin/sh -c set -ex && apk add --no-cache --virtual .fetch-deps ca-certificates git openssl openssl-dev tar && mkdir -p /build/ && git clone https://github.com/timescale/timescaledb /build/timescaledb && apk add --no-cache --virtual .build-deps coreutils dpkg-dev dpkg gcc krb5-dev libc-dev make cmake util-linux-dev && cd /build/timescaledb && rm -fr build && git checkout ${TS_VERSION} && ./bootstrap -DCMAKE_BUILD_TYPE=RelWithDebInfo -DREGRESS_CHECKS=OFF -DTAP_CHECKS=OFF -DGENERATE_DOWNGRADE_SCRIPT=ON -DWARNINGS_AS_ERRORS=OFF -DPROJECT_INSTALL_METHOD="docker"${OSS_ONLY} && cd build && make install && cd ~ && if [ "${OSS_ONLY}" != "" ]; then rm -f $(pg_config --pkglibdir)/timescaledb-tsl-*.so; fi && apk del .fetch-deps .build-deps && rm -rf /build && sed -r -i "s/[#]*\s*(shared_preload_libraries)\s*=\s*'(.*)'/\1 = 'timescaledb,\2'/;s/,'/'/" /usr/local/share/postgresql/postgresql.conf.sample # buildkit
2025-08-12 06:00:18 UTC
298 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_SHA2564f62e133d22ea08a0401b0840920e26698644d01a80c34341fb732dd0a90ca5d
PG_VERSION15.13
[#000] sha256:c9aedc9d4e47fa9429e5c329420d8a93e16c433e361d0f9281565ed4da3c057e - 1.08% (3.22 MB)
[#001] sha256:f562bdeccc677affba17117a3e71eed437842fbd24407b2ce425aa5819d3dab5 - 0.0% (984 Bytes)
[#002] sha256:c0c15f54b7c7b9df1d9b4f973855ca80d075a47a5343b27c0f6e4ae7774389b5 - 0.35% (1.04 MB)
[#003] sha256:d568e84a40aff368bdcb0f2c0209c899ecf6614f22d843f7855cc038d42ed61d - 0.0% (175 Bytes)
[#004] sha256:464e90337bafdf4dac44e92da85d96c873b18c4c579abd3dd0ee24ba0ae61dc9 - 0.0% (116 Bytes)
[#005] sha256:2477f8879b691a2c861bb63d22f344be4126b27a171e29fb9f0cf12edaee0695 - 29.03% (86.4 MB)
[#006] sha256:2c8042654b09797a8e5a902ecabdd20fca49eca05f7f6007112d9f1bd289ce9c - 0.0% (9.23 KB)
[#007] sha256:35df807d441d0b317866a227cd9ff975119d548e779bb31fc8b5cb998e5444df - 0.0% (127 Bytes)
[#008] sha256:ed78752e9ccc2b7e40fb5d580f9dd397eedbb9a822dcf7d34b02a83c314e48a2 - 0.0% (171 Bytes)
[#009] sha256:1bd14808f2618ee4b2ba3e3cffa020a486c51a698d87565df8131ef96357d1b9 - 0.0% (5.35 KB)
[#010] sha256:dec3a4c599b25199d659a22a1c251e010618801ee48cc731bb68445ba15d5bb6 - 0.0% (182 Bytes)
[#011] sha256:7eae3578685528f30eb2535b6a64cb60be51671d31a2501e14ed88fc30bb73b7 - 0.62% (1.84 MB)
[#012] sha256:542e4cce94c0d8018d2051378e26351866209e9d9e3ed4e208b2c27b040fd7b1 - 6.9% (20.5 MB)
[#013] sha256:e8479b8624216abc970cbb0b8b28ba0c88fc00ad437deb46778a19d87fcf1494 - 0.0% (2.08 KB)
[#014] sha256:53479e2c38d1cdffddb90461feacf17b876d2d168b30df2241e387b97efd92fa - 2.45% (7.3 MB)
[#015] sha256:1cbcc71a40a16a4ec259b0d9ab1a5a7cc3c19878f917a95ac92b26578e0c20f8 - 33.14% (98.7 MB)
[#016] sha256:6d9bc9931cb1e49b84dec00b60ad6659e16a55ebaf53a04da7d966216231da40 - 24.81% (73.9 MB)
[#017] sha256:2467db24655650021e4580af8e0105d6706c41c482f6bf92098051a636a40f52 - 1.61% (4.8 MB)
ADD alpine-minirootfs-3.20.6-armhf.tar.gz / # buildkit
2025-02-14 03:00:07 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)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-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=15
2025-05-08 18:32:48 UTC (buildkit.dockerfile.v0)ENV PG_VERSION=15.13
2025-05-08 18:32:48 UTC (buildkit.dockerfile.v0)ENV PG_SHA256=4f62e133d22ea08a0401b0840920e26698644d01a80c34341fb732dd0a90ca5d
2025-05-08 18:32:48 UTC (buildkit.dockerfile.v0)ENV DOCKER_PG_LLVM_DEPS=llvm15-dev clang15
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/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-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-08-12 05:32:54 UTC (buildkit.dockerfile.v0)ARG OSS_ONLY= -DAPACHE_ONLY=1
2025-08-12 05:32:54 UTC (buildkit.dockerfile.v0)LABEL maintainer=Timescale https://www.timescale.com
2025-08-12 05:32:54 UTC (buildkit.dockerfile.v0)ARG PG_VERSION=15
2025-08-12 05:32:54 UTC (buildkit.dockerfile.v0)ARG PG_MAJOR_VERSION=15
2025-08-12 05:32:54 UTC (buildkit.dockerfile.v0)ARG ALPINE_VERSION=3.20
2025-08-12 05:32:54 UTC (buildkit.dockerfile.v0)RUN |4 OSS_ONLY= -DAPACHE_ONLY=1 PG_VERSION=15 PG_MAJOR_VERSION=15 ALPINE_VERSION=3.20 /bin/sh -c set -ex; echo "https://dl-cdn.alpinelinux.org/alpine/v${ALPINE_VERSION}/community/" >> /etc/apk/repositories; apk update; if [ "$PG_MAJOR_VERSION" -ge 16 ] ; then apk add --no-cache postgresql${PG_VERSION}-plpython3; fi # buildkit
2025-08-12 05:32:54 UTC (buildkit.dockerfile.v0)ARG PGVECTOR_VERSION=v0.7.2
2025-08-12 05:32:54 UTC (buildkit.dockerfile.v0)ARG PG_VERSION=15
2025-08-12 05:32:54 UTC (buildkit.dockerfile.v0)ARG CLANG_VERSION=15
2025-08-12 05:32:54 UTC (buildkit.dockerfile.v0)ARG PG_MAJOR_VERSION=15
2025-08-12 05:42:07 UTC (buildkit.dockerfile.v0)RUN |6 OSS_ONLY= -DAPACHE_ONLY=1 PG_VERSION=15 PG_MAJOR_VERSION=15 ALPINE_VERSION=3.20 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 OPTFLAGS=""; make install; apk del .vector-deps; # buildkit
2025-08-12 05:42:07 UTC (buildkit.dockerfile.v0)COPY docker-entrypoint-initdb.d/* /docker-entrypoint-initdb.d/ # buildkit
2025-08-12 05:49:01 UTC (buildkit.dockerfile.v0)COPY /go/bin/* /usr/local/bin/ # buildkit
2025-08-12 05:49:02 UTC (buildkit.dockerfile.v0)COPY /usr/local/lib/postgresql/timescaledb-*.so /usr/local/lib/postgresql/ # buildkit
2025-08-12 05:49:03 UTC (buildkit.dockerfile.v0)COPY /usr/local/share/postgresql/extension/timescaledb--*.sql /usr/local/share/postgresql/extension/ # buildkit
2025-08-12 05:49:03 UTC (buildkit.dockerfile.v0)ARG TS_VERSION=2.21.3
2025-08-12 06:00:18 UTC (buildkit.dockerfile.v0)RUN |7 OSS_ONLY= -DAPACHE_ONLY=1 PG_VERSION=15 PG_MAJOR_VERSION=15 ALPINE_VERSION=3.20 PGVECTOR_VERSION=v0.7.2 CLANG_VERSION=15 TS_VERSION=2.21.3 /bin/sh -c set -ex && apk add --no-cache --virtual .fetch-deps ca-certificates git openssl openssl-dev tar && mkdir -p /build/ && git clone https://github.com/timescale/timescaledb /build/timescaledb && apk add --no-cache --virtual .build-deps coreutils dpkg-dev dpkg gcc krb5-dev libc-dev make cmake util-linux-dev && cd /build/timescaledb && rm -fr build && git checkout ${TS_VERSION} && ./bootstrap -DCMAKE_BUILD_TYPE=RelWithDebInfo -DREGRESS_CHECKS=OFF -DTAP_CHECKS=OFF -DGENERATE_DOWNGRADE_SCRIPT=ON -DWARNINGS_AS_ERRORS=OFF -DPROJECT_INSTALL_METHOD="docker"${OSS_ONLY} && cd build && make install && cd ~ && if [ "${OSS_ONLY}" != "" ]; then rm -f $(pg_config --pkglibdir)/timescaledb-tsl-*.so; fi && apk del .fetch-deps .build-deps && rm -rf /build && sed -r -i "s/[#]*\s*(shared_preload_libraries)\s*=\s*'(.*)'/\1 = 'timescaledb,\2'/;s/,'/'/" /usr/local/share/postgresql/postgresql.conf.sample # buildkit
2025-08-12 06:00:53 UTC
292 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_SHA2564f62e133d22ea08a0401b0840920e26698644d01a80c34341fb732dd0a90ca5d
PG_VERSION15.13
[#000] sha256:772078ddbdee5be52d429e08f953aaad6715a90d7e4d6496eb1cd4004efa8a95 - 1.01% (2.95 MB)
[#001] sha256:cfbef8e87d0b643b3fa5e794617e621cb59b4567f3cbc0795d1528c9a02dde43 - 0.0% (984 Bytes)
[#002] sha256:5264bd33c0c87b69007461ea6e25e8f1acb036978189c5022f26c3bd00812781 - 0.35% (1.04 MB)
[#003] sha256:d6b52020e272542edb0a9a9c6093ce4040aabb84d5ea00a6347a20d232f17bbb - 0.0% (177 Bytes)
[#004] sha256:8e2815508b129237cf228ecef546e0294e48c331a6b2378e7df8f159f2e81829 - 0.0% (116 Bytes)
[#005] sha256:96ffba711d462e03606aa45364e4a9329fabbb206a62fb199c35617aa1d960be - 27.86% (81.3 MB)
[#006] sha256:1b5608a85f63441ba3a0507c2142a0576310df744aa3195a1248cc45b0345413 - 0.0% (9.23 KB)
[#007] sha256:5fb8d61e229c6e0d44f3330878379cd556f5c9b78a02fc284c16191b8498b918 - 0.0% (128 Bytes)
[#008] sha256:04e6b3b6f94ba95d84621add6c9f15df8235176ef4480df9b9e65bf9fdd41f92 - 0.0% (171 Bytes)
[#009] sha256:39fde42719767bb305979aeda261f4181297439cad62139bd4da449e2861d4df - 0.0% (5.35 KB)
[#010] sha256:9df83edb09f3513984019a332709276771b9681a13053048599309fcb56c149b - 0.0% (185 Bytes)
[#011] sha256:1871cc1d8e346668de34d354b9c1c79cbe65b549782a144e5588cd6e8ae48f0b - 0.7% (2.05 MB)
[#012] sha256:636099062ebd7c0db6f4691ed1530326a7aa027a4018d170974f7740effabcf3 - 7.07% (20.7 MB)
[#013] sha256:474d3d83a942354551dad34a0225a48388d846cd5dc9bda80e983487da1d3c24 - 0.0% (2.08 KB)
[#014] sha256:9928ba00a537834420d61b89e5d4f011bd42bf26e0835e5419ceca66b5d5af04 - 2.5% (7.29 MB)
[#015] sha256:4197ead5a44163f775b9c5a821fe5fe293772be74a11048288d6cb4f82e5d264 - 33.57% (98 MB)
[#016] sha256:a4b622cdb7d52ceb1e304c7d79b25b908334210434c35415b443744abb765674 - 25.29% (73.9 MB)
[#017] sha256:742f5297874f277a824faff53f4bdae88b2a175c22e5a31760942747c8a86829 - 1.64% (4.78 MB)
ADD alpine-minirootfs-3.20.6-armv7.tar.gz / # buildkit
2025-02-14 03:00:07 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)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-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=15
2025-05-08 18:32:48 UTC (buildkit.dockerfile.v0)ENV PG_VERSION=15.13
2025-05-08 18:32:48 UTC (buildkit.dockerfile.v0)ENV PG_SHA256=4f62e133d22ea08a0401b0840920e26698644d01a80c34341fb732dd0a90ca5d
2025-05-08 18:32:48 UTC (buildkit.dockerfile.v0)ENV DOCKER_PG_LLVM_DEPS=llvm15-dev clang15
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/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-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-08-12 05:32:56 UTC (buildkit.dockerfile.v0)ARG OSS_ONLY= -DAPACHE_ONLY=1
2025-08-12 05:32:56 UTC (buildkit.dockerfile.v0)LABEL maintainer=Timescale https://www.timescale.com
2025-08-12 05:32:56 UTC (buildkit.dockerfile.v0)ARG PG_VERSION=15
2025-08-12 05:32:56 UTC (buildkit.dockerfile.v0)ARG PG_MAJOR_VERSION=15
2025-08-12 05:32:56 UTC (buildkit.dockerfile.v0)ARG ALPINE_VERSION=3.20
2025-08-12 05:32:56 UTC (buildkit.dockerfile.v0)RUN |4 OSS_ONLY= -DAPACHE_ONLY=1 PG_VERSION=15 PG_MAJOR_VERSION=15 ALPINE_VERSION=3.20 /bin/sh -c set -ex; echo "https://dl-cdn.alpinelinux.org/alpine/v${ALPINE_VERSION}/community/" >> /etc/apk/repositories; apk update; if [ "$PG_MAJOR_VERSION" -ge 16 ] ; then apk add --no-cache postgresql${PG_VERSION}-plpython3; fi # buildkit
2025-08-12 05:32:56 UTC (buildkit.dockerfile.v0)ARG PGVECTOR_VERSION=v0.7.2
2025-08-12 05:32:56 UTC (buildkit.dockerfile.v0)ARG PG_VERSION=15
2025-08-12 05:32:56 UTC (buildkit.dockerfile.v0)ARG CLANG_VERSION=15
2025-08-12 05:32:56 UTC (buildkit.dockerfile.v0)ARG PG_MAJOR_VERSION=15
2025-08-12 05:41:57 UTC (buildkit.dockerfile.v0)RUN |6 OSS_ONLY= -DAPACHE_ONLY=1 PG_VERSION=15 PG_MAJOR_VERSION=15 ALPINE_VERSION=3.20 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 OPTFLAGS=""; make install; apk del .vector-deps; # buildkit
2025-08-12 05:41:57 UTC (buildkit.dockerfile.v0)COPY docker-entrypoint-initdb.d/* /docker-entrypoint-initdb.d/ # buildkit
2025-08-12 05:49:03 UTC (buildkit.dockerfile.v0)COPY /go/bin/* /usr/local/bin/ # buildkit
2025-08-12 05:49:03 UTC (buildkit.dockerfile.v0)COPY /usr/local/lib/postgresql/timescaledb-*.so /usr/local/lib/postgresql/ # buildkit
2025-08-12 05:49:05 UTC (buildkit.dockerfile.v0)COPY /usr/local/share/postgresql/extension/timescaledb--*.sql /usr/local/share/postgresql/extension/ # buildkit
2025-08-12 05:49:05 UTC (buildkit.dockerfile.v0)ARG TS_VERSION=2.21.3
2025-08-12 06:00:53 UTC (buildkit.dockerfile.v0)RUN |7 OSS_ONLY= -DAPACHE_ONLY=1 PG_VERSION=15 PG_MAJOR_VERSION=15 ALPINE_VERSION=3.20 PGVECTOR_VERSION=v0.7.2 CLANG_VERSION=15 TS_VERSION=2.21.3 /bin/sh -c set -ex && apk add --no-cache --virtual .fetch-deps ca-certificates git openssl openssl-dev tar && mkdir -p /build/ && git clone https://github.com/timescale/timescaledb /build/timescaledb && apk add --no-cache --virtual .build-deps coreutils dpkg-dev dpkg gcc krb5-dev libc-dev make cmake util-linux-dev && cd /build/timescaledb && rm -fr build && git checkout ${TS_VERSION} && ./bootstrap -DCMAKE_BUILD_TYPE=RelWithDebInfo -DREGRESS_CHECKS=OFF -DTAP_CHECKS=OFF -DGENERATE_DOWNGRADE_SCRIPT=ON -DWARNINGS_AS_ERRORS=OFF -DPROJECT_INSTALL_METHOD="docker"${OSS_ONLY} && cd build && make install && cd ~ && if [ "${OSS_ONLY}" != "" ]; then rm -f $(pg_config --pkglibdir)/timescaledb-tsl-*.so; fi && apk del .fetch-deps .build-deps && rm -rf /build && sed -r -i "s/[#]*\s*(shared_preload_libraries)\s*=\s*'(.*)'/\1 = 'timescaledb,\2'/;s/,'/'/" /usr/local/share/postgresql/postgresql.conf.sample # buildkit
2025-08-12 06:00:57 UTC
300 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_SHA2564f62e133d22ea08a0401b0840920e26698644d01a80c34341fb732dd0a90ca5d
PG_VERSION15.13
[#000] sha256:94e9d8af22013aabf0edcaf42950c88b0a1350c3a9ce076d61b98a535a673dd9 - 1.3% (3.9 MB)
[#001] sha256:b949cfa537b4b00f0c9fbb677fc05c7340a9657a97f297f1ac99fcaedde0ca1b - 0.0% (980 Bytes)
[#002] sha256:d1f90ded49ab5b36051bb7de88892fda63b83f028c323214c600f11bd1ec362b - 0.33% (1 MB)
[#003] sha256:e01c3bb46b836e40a11842cb587f914d8028b6e8520d3ab4453596583955efbf - 0.0% (177 Bytes)
[#004] sha256:8041779c1e5633fd28783dae293287d6f5e5787aae2031a35c0d61c00eb9a651 - 0.0% (116 Bytes)
[#005] sha256:2f6bcb895ca860bfc60cd5b9a4f57ef6de4ef65b7799a49ef08d9409070e65c7 - 28.72% (86.3 MB)
[#006] sha256:ae426686f846cb38662b446151a0cd49c48d4f1b494705c616a1b8acf4ba1d4d - 0.0% (9.23 KB)
[#007] sha256:ae2d23c0abac52d8ba646d86b68b690ab11d6a986bc84b142667c77835535e0d - 0.0% (128 Bytes)
[#008] sha256:ae2fe6d35586cdc1fa3e7adef526770989e96756236f339aad52e44ee4a11a95 - 0.0% (172 Bytes)
[#009] sha256:6763648413df7d41aff48c71a827023ac604e3f6ac80dfcc822f2f22dd7feabb - 0.0% (5.34 KB)
[#010] sha256:e4091fa5a55e57eacaa43076331f82b2f17a2674e9c094391362c82d75fd7121 - 0.0% (185 Bytes)
[#011] sha256:7ca41fe0e507dee3484fd09686584ecbf64cbaecc8f4aa9fce5975f1ce431363 - 0.73% (2.2 MB)
[#012] sha256:06db350bc609fe0696a6adb0991ce8abbfa197c31f717780c44d65bdc20750c9 - 7.25% (21.8 MB)
[#013] sha256:f8df85503ca768785c2db6d333210244d126618304ae740e9531e67f7d170449 - 0.0% (2.08 KB)
[#014] sha256:6ce844a75d1e1459099f710c79049f288e9969a523ee4ce2ca0dfd26041fdd20 - 2.46% (7.4 MB)
[#015] sha256:55c8f1cb1c927bce6245299203f7bf821f2e0353fc5a3304c820fe8bf198db02 - 33.01% (99.1 MB)
[#016] sha256:ad73a251ef35ea7592b42f2902ad14981c3513efb7d01958807b474fcb5a7b98 - 24.59% (73.9 MB)
[#017] sha256:1f6553af56d293e33c642bb75d648d80059cbdfc400f0ee9b908bf652d9d55e4 - 1.6% (4.81 MB)
ADD alpine-minirootfs-3.20.6-aarch64.tar.gz / # buildkit
2025-02-14 03:00:07 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)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-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=15
2025-05-08 18:32:48 UTC (buildkit.dockerfile.v0)ENV PG_VERSION=15.13
2025-05-08 18:32:48 UTC (buildkit.dockerfile.v0)ENV PG_SHA256=4f62e133d22ea08a0401b0840920e26698644d01a80c34341fb732dd0a90ca5d
2025-05-08 18:32:48 UTC (buildkit.dockerfile.v0)ENV DOCKER_PG_LLVM_DEPS=llvm15-dev clang15
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/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-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-08-12 05:32:56 UTC (buildkit.dockerfile.v0)ARG OSS_ONLY= -DAPACHE_ONLY=1
2025-08-12 05:32:56 UTC (buildkit.dockerfile.v0)LABEL maintainer=Timescale https://www.timescale.com
2025-08-12 05:32:56 UTC (buildkit.dockerfile.v0)ARG PG_VERSION=15
2025-08-12 05:32:56 UTC (buildkit.dockerfile.v0)ARG PG_MAJOR_VERSION=15
2025-08-12 05:32:56 UTC (buildkit.dockerfile.v0)ARG ALPINE_VERSION=3.20
2025-08-12 05:32:56 UTC (buildkit.dockerfile.v0)RUN |4 OSS_ONLY= -DAPACHE_ONLY=1 PG_VERSION=15 PG_MAJOR_VERSION=15 ALPINE_VERSION=3.20 /bin/sh -c set -ex; echo "https://dl-cdn.alpinelinux.org/alpine/v${ALPINE_VERSION}/community/" >> /etc/apk/repositories; apk update; if [ "$PG_MAJOR_VERSION" -ge 16 ] ; then apk add --no-cache postgresql${PG_VERSION}-plpython3; fi # buildkit
2025-08-12 05:32:56 UTC (buildkit.dockerfile.v0)ARG PGVECTOR_VERSION=v0.7.2
2025-08-12 05:32:56 UTC (buildkit.dockerfile.v0)ARG PG_VERSION=15
2025-08-12 05:32:56 UTC (buildkit.dockerfile.v0)ARG CLANG_VERSION=15
2025-08-12 05:32:56 UTC (buildkit.dockerfile.v0)ARG PG_MAJOR_VERSION=15
2025-08-12 05:42:10 UTC (buildkit.dockerfile.v0)RUN |6 OSS_ONLY= -DAPACHE_ONLY=1 PG_VERSION=15 PG_MAJOR_VERSION=15 ALPINE_VERSION=3.20 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 OPTFLAGS=""; make install; apk del .vector-deps; # buildkit
2025-08-12 05:42:10 UTC (buildkit.dockerfile.v0)COPY docker-entrypoint-initdb.d/* /docker-entrypoint-initdb.d/ # buildkit
2025-08-12 05:48:50 UTC (buildkit.dockerfile.v0)COPY /go/bin/* /usr/local/bin/ # buildkit
2025-08-12 05:48:50 UTC (buildkit.dockerfile.v0)COPY /usr/local/lib/postgresql/timescaledb-*.so /usr/local/lib/postgresql/ # buildkit
2025-08-12 05:48:52 UTC (buildkit.dockerfile.v0)COPY /usr/local/share/postgresql/extension/timescaledb--*.sql /usr/local/share/postgresql/extension/ # buildkit
2025-08-12 05:48:52 UTC (buildkit.dockerfile.v0)ARG TS_VERSION=2.21.3
2025-08-12 06:00:57 UTC (buildkit.dockerfile.v0)RUN |7 OSS_ONLY= -DAPACHE_ONLY=1 PG_VERSION=15 PG_MAJOR_VERSION=15 ALPINE_VERSION=3.20 PGVECTOR_VERSION=v0.7.2 CLANG_VERSION=15 TS_VERSION=2.21.3 /bin/sh -c set -ex && apk add --no-cache --virtual .fetch-deps ca-certificates git openssl openssl-dev tar && mkdir -p /build/ && git clone https://github.com/timescale/timescaledb /build/timescaledb && apk add --no-cache --virtual .build-deps coreutils dpkg-dev dpkg gcc krb5-dev libc-dev make cmake util-linux-dev && cd /build/timescaledb && rm -fr build && git checkout ${TS_VERSION} && ./bootstrap -DCMAKE_BUILD_TYPE=RelWithDebInfo -DREGRESS_CHECKS=OFF -DTAP_CHECKS=OFF -DGENERATE_DOWNGRADE_SCRIPT=ON -DWARNINGS_AS_ERRORS=OFF -DPROJECT_INSTALL_METHOD="docker"${OSS_ONLY} && cd build && make install && cd ~ && if [ "${OSS_ONLY}" != "" ]; then rm -f $(pg_config --pkglibdir)/timescaledb-tsl-*.so; fi && apk del .fetch-deps .build-deps && rm -rf /build && sed -r -i "s/[#]*\s*(shared_preload_libraries)\s*=\s*'(.*)'/\1 = 'timescaledb,\2'/;s/,'/'/" /usr/local/share/postgresql/postgresql.conf.sample # buildkit
Please be careful as this will not just delete the reference but also the actual content!
For example when you have latest and v1.2.3 both pointing to the same image
the deletion of latest will also permanently remove v1.2.3.