docker.io/timescale/timescaledb:2.17.0-pg16 linux/amd64

docker.io/timescale/timescaledb:2.17.0-pg16 - 国内下载镜像源 浏览次数:43

TimescaleDB 镜像

描述

这是一个包含 TimescaleDB 数据库的 Docker 镜像。TimescaleDB 是一个开源的关系型数据库,它在 PostgreSQL 之上构建,用于时间序列数据。

该镜像提供了一个预先配置的 TimescaleDB 环境,方便用户快速部署和使用。

源镜像 docker.io/timescale/timescaledb:2.17.0-pg16
国内镜像 swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/timescale/timescaledb:2.17.0-pg16
镜像ID sha256:b34ad193732ba426e584dd5694985082385e686f2cf67fb2e726014914e3a96a
镜像TAG 2.17.0-pg16
大小 718.49MB
镜像源 docker.io
项目信息 Docker-Hub主页 🚀项目TAG 🚀
CMD postgres
启动入口 docker-entrypoint.sh
工作目录
OS/平台 linux/amd64
浏览量 43 次
贡献者
镜像创建 2024-10-08T14:54:07.316382571Z
同步时间 2024-10-31 15:04
更新时间 2024-11-22 07:13
开放端口
5432/tcp
环境变量
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin GOSU_VERSION=1.17 LANG=en_US.utf8 PG_MAJOR=16 PG_VERSION=16.4 PG_SHA256=971766d645aa73e93b9ef4e3be44201b4f45b5477095b049125403f9f3386d6f DOCKER_PG_LLVM_DEPS=llvm15-dev clang15 PGDATA=/var/lib/postgresql/data
镜像标签
Timescale https://www.timescale.com: maintainer
镜像安全扫描 查看Trivy扫描报告

系统OS: alpine 3.20.3 扫描引擎: Trivy 扫描时间: 2024-10-31 15:04

低危漏洞:3 中危漏洞:26 高危漏洞:33 严重漏洞:3

Docker拉取命令 无权限下载?点我修复

docker pull swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/timescale/timescaledb:2.17.0-pg16
docker tag  swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/timescale/timescaledb:2.17.0-pg16  docker.io/timescale/timescaledb:2.17.0-pg16

Containerd拉取命令

ctr images pull swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/timescale/timescaledb:2.17.0-pg16
ctr images tag  swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/timescale/timescaledb:2.17.0-pg16  docker.io/timescale/timescaledb:2.17.0-pg16

Shell快速替换命令

sed -i 's#timescale/timescaledb:2.17.0-pg16#swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/timescale/timescaledb:2.17.0-pg16#' deployment.yaml

Ansible快速分发-Docker

#ansible k8s -m shell -a 'docker pull swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/timescale/timescaledb:2.17.0-pg16 && docker tag  swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/timescale/timescaledb:2.17.0-pg16  docker.io/timescale/timescaledb:2.17.0-pg16'

Ansible快速分发-Containerd

#ansible k8s -m shell -a 'ctr images pull swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/timescale/timescaledb:2.17.0-pg16 && ctr images tag  swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/timescale/timescaledb:2.17.0-pg16  docker.io/timescale/timescaledb:2.17.0-pg16'

镜像历史

大小 创建时间 层信息
21.49MB 2024-10-08 22:54:07 RUN |8 OSS_ONLY= PG_VERSION=16 PGVECTOR_VERSION=v0.7.2 PG_VERSION=16 PGAI_VERSION=v0.3.0 PG_MAJOR_VERSION=16 TARGETARCH=amd64 TS_VERSION=2.17.0 /bin/sh -c set -ex && apk add --no-cache --virtual .fetch-deps ca-certificates git openssl openssl-dev tar && mkdir -p /build/ && git clone https://github.com/timescale/timescaledb /build/timescaledb && apk add --no-cache --virtual .build-deps coreutils dpkg-dev dpkg gcc krb5-dev libc-dev make cmake util-linux-dev && cd /build/timescaledb && rm -fr build && git checkout ${TS_VERSION} && ./bootstrap -DCMAKE_BUILD_TYPE=RelWithDebInfo -DREGRESS_CHECKS=OFF -DTAP_CHECKS=OFF -DGENERATE_DOWNGRADE_SCRIPT=ON -DWARNINGS_AS_ERRORS=OFF -DPROJECT_INSTALL_METHOD="docker"${OSS_ONLY} && cd build && make install && cd ~ && if [ "${OSS_ONLY}" != "" ]; then rm -f $(pg_config --pkglibdir)/timescaledb-tsl-*.so; fi && apk del .fetch-deps .build-deps && rm -rf /build && sed -r -i "s/[#]*\s*(shared_preload_libraries)\s*=\s*'(.*)'/\1 = 'timescaledb,\2'/;s/,'/'/" /usr/local/share/postgresql/postgresql.conf.sample # buildkit
0.00B 2024-10-08 22:49:45 ARG TS_VERSION=2.17.0
131.99MB 2024-10-08 22:49:45 COPY /usr/local/share/postgresql/extension/timescaledb--*.sql /usr/local/share/postgresql/extension/ # buildkit
103.59MB 2024-10-08 22:49:45 COPY /usr/local/lib/postgresql/timescaledb-*.so /usr/local/lib/postgresql/ # buildkit
12.36MB 2024-10-08 22:49:44 COPY /go/bin/* /usr/local/bin/ # buildkit
6.05KB 2024-10-08 22:49:44 COPY docker-entrypoint-initdb.d/* /docker-entrypoint-initdb.d/ # buildkit
139.85MB 2024-10-08 22:49:44 RUN |7 OSS_ONLY= PG_VERSION=16 PGVECTOR_VERSION=v0.7.2 PG_VERSION=16 PGAI_VERSION=v0.3.0 PG_MAJOR_VERSION=16 TARGETARCH=amd64 /bin/sh -c set -ex; if [ "$PG_MAJOR_VERSION" -eq 16 ] && [ "$TARGETARCH" != "arm" ]; then apk update; apk add --no-cache --virtual .pgai-deps git build-base cargo python3-dev py3-pip; git clone --branch ${PGAI_VERSION} https://github.com/timescale/pgai.git /build/pgai; cp /build/pgai/ai--*.sql /usr/local/share/postgresql/extension/; cp /build/pgai/ai.control /usr/local/share/postgresql/extension/; pip install --verbose --break-system-packages -r /build/pgai/requirements.txt; apk del .pgai-deps; fi # buildkit
0.00B 2024-10-08 22:48:28 ARG TARGETARCH=amd64
0.00B 2024-10-08 22:48:28 ARG PG_MAJOR_VERSION=16
0.00B 2024-10-08 22:48:28 ARG PGAI_VERSION=v0.3.0
7.09MB 2024-10-08 22:48:28 RUN |4 OSS_ONLY= PG_VERSION=16 PGVECTOR_VERSION=v0.7.2 PG_VERSION=16 /bin/sh -c set -ex; if [ "$PG_VERSION" -lt 17 ]; then apk update; apk add --no-cache --virtual .vector-deps postgresql${PG_VERSION}-dev git build-base clang15 llvm15-dev llvm15; git clone --branch ${PGVECTOR_VERSION} https://github.com/pgvector/pgvector.git /build/pgvector; cd /build/pgvector; make; make install; apk del .vector-deps; fi # buildkit
0.00B 2024-10-08 22:47:07 ARG PG_VERSION=16
0.00B 2024-10-08 22:47:07 ARG PGVECTOR_VERSION=v0.7.2
57.19MB 2024-10-08 22:47:07 RUN |2 OSS_ONLY= PG_VERSION=16 /bin/sh -c set -ex; if [ "$PG_VERSION" -lt 17 ]; then apk update; apk add --no-cache postgresql${PG_VERSION}-plpython3; fi # buildkit
0.00B 2024-10-08 22:47:07 ARG PG_VERSION=16
0.00B 2024-10-08 22:47:07 LABEL maintainer=Timescale https://www.timescale.com
0.00B 2024-10-08 22:47:07 ARG OSS_ONLY
0.00B 2024-08-09 01:20:28 CMD ["postgres"]
0.00B 2024-08-09 01:20:28 EXPOSE map[5432/tcp:{}]
0.00B 2024-08-09 01:20:28 STOPSIGNAL SIGINT
0.00B 2024-08-09 01:20:28 ENTRYPOINT ["docker-entrypoint.sh"]
23.00B 2024-08-09 01:20:28 RUN /bin/sh -c ln -sT docker-ensure-initdb.sh /usr/local/bin/docker-enforce-initdb.sh # buildkit
14.96KB 2024-08-09 01:20:28 COPY docker-entrypoint.sh docker-ensure-initdb.sh /usr/local/bin/ # buildkit
0.00B 2024-08-09 01:20:28 VOLUME [/var/lib/postgresql/data]
0.00B 2024-08-09 01:20:28 RUN /bin/sh -c install --verbose --directory --owner postgres --group postgres --mode 1777 "$PGDATA" # buildkit
0.00B 2024-08-09 01:20:28 ENV PGDATA=/var/lib/postgresql/data
0.00B 2024-08-09 01:20:28 RUN /bin/sh -c install --verbose --directory --owner postgres --group postgres --mode 3777 /var/run/postgresql # buildkit
59.25KB 2024-08-09 01:20:28 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
234.46MB 2024-08-09 01:20:28 RUN /bin/sh -c set -eux; wget -O postgresql.tar.bz2 "https://ftp.postgresql.org/pub/source/v$PG_VERSION/postgresql-$PG_VERSION.tar.bz2"; echo "$PG_SHA256 *postgresql.tar.bz2" | sha256sum -c -; mkdir -p /usr/src/postgresql; tar --extract --file postgresql.tar.bz2 --directory /usr/src/postgresql --strip-components 1 ; rm postgresql.tar.bz2; apk add --no-cache --virtual .build-deps $DOCKER_PG_LLVM_DEPS bison coreutils dpkg-dev dpkg flex g++ gcc krb5-dev libc-dev libedit-dev libxml2-dev libxslt-dev linux-headers make openldap-dev openssl-dev perl-dev perl-ipc-run perl-utils python3-dev tcl-dev util-linux-dev zlib-dev icu-dev lz4-dev zstd-dev ; cd /usr/src/postgresql; awk '$1 == "#define" && $2 == "DEFAULT_PGSOCKET_DIR" && $3 == "\"/tmp\"" { $3 = "\"/var/run/postgresql\""; print; next } { print }' src/include/pg_config_manual.h > src/include/pg_config_manual.h.new; grep '/var/run/postgresql' src/include/pg_config_manual.h.new; mv src/include/pg_config_manual.h.new src/include/pg_config_manual.h; gnuArch="$(dpkg-architecture --query DEB_BUILD_GNU_TYPE)"; wget -O config/config.guess 'https://git.savannah.gnu.org/cgit/config.git/plain/config.guess?id=7d3d27baf8107b630586c962c057e22149653deb'; wget -O config/config.sub 'https://git.savannah.gnu.org/cgit/config.git/plain/config.sub?id=7d3d27baf8107b630586c962c057e22149653deb'; export LLVM_CONFIG="/usr/lib/llvm15/bin/llvm-config"; export CLANG=clang-15; ./configure --enable-option-checking=fatal --build="$gnuArch" --enable-integer-datetimes --enable-thread-safety --enable-tap-tests --disable-rpath --with-uuid=e2fs --with-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
0.00B 2024-08-09 01:20:28 ENV DOCKER_PG_LLVM_DEPS=llvm15-dev clang15
0.00B 2024-08-09 01:20:28 ENV PG_SHA256=971766d645aa73e93b9ef4e3be44201b4f45b5477095b049125403f9f3386d6f
0.00B 2024-08-09 01:20:28 ENV PG_VERSION=16.4
0.00B 2024-08-09 01:20:28 ENV PG_MAJOR=16
0.00B 2024-08-09 01:20:28 RUN /bin/sh -c mkdir /docker-entrypoint-initdb.d # buildkit
0.00B 2024-08-09 01:20:28 ENV LANG=en_US.utf8
4.00B 2024-08-09 01:20:28 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
2.60MB 2024-08-09 01:20:28 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
0.00B 2024-08-09 01:20:28 ENV GOSU_VERSION=1.17
3.07KB 2024-08-09 01:20:28 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
0.00B 2024-08-09 01:20:28 /bin/sh -c #(nop) CMD ["/bin/sh"]
7.80MB 2024-08-09 01:20:28 /bin/sh -c #(nop) ADD file:5758b97d8301c84a204a6e516241275d785a7cade40b2fb99f01fe122482e283 in /

镜像信息

{
    "Id": "sha256:b34ad193732ba426e584dd5694985082385e686f2cf67fb2e726014914e3a96a",
    "RepoTags": [
        "timescale/timescaledb:2.17.0-pg16",
        "swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/timescale/timescaledb:2.17.0-pg16"
    ],
    "RepoDigests": [
        "timescale/timescaledb@sha256:15be0006e89695085042e9b8fd368fa4db1985a8491c2244b1c5d1cf4a275cd2",
        "swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/timescale/timescaledb@sha256:81dd5c18e6499db9c9424fd05cd3d390346d8b252d2c3655569baee91be34c0f"
    ],
    "Parent": "",
    "Comment": "buildkit.dockerfile.v0",
    "Created": "2024-10-08T14:54:07.316382571Z",
    "Container": "",
    "ContainerConfig": null,
    "DockerVersion": "",
    "Author": "",
    "Config": {
        "Hostname": "",
        "Domainname": "",
        "User": "",
        "AttachStdin": false,
        "AttachStdout": false,
        "AttachStderr": false,
        "ExposedPorts": {
            "5432/tcp": {}
        },
        "Tty": false,
        "OpenStdin": false,
        "StdinOnce": false,
        "Env": [
            "PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin",
            "GOSU_VERSION=1.17",
            "LANG=en_US.utf8",
            "PG_MAJOR=16",
            "PG_VERSION=16.4",
            "PG_SHA256=971766d645aa73e93b9ef4e3be44201b4f45b5477095b049125403f9f3386d6f",
            "DOCKER_PG_LLVM_DEPS=llvm15-dev \t\tclang15",
            "PGDATA=/var/lib/postgresql/data"
        ],
        "Cmd": [
            "postgres"
        ],
        "ArgsEscaped": true,
        "Image": "",
        "Volumes": {
            "/var/lib/postgresql/data": {}
        },
        "WorkingDir": "",
        "Entrypoint": [
            "docker-entrypoint.sh"
        ],
        "OnBuild": null,
        "Labels": {
            "maintainer": "Timescale https://www.timescale.com"
        },
        "StopSignal": "SIGINT"
    },
    "Architecture": "amd64",
    "Os": "linux",
    "Size": 718493870,
    "GraphDriver": {
        "Data": {
            "LowerDir": "/var/lib/docker/overlay2/5817c9369f5ec3d3d1131544b1dda35b9c7d353776f01c5bf04a4f82de235f97/diff:/var/lib/docker/overlay2/74fcb6af672f4e4a7f424fffd5603d805f8b1a6c8300e194fe94ad31e78e606e/diff:/var/lib/docker/overlay2/f43de502bf1d11369346eda50acc237c45b07abd6c491cb1bce08f09a80c82b4/diff:/var/lib/docker/overlay2/aa43d0b34684849cb8ca50737943245f547472de39ed7ee3214a637fcf82ddee/diff:/var/lib/docker/overlay2/8ce9dc59a0fb889aff21946060c0eb41a8c5e956a7de93493a8d71c8ad9fdd1d/diff:/var/lib/docker/overlay2/ecc6aba1ba09ad07260aeb46a2316782638dda08442da2560b2e97028b7735c5/diff:/var/lib/docker/overlay2/7d6fad784fe7057b0b4263fa6a2d9275929cd7e40c2572d196f35e359f006c42/diff:/var/lib/docker/overlay2/e6cdae46b485024bc6865e748bdb1f276dd1a843f989fcb58c079972fb18c83b/diff:/var/lib/docker/overlay2/3ada9d179808a9efd66b25c579c756696c39057390b1d60a1f930c125434ec45/diff:/var/lib/docker/overlay2/ba3105bea1c48dfa269e8f40d8fe0e881c945583f02f17774aea82dbf67b093a/diff:/var/lib/docker/overlay2/acea417e0239c7f65ae8f27c0055a90ddf83d07a564d4115b66988c291f9a174/diff:/var/lib/docker/overlay2/8880ca6ebb92e9f629cc6c85456ef388dd95c55284d60eb9fab535ac2f1203f6/diff:/var/lib/docker/overlay2/3a3acea54000681b11ef18cc1a3d7bad8b3282e176cffb6f4384c3343616773e/diff:/var/lib/docker/overlay2/7d1336a699a670692cbe438b5b5ed237436140ee0e7aa93d2b3f486bba78dce6/diff:/var/lib/docker/overlay2/62fab057e3b75d7d88cf9e125ca6976e5069bb0c77f486d8e9a2967f69163987/diff:/var/lib/docker/overlay2/9a061c03b115758f24d57a91356a8b608666f0c49dc2180d184ebc240ea5f3ba/diff:/var/lib/docker/overlay2/b6f796bb233ae2cd3a63992c542ee0b994cc2e11b9bf2ebb6c315dbf5cde0aa6/diff:/var/lib/docker/overlay2/56dbc2212cbc9b991b1a93a72a8c08a3a8460c06576fe4f3267009446334aa65/diff",
            "MergedDir": "/var/lib/docker/overlay2/63c3a1b8ab7279afd2440657917656a54c32c2df0b2fb37285125081a342676b/merged",
            "UpperDir": "/var/lib/docker/overlay2/63c3a1b8ab7279afd2440657917656a54c32c2df0b2fb37285125081a342676b/diff",
            "WorkDir": "/var/lib/docker/overlay2/63c3a1b8ab7279afd2440657917656a54c32c2df0b2fb37285125081a342676b/work"
        },
        "Name": "overlay2"
    },
    "RootFS": {
        "Type": "layers",
        "Layers": [
            "sha256:63ca1fbb43ae5034640e5e6cb3e083e05c290072c5366fcaa9d62435a4cced85",
            "sha256:176b7d98923cb50756f4a971fbba2a2b0d418ce21652ed2e08e260b3d86e0fa0",
            "sha256:e5a61bdb3703ee96155b6f8dc306f8f6da9dfbad50577f14bd0195b12caa8ff3",
            "sha256:7fe6697a3d3d9be5899617d24dba72d0ac72ce825cab267663ecbdd9bc3e5374",
            "sha256:cb5b94945db070e4dba158641f1e9764cd2f669602dae0f6d1722f4a9160a0b7",
            "sha256:67c68cfdd98088695ff1cd75c7986a4897ceca0385caed58259a0b36ff73f841",
            "sha256:ebcd72ddd0a5a1710d35c9d5d247b23cdf5466600693de4ae3c6765057a0dc5b",
            "sha256:f172bbebcdf0eaadf68e784fd74b31674c299ef9ae8abc917b9d42c6e28509d5",
            "sha256:f3ddff65fe4ec7e6912e1936c94772616246f19dc2d96f92327f203b8c832181",
            "sha256:1153c6372fe224644fd86474dd580c346b3d0c91c4819a5a6a4d533d2ea7b0f3",
            "sha256:a618decdee1c2e44cfdc6798fd0074f91c861800a0843fe76adab30f0cbf4359",
            "sha256:2de2c9aff4447fca2e37c6de6a33ba52d35c6492975544944efa63fd87ea657e",
            "sha256:9618e464d79a5f88b8e9ef2cabdf2d7a98acb5170e828b2f22febddf7edb915a",
            "sha256:391c90334da1787fa4f3a57184bb145b6c5ab5f20c6edf3874f67df664fbd463",
            "sha256:beebc628b81b51ccc2ee33d5dcedbc355dd4f4efc225187de4d45063b817449b",
            "sha256:e1f334a3527908af6c843032d1259e9665dd917f9b7fa6d8d6ca2ecf66a44153",
            "sha256:cf1bfb4e3fc5b5bcfab48cbbfefd2477c53a9b4affd92fa4d7388195e6a41c13",
            "sha256:29d95a5987cc30b8ef8da647c74538dd88913021fc77bb823a7b231e03b28ed8",
            "sha256:d3d5c822d5cb697427c9abc921ac1abe6c7e963dd5876363dde71063ceab9f8e"
        ]
    },
    "Metadata": {
        "LastTagTime": "2024-10-31T15:03:47.888636682+08:00"
    }
}

更多版本

docker.io/timescale/timescaledb-ha:pg16-ts2.17-all

linux/amd64 docker.io6.03GB2024-10-16 11:08
98

docker.io/timescale/timescaledb:2.17.0-pg16

linux/amd64 docker.io718.49MB2024-10-31 15:04
42