镜像构建历史
# 2025-11-30 09:02:02 0.00B 配置容器启动时运行的命令
ENTRYPOINT ["python" "bot.py"]
# 2025-11-30 09:02:02 0.00B 声明容器运行时监听的端口
EXPOSE [8000/tcp]
# 2025-11-30 09:02:02 11.53MB 复制新文件或目录到容器中
COPY . . # buildkit
# 2025-11-30 09:02:01 741.58MB 执行命令并创建新的镜像层
RUN /bin/sh -c uv pip install --system -r requirements.txt # buildkit
# 2025-11-30 09:01:54 11.00MB 执行命令并创建新的镜像层
RUN /bin/sh -c uv pip install --system --upgrade pip # buildkit
# 2025-11-30 09:01:53 531.22MB 复制新文件或目录到容器中
COPY /usr/local/lib/python3.13/site-packages/ /usr/local/lib/python3.13/site-packages/ # buildkit
# 2025-11-29 19:55:51 133.47MB 执行命令并创建新的镜像层
RUN /bin/sh -c apt-get update && apt-get install -y git # buildkit
# 2025-11-29 19:55:38 501.00B 复制新文件或目录到容器中
COPY requirements.txt . # buildkit
# 2025-11-27 08:53:49 0.00B 设置工作目录为/MaiMBot
WORKDIR /MaiMBot
# 2025-11-27 08:53:49 43.61MB 复制新文件或目录到容器中
COPY /uv /uvx /bin/ # buildkit
# 2025-11-18 12:44:56 0.00B 设置默认要执行的命令
CMD ["python3"]
# 2025-11-18 12:44:56 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
# 2025-11-18 12:44:56 38.38MB 执行命令并创建新的镜像层
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 $(test "${gnuArch%%-*}" != 'riscv64' && echo '--with-lto') --with-ensurepip ; nproc="$(nproc)"; EXTRA_CFLAGS="$(dpkg-buildflags --get CFLAGS)"; LDFLAGS="$(dpkg-buildflags --get LDFLAGS)"; LDFLAGS="${LDFLAGS:--Wl},--strip-all"; arch="$(dpkg --print-architecture)"; arch="${arch##*-}"; case "$arch" in amd64|arm64) EXTRA_CFLAGS="${EXTRA_CFLAGS:-} -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer"; ;; i386) ;; *) EXTRA_CFLAGS="${EXTRA_CFLAGS:-} -fno-omit-frame-pointer"; ;; esac; 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 -rt dpkg-query --search | awk 'sub(":$", "", $1) { print $1 }' | sort -u | xargs -r apt-mark manual ; apt-get purge -y --auto-remove -o APT::AutoRemove::RecommendsImportant=false; apt-get dist-clean; export PYTHONDONTWRITEBYTECODE=1; python3 --version; pip3 --version # buildkit
# 2025-11-18 12:32:03 0.00B 设置环境变量 PYTHON_SHA256
ENV PYTHON_SHA256=ed5ef34cda36cfa2f3a340f07cac7e7814f91c7f3c411f6d3562323a866c5c66
# 2025-11-18 12:32:03 0.00B 设置环境变量 PYTHON_VERSION
ENV PYTHON_VERSION=3.13.9
# 2025-11-18 12:32:03 0.00B 设置环境变量 GPG_KEY
ENV GPG_KEY=7169605F62C751356D054A26A821E680E5FA6305
# 2025-11-18 12:32:03 3.86MB 执行命令并创建新的镜像层
RUN /bin/sh -c set -eux; apt-get update; apt-get install -y --no-install-recommends ca-certificates netbase tzdata ; apt-get dist-clean # buildkit
# 2025-11-18 12:32:03 0.00B 设置环境变量 PATH
ENV PATH=/usr/local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
# 2025-11-17 08:00:00 100.56MB
# debian.sh --arch 'arm64' out/ 'trixie' '@1763337600'
镜像信息
{
"Id": "sha256:3b84f977a47c9fee560c59d76504bac66d58676f62c9aee043534d9684445bb2",
"RepoTags": [
"sengokucola/maibot:main-734dcc5",
"swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/sengokucola/maibot:main-734dcc5-linuxarm64"
],
"RepoDigests": [
"sengokucola/maibot@sha256:788bf270f41a17698412dba25d40d7724146b23b9fe1b666222a1d9a31a1ee10",
"swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/sengokucola/maibot@sha256:4e3d2a177e7db8ee3f5a7a4d4f593f3e0844f5fadf4e00434af0cb3b25256807"
],
"Parent": "",
"Comment": "buildkit.dockerfile.v0",
"Created": "2025-11-30T01:02:02.149252231Z",
"Container": "",
"ContainerConfig": null,
"DockerVersion": "",
"Author": "",
"Config": {
"Hostname": "",
"Domainname": "",
"User": "",
"AttachStdin": false,
"AttachStdout": false,
"AttachStderr": false,
"ExposedPorts": {
"8000/tcp": {}
},
"Tty": false,
"OpenStdin": false,
"StdinOnce": false,
"Env": [
"PATH=/usr/local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin",
"GPG_KEY=7169605F62C751356D054A26A821E680E5FA6305",
"PYTHON_VERSION=3.13.9",
"PYTHON_SHA256=ed5ef34cda36cfa2f3a340f07cac7e7814f91c7f3c411f6d3562323a866c5c66"
],
"Cmd": null,
"Image": "",
"Volumes": null,
"WorkingDir": "/MaiMBot",
"Entrypoint": [
"python",
"bot.py"
],
"OnBuild": null,
"Labels": {
"org.opencontainers.image.created": "2025-11-30T01:01:03.563Z",
"org.opencontainers.image.description": "麦麦bot,一款专注于 群组聊天 的赛博网友(比较专注)多平台智能体",
"org.opencontainers.image.licenses": "GPL-3.0",
"org.opencontainers.image.revision": "734dcc5351360741a2e7b9ca481de6a19c5ef162",
"org.opencontainers.image.source": "https://github.com/Mai-with-u/MaiBot",
"org.opencontainers.image.title": "MaiBot",
"org.opencontainers.image.url": "https://github.com/Mai-with-u/MaiBot",
"org.opencontainers.image.version": "nightly"
}
},
"Architecture": "arm64",
"Os": "linux",
"Size": 1615213369,
"GraphDriver": {
"Data": {
"LowerDir": "/var/lib/docker/overlay2/87e7c12755a8c95dc22e44834afdf2659c4c6ca5102afe6dba9af1d75f5e1dd8/diff:/var/lib/docker/overlay2/1accbb1e567f7c09ed1090760bc87a9de64e15a1add1e4ae8801a551a1090af8/diff:/var/lib/docker/overlay2/5f80d97baf0de860b2c218e5800ad1e951092732bfedd9eb2270b615fe6e91a6/diff:/var/lib/docker/overlay2/2a7f9624bd7e1986ecf4a431da0c21f7937d34405c1aa0b67e5fb21298ca59f8/diff:/var/lib/docker/overlay2/d8ad513cc79478ba1508468cfffd7e16606e412dbebfcca1ba54f17c362f2d2b/diff:/var/lib/docker/overlay2/d388a63adc4cf6318d8c6dde9bb1ac817a197b6dce5c2fa155f190cfd01275cf/diff:/var/lib/docker/overlay2/cde324ee0ac5740e82ae08acefcd5c089da62fd68a6cf39cb26f636641542a97/diff:/var/lib/docker/overlay2/5dc8eeffb9699cd86422d4edc8c1cca0a8482a241bd626da53f7071c8b64d353/diff:/var/lib/docker/overlay2/deb394fa577e3a1afccd8b9ca7a91548c42a2da80b959b9fbdd14a9d8f17983b/diff:/var/lib/docker/overlay2/77df9401e6a48670e0ec503060733e9c515e9e24391bb423b86e533b96ddec1a/diff:/var/lib/docker/overlay2/e4327f94b286e6f2a5e08a62492b5a28f055bddb7ddfd2b02bc85e912559a798/diff",
"MergedDir": "/var/lib/docker/overlay2/a316687bdfeb8514624b6fa1c7a7df1cf4ea816e7d3fff8410cdae6bf165b785/merged",
"UpperDir": "/var/lib/docker/overlay2/a316687bdfeb8514624b6fa1c7a7df1cf4ea816e7d3fff8410cdae6bf165b785/diff",
"WorkDir": "/var/lib/docker/overlay2/a316687bdfeb8514624b6fa1c7a7df1cf4ea816e7d3fff8410cdae6bf165b785/work"
},
"Name": "overlay2"
},
"RootFS": {
"Type": "layers",
"Layers": [
"sha256:f1b30ab9918326dc2f4c25f16c0e6c13e9a48427441ea41c0e4d8f3e6699da24",
"sha256:fa48dc2c3dd55137b69c18bac387f238a9c834e8bc46abd89096c9b17583cb57",
"sha256:28344bef7fa82690413fb316ca4b44834db9bc6ff6550eb938fc9bdd265072d1",
"sha256:b67ebd0c61b62aff953d58780e2c0dae8590f44ab684000cc8912125028dde17",
"sha256:d50007a4497e080d0c955282cfc158fab82b0128e9bfef4856ae8d7a5ac3f42c",
"sha256:4924bf68e866b82de149e584ba02bdd4ea5347a910208b9e19fcf97547414315",
"sha256:023c60f28644a4fef5a95682506c52ccdcb5d405f3bbb6958c21540fdd622a11",
"sha256:ee83f9d08506ee0f539b8aea2fa3bd73dae0d0ae87373cc82c6688699e2234eb",
"sha256:3bdcceacd64b1eee7bf2d8c4e8143ec0f093b84efbfa509958597329456c5ea0",
"sha256:3141bd99cb40feb32d72b7f15cedd567a4ab10fb7d703a9cd85fd9525feca3fd",
"sha256:fca68c5ac33137072c7a3461cd78bf59406fb311c4ae440ef2b1620840ac7f7c",
"sha256:fc7b7f07716da4ef94b2531449875327f515ca163a4c179f4f8a081955bfd8f8"
]
},
"Metadata": {
"LastTagTime": "2025-11-30T22:16:43.528751048+08:00"
}
}