镜像构建历史
# 2025-08-28 01:18:13 0.00B 配置容器启动时运行的命令
ENTRYPOINT ["/usr/local/bin/entrypoint.sh"]
# 2025-08-28 01:18:13 0.00B 声明容器运行时监听的端口
EXPOSE map[6035/tcp:{} 6036/tcp:{} 8387/tcp:{}]
# 2025-08-28 01:18:13 37.77KB 执行命令并创建新的镜像层
RUN |3 pkgFile=tdengine-tdgpt-oss-3.3.7.5-linux-x64.tar.gz dirName=tdengine-tdgpt-oss-3.3.7.5 modelDlUrl=anode /bin/sh -c chmod +x /usr/local/bin/entrypoint.sh /root/taos_ts_server.py # buildkit
# 2025-08-28 01:18:12 1.12KB 复制新文件或目录到容器中
COPY entrypoint.sh /usr/local/bin/entrypoint.sh # buildkit
# 2025-08-28 01:18:11 2.08GB 执行命令并创建新的镜像层
RUN |3 pkgFile=tdengine-tdgpt-oss-3.3.7.5-linux-x64.tar.gz dirName=tdengine-tdgpt-oss-3.3.7.5 modelDlUrl=anode /bin/sh -c cd ${dirName}/ && /bin/bash install.sh -e no && cd .. && rm -rf ${dirName} # buildkit
# 2025-08-27 23:43:46 336.92MB 复制文件或目录到容器中
ADD tdengine-tdgpt-oss-3.3.7.5-linux-x64.tar.gz anode/taos.pth anode/taos_ts_server.py anode/fc_australia.sql /root/ # buildkit
# 2025-08-27 23:43:46 0.00B 定义构建参数
ARG modelDlUrl
# 2025-08-27 23:43:46 0.00B 定义构建参数
ARG dirName
# 2025-08-27 23:43:46 0.00B 定义构建参数
ARG pkgFile
# 2025-08-27 23:43:46 0.00B 设置环境变量 DEBIAN_FRONTEND
ENV DEBIAN_FRONTEND=noninteractive
# 2025-08-19 03:10:17 0.00B 设置工作目录为/root
WORKDIR /root
# 2025-06-30 11:20:54 0.00B 设置环境变量 PATH
ENV PATH=/var/lib/taos/taosanode/venv/bin:/usr/local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
# 2025-06-30 11:20:54 0.00B 设置环境变量 VIRTUAL_ENV
ENV VIRTUAL_ENV=/var/lib/taos/taosanode/venv
# 2025-06-30 11:20:54 2.07MB 执行命令并创建新的镜像层
RUN /bin/sh -c apt-get update -y && apt-get install -y --no-install-recommends procps && apt-get clean && rm -rf /var/lib/apt/lists/* # buildkit
# 2025-06-30 11:20:15 3.34GB 复制新文件或目录到容器中
COPY /var/lib/taos/taosanode/venv /var/lib/taos/taosanode/venv # buildkit
# 2024-12-05 00:49:14 0.00B 设置默认要执行的命令
CMD ["python3"]
# 2024-12-05 00:49:14 36.00B 执行命令并创建新的镜像层
RUN /bin/sh -c set -eux; for src in idle3 pip3 pydoc3 python3 python3-config; do dst="$(echo "$src" | tr -d 3)"; [ -s "/usr/local/bin/$src" ]; [ ! -e "/usr/local/bin/$dst" ]; ln -svT "$src" "/usr/local/bin/$dst"; done # buildkit
# 2024-12-05 00:49:14 43.17MB 执行命令并创建新的镜像层
RUN /bin/sh -c set -eux; savedAptMark="$(apt-mark showmanual)"; apt-get update; apt-get install -y --no-install-recommends dpkg-dev gcc gnupg libbluetooth-dev libbz2-dev libc6-dev libdb-dev libffi-dev libgdbm-dev liblzma-dev libncursesw5-dev libreadline-dev libsqlite3-dev libssl-dev make tk-dev uuid-dev wget xz-utils zlib1g-dev ; wget -O python.tar.xz "https://www.python.org/ftp/python/${PYTHON_VERSION%%[a-z]*}/Python-$PYTHON_VERSION.tar.xz"; echo "$PYTHON_SHA256 *python.tar.xz" | sha256sum -c -; wget -O python.tar.xz.asc "https://www.python.org/ftp/python/${PYTHON_VERSION%%[a-z]*}/Python-$PYTHON_VERSION.tar.xz.asc"; GNUPGHOME="$(mktemp -d)"; export GNUPGHOME; gpg --batch --keyserver hkps://keys.openpgp.org --recv-keys "$GPG_KEY"; gpg --batch --verify python.tar.xz.asc python.tar.xz; gpgconf --kill all; rm -rf "$GNUPGHOME" python.tar.xz.asc; mkdir -p /usr/src/python; tar --extract --directory /usr/src/python --strip-components=1 --file python.tar.xz; rm python.tar.xz; cd /usr/src/python; gnuArch="$(dpkg-architecture --query DEB_BUILD_GNU_TYPE)"; ./configure --build="$gnuArch" --enable-loadable-sqlite-extensions --enable-optimizations --enable-option-checking=fatal --enable-shared --with-lto --with-ensurepip ; nproc="$(nproc)"; EXTRA_CFLAGS="$(dpkg-buildflags --get CFLAGS)"; LDFLAGS="$(dpkg-buildflags --get LDFLAGS)"; LDFLAGS="${LDFLAGS:--Wl},--strip-all"; make -j "$nproc" "EXTRA_CFLAGS=${EXTRA_CFLAGS:-}" "LDFLAGS=${LDFLAGS:-}" ; rm python; make -j "$nproc" "EXTRA_CFLAGS=${EXTRA_CFLAGS:-}" "LDFLAGS=${LDFLAGS:--Wl},-rpath='\$\$ORIGIN/../lib'" python ; make install; cd /; rm -rf /usr/src/python; find /usr/local -depth \( \( -type d -a \( -name test -o -name tests -o -name idle_test \) \) -o \( -type f -a \( -name '*.pyc' -o -name '*.pyo' -o -name 'libpython*.a' \) \) \) -exec rm -rf '{}' + ; ldconfig; apt-mark auto '.*' > /dev/null; apt-mark manual $savedAptMark; find /usr/local -type f -executable -not \( -name '*tkinter*' \) -exec ldd '{}' ';' | awk '/=>/ { so = $(NF-1); if (index(so, "/usr/local/") == 1) { next }; gsub("^/(usr/)?", "", so); printf "*%s\n", so }' | sort -u | xargs -r dpkg-query --search | cut -d: -f1 | sort -u | xargs -r apt-mark manual ; apt-get purge -y --auto-remove -o APT::AutoRemove::RecommendsImportant=false; rm -rf /var/lib/apt/lists/*; export PYTHONDONTWRITEBYTECODE=1; python3 --version; pip3 install --disable-pip-version-check --no-cache-dir --no-compile 'setuptools==65.5.1' wheel ; pip3 --version # buildkit
# 2024-12-05 00:49:14 0.00B 设置环境变量 PYTHON_SHA256
ENV PYTHON_SHA256=bfb249609990220491a1b92850a07135ed0831e41738cf681d63cf01b2a8fbd1
# 2024-12-05 00:49:14 0.00B 设置环境变量 PYTHON_VERSION
ENV PYTHON_VERSION=3.10.16
# 2024-12-05 00:49:14 0.00B 设置环境变量 GPG_KEY
ENV GPG_KEY=A035C8C19219BA821ECEA86B64E628F8D684696D
# 2024-12-05 00:49:14 9.24MB 执行命令并创建新的镜像层
RUN /bin/sh -c set -eux; apt-get update; apt-get install -y --no-install-recommends ca-certificates netbase tzdata ; rm -rf /var/lib/apt/lists/* # buildkit
# 2024-12-05 00:49:14 0.00B 设置环境变量 LANG
ENV LANG=C.UTF-8
# 2024-12-05 00:49:14 0.00B 设置环境变量 PATH
ENV PATH=/usr/local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
# 2024-12-05 00:49:14 74.78MB
# debian.sh --arch 'amd64' out/ 'bookworm' '@1742169600'
镜像信息
{
"Id": "sha256:bde0ed3a28740c906d7a0e2e0903a5365b24182f2d72923edf635048cf8c3141",
"RepoTags": [
"tdengine/tdgpt:latest",
"swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/tdengine/tdgpt:latest"
],
"RepoDigests": [
"tdengine/tdgpt@sha256:b49b543b5b8aa49a0117664a499cfbbd14b9283f1292a80f91673db4750bff86",
"swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/tdengine/tdgpt@sha256:63decccef5c9fddc2ad062c5d689555ebf08cf8a259169bf1eb575a38930df9a"
],
"Parent": "",
"Comment": "buildkit.dockerfile.v0",
"Created": "2025-08-28T01:18:13.217152734+08:00",
"Container": "",
"ContainerConfig": null,
"DockerVersion": "",
"Author": "",
"Config": {
"Hostname": "",
"Domainname": "",
"User": "",
"AttachStdin": false,
"AttachStdout": false,
"AttachStderr": false,
"ExposedPorts": {
"6035/tcp": {},
"6036/tcp": {},
"8387/tcp": {}
},
"Tty": false,
"OpenStdin": false,
"StdinOnce": false,
"Env": [
"PATH=/var/lib/taos/taosanode/venv/bin:/usr/local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin",
"LANG=C.UTF-8",
"GPG_KEY=A035C8C19219BA821ECEA86B64E628F8D684696D",
"PYTHON_VERSION=3.10.16",
"PYTHON_SHA256=bfb249609990220491a1b92850a07135ed0831e41738cf681d63cf01b2a8fbd1",
"VIRTUAL_ENV=/var/lib/taos/taosanode/venv",
"DEBIAN_FRONTEND=noninteractive"
],
"Cmd": null,
"Image": "",
"Volumes": null,
"WorkingDir": "/root",
"Entrypoint": [
"/usr/local/bin/entrypoint.sh"
],
"OnBuild": null,
"Labels": null
},
"Architecture": "amd64",
"Os": "linux",
"Size": 5886965485,
"GraphDriver": {
"Data": {
"LowerDir": "/var/lib/docker/overlay2/6dcd1e8a8aa9ce82499e99af4e8dd35e0f56631027dca9ad56d5961d2b92d913/diff:/var/lib/docker/overlay2/30a3683a669da6a80c6c234cf3f2c9bcf2d99bd23d878ee66ab8c7397b9fff94/diff:/var/lib/docker/overlay2/658f95b4fc1e8c3737892a20e24a63243c0fb7334abf4ea4eadc27c556fea9fe/diff:/var/lib/docker/overlay2/d570987dc603dd847bb9dfba700ce4598a4842a46aaf30704b28826d17ff7bf0/diff:/var/lib/docker/overlay2/2fe73de135f0581ac447124c8fd36970cb2f0e3728b08a2addf54cca351ef5e3/diff:/var/lib/docker/overlay2/6bdb7c8b6d501e073481045f872ccf7ceb66d72269b190b182f2a2efb9eff6fb/diff:/var/lib/docker/overlay2/77ee9dac200327f37ca4b994d023c750f66a7ae2a90c4dce88f74b733d01b781/diff:/var/lib/docker/overlay2/d392a66e2342ede6cb95356030d273265604adaf66e2b0dd2d4e51623f803ffd/diff:/var/lib/docker/overlay2/e974b0cc3df901369ad5b7e878b36523c99972436b268158fce72f4996e2f692/diff:/var/lib/docker/overlay2/21120445aa7872b840bc7feff58394c342088bd04bc375bba1fb647c3f1489de/diff",
"MergedDir": "/var/lib/docker/overlay2/5b26800f2137a3066147e5ce67274b511a0f6e31fd168d82e28ae833b0fe2c5c/merged",
"UpperDir": "/var/lib/docker/overlay2/5b26800f2137a3066147e5ce67274b511a0f6e31fd168d82e28ae833b0fe2c5c/diff",
"WorkDir": "/var/lib/docker/overlay2/5b26800f2137a3066147e5ce67274b511a0f6e31fd168d82e28ae833b0fe2c5c/work"
},
"Name": "overlay2"
},
"RootFS": {
"Type": "layers",
"Layers": [
"sha256:1287fbecdfcce6ee8cf2436e5b9e9d86a4648db2d91080377d499737f1b307f3",
"sha256:cb7d55d6aea411516f01dc4ef7f223c8e70eaed45dff769b18de3f9a23d55dcd",
"sha256:5e1f050c21557653784e5856daa731cc93e40c5ebb953cdf432c30c684d74fb7",
"sha256:6ada3f409cd72acd692e0674bf51e5c9dd8fc11bb66c626795e730241e0b1c9c",
"sha256:5d70ee6e95c894be2d7cbac0ee0ee97b281c2ea2a5bd431b6eba2c7e65309372",
"sha256:760f37a3ccaeb9d677203ccd1b346c90a5495485a4d9b19a6f75fd1917b3c608",
"sha256:5f70bf18a086007016e948b04aed3b82103a36bea41755b6cddfaf10ace3c6ef",
"sha256:98915c6a40c11c0b759ff932a334b3536c8501e9193b74f403bcf7c7ee5d0153",
"sha256:58dc228ad04845a523054bf1d334ffbb4e312dedd74863f10fd8940afcdfdd08",
"sha256:76ab2b3ad60dec84c4252b9a92cb4af327b5452a998a21a9f9e0d26854cd7d55",
"sha256:f096bc15e92d095e15eb5ac9857f0abee49c88b5bed13405399e64d7fc433c8a"
]
},
"Metadata": {
"LastTagTime": "2025-08-29T12:09:19.070572714+08:00"
}
}