镜像构建历史
# 2025-11-30 21:52:09 0.00B 配置容器启动时运行的命令
ENTRYPOINT ["uv" "run" "bot.py"]
# 2025-11-30 21:52:09 0.00B 声明容器运行时监听的端口
EXPOSE [8000/tcp]
# 2025-11-30 21:52:09 10.51MB 复制新文件或目录到容器中
COPY . . # buildkit
# 2025-11-27 23:11:22 1.37GB 执行命令并创建新的镜像层
RUN /bin/sh -c uv sync # buildkit
# 2025-11-27 23:10:17 370.02MB 执行命令并创建新的镜像层
RUN /bin/sh -c apt-get update && apt-get install -y build-essential # buildkit
# 2025-11-27 23:09:48 3.57KB 复制新文件或目录到容器中
COPY pyproject.toml . # buildkit
# 2025-11-27 14:07:00 0.00B 设置工作目录为/app
WORKDIR /app
# 2025-11-27 14:07:00 43.61MB 复制新文件或目录到容器中
COPY /uv /uvx /bin/ # buildkit
# 2025-06-12 05:49:27 0.00B 设置默认要执行的命令
CMD ["python3"]
# 2025-06-12 05:49:27 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-06-12 05:49:27 39.89MB 执行命令并创建新的镜像层
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-linux-musl' && 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 -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 --version # buildkit
# 2025-06-12 05:49:27 0.00B 设置环境变量 PYTHON_SHA256
ENV PYTHON_SHA256=93e583f243454e6e9e4588ca2c2662206ad961659863277afcdb96801647d640
# 2025-06-12 05:49:27 0.00B 设置环境变量 PYTHON_VERSION
ENV PYTHON_VERSION=3.13.5
# 2025-06-12 05:49:27 0.00B 设置环境变量 GPG_KEY
ENV GPG_KEY=7169605F62C751356D054A26A821E680E5FA6305
# 2025-06-12 05:49:27 9.18MB 执行命令并创建新的镜像层
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
# 2025-06-12 05:49:27 0.00B 设置环境变量 PATH
ENV PATH=/usr/local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
# 2025-06-12 05:49:27 97.21MB
# debian.sh --arch 'arm64' out/ 'bookworm' '@1753056000'
镜像信息
{
"Id": "sha256:468010798bc37c8d6532e51a36e8082d800bf78a7e90bdbddffb9df2e5ad8890",
"RepoTags": [
"ericterminal/mofox:dev-46359a8",
"swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/ericterminal/mofox:dev-46359a8-linuxarm64"
],
"RepoDigests": [
"ericterminal/mofox@sha256:8a55d87e0bceaeb9ab95dcbf3c76730c3b3e60dd61ffd895382f29e21ccad6b9",
"swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/ericterminal/mofox@sha256:a4e5941f8afdd329887e2c1d8c236fed6224df5280cf9d6d3c5a56107be43ec8"
],
"Parent": "",
"Comment": "buildkit.dockerfile.v0",
"Created": "2025-11-30T13:52:09.803159175Z",
"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.5",
"PYTHON_SHA256=93e583f243454e6e9e4588ca2c2662206ad961659863277afcdb96801647d640"
],
"Cmd": null,
"Image": "",
"Volumes": null,
"WorkingDir": "/app",
"Entrypoint": [
"uv",
"run",
"bot.py"
],
"OnBuild": null,
"Labels": {
"org.opencontainers.image.created": "2025-11-30T13:51:41.064Z",
"org.opencontainers.image.description": "墨狐机器人-多功能、拟人效果优化的MaiBot fork项目",
"org.opencontainers.image.licenses": "GPL-3.0",
"org.opencontainers.image.revision": "46359a893320c1d6fde6192e9edfea4598670da7",
"org.opencontainers.image.source": "https://github.com/MoFox-Studio/MoFox-Core",
"org.opencontainers.image.title": "MoFox-Core",
"org.opencontainers.image.url": "https://github.com/MoFox-Studio/MoFox-Core",
"org.opencontainers.image.version": "dev"
}
},
"Architecture": "arm64",
"Os": "linux",
"Size": 1945148223,
"GraphDriver": {
"Data": {
"LowerDir": "/var/lib/docker/overlay2/628ef0c3722ca4832d647f8c7a47446cd5e9e03ac47fc5ed212c9f3f76e47c3d/diff:/var/lib/docker/overlay2/1ede29ae8ab7d8affc9f9110695eb28fce7c366afab10f500d0ce12117e4467e/diff:/var/lib/docker/overlay2/8634cd00c76c56f6e606f85772783fa333b283ae9505339d5599b18b02e13f2f/diff:/var/lib/docker/overlay2/7b08805d4b92445f9bc2e8c1c8d285717fac54ebf556d496511bc76e848e1cd5/diff:/var/lib/docker/overlay2/25c703e064e039e5f3e0e828606002328243abed4026c3939467527bb8a5136f/diff:/var/lib/docker/overlay2/4bc34cb42e1b5f3aa95c54afc1214d90f751dd0c97dd094fbb1070ee583c92d4/diff:/var/lib/docker/overlay2/14ccf53730f2c2aab7a74628e48ad0aa6a85cac3e7a8fe6791b8cfef4b3feec8/diff:/var/lib/docker/overlay2/a91ea01c7670700fd63cfad0cfb20bfae2c3d6797676044dc4c629fe8165b436/diff:/var/lib/docker/overlay2/8e3c2d3e2a6b03056864ebefc95d683196de870e038e482bdc61057406b30e30/diff",
"MergedDir": "/var/lib/docker/overlay2/2cab536e9af5a09cf2a56eb202c08071a16d155990b378e658bedbbb1c375031/merged",
"UpperDir": "/var/lib/docker/overlay2/2cab536e9af5a09cf2a56eb202c08071a16d155990b378e658bedbbb1c375031/diff",
"WorkDir": "/var/lib/docker/overlay2/2cab536e9af5a09cf2a56eb202c08071a16d155990b378e658bedbbb1c375031/work"
},
"Name": "overlay2"
},
"RootFS": {
"Type": "layers",
"Layers": [
"sha256:dd97e58b4e812b247f3cd261fa7eac247b7c5896b8e34d9474762678cae7774d",
"sha256:8fcb9eb483909a09996218df66dec2b81e58c36668a8bdfd6f5a1a3bac6b045c",
"sha256:6e401836d9c344f8a56e0e68a2566b9a13fd23c71a9bcf212660419b74e7856e",
"sha256:8b3fb1df4f32b37f2173dff1ce081590c87f6f1612a2c9783a806d27f9151d9b",
"sha256:e565b0c6bd88f55fe646673fbf99c2a271f7614698f9c7ad5929fb50acc61a1e",
"sha256:b08f6c23b7174f6cfe738830f489d682bb3f825e94a7aa33d9910d0857abdbc9",
"sha256:58827d3a5d5cf0e4a2dec41ac12c5b25609c562f234f76e20d64fd822d59b3ae",
"sha256:4b6095edaa7000eb4d704ecf8a64805a72054aa00957c4eb5604a8a6997ba6b9",
"sha256:3b5c9f3fccbb57d3a9256c1e1e9d672cabfe64831c08320102448a506680e948",
"sha256:173e4c72a96e1c5095f67e44a2d2ce0ed6ba8d4a3c659d720226313f4e0732db"
]
},
"Metadata": {
"LastTagTime": "2025-11-30T22:10:59.839998987+08:00"
}
}