镜像构建历史
# 2024-11-04 15:39:08 0.00B 声明容器运行时监听的端口
EXPOSE map[5000/tcp:{}]
# 2024-11-04 15:39:08 0.00B 设置默认要执行的命令
CMD ["python" "app.py"]
# 2024-11-04 15:39:08 22.07MB 复制新文件或目录到容器中
COPY ./dist /app/public # buildkit
# 2024-11-04 15:39:08 8.43MB 执行命令并创建新的镜像层
RUN /bin/sh -c pip install -r requirements.txt # buildkit
# 2024-11-04 15:38:55 0.00B 执行命令并创建新的镜像层
RUN /bin/sh -c . venv/bin/activate # buildkit
# 2024-11-04 15:38:55 21.60MB 执行命令并创建新的镜像层
RUN /bin/sh -c python -m venv venv # buildkit
# 2024-11-04 15:38:50 4.50KB 复制新文件或目录到容器中
COPY ./flask . # buildkit
# 2024-11-04 15:21:09 0.00B 设置工作目录为/app
WORKDIR /app
# 2023-07-22 17:49:12 0.00B 设置默认要执行的命令
CMD ["python3"]
# 2023-07-22 17:49:12 12.21MB 执行命令并创建新的镜像层
RUN /bin/sh -c set -eux; savedAptMark="$(apt-mark showmanual)"; apt-get update; apt-get install -y --no-install-recommends wget; wget -O get-pip.py "$PYTHON_GET_PIP_URL"; echo "$PYTHON_GET_PIP_SHA256 *get-pip.py" | sha256sum -c -; apt-mark auto '.*' > /dev/null; [ -z "$savedAptMark" ] || apt-mark manual $savedAptMark > /dev/null; apt-get purge -y --auto-remove -o APT::AutoRemove::RecommendsImportant=false; rm -rf /var/lib/apt/lists/*; export PYTHONDONTWRITEBYTECODE=1; python get-pip.py --disable-pip-version-check --no-cache-dir --no-compile "pip==$PYTHON_PIP_VERSION" "setuptools==$PYTHON_SETUPTOOLS_VERSION" ; rm -f get-pip.py; pip --version # buildkit
# 2023-07-22 17:49:12 0.00B 设置环境变量 PYTHON_GET_PIP_SHA256
ENV PYTHON_GET_PIP_SHA256=45a2bb8bf2bb5eff16fdd00faef6f29731831c7c59bd9fc2bf1f3bed511ff1fe
# 2023-07-22 17:49:12 0.00B 设置环境变量 PYTHON_GET_PIP_URL
ENV PYTHON_GET_PIP_URL=https://github.com/pypa/get-pip/raw/9af82b715db434abb94a0a6f3569f43e72157346/public/get-pip.py
# 2023-07-22 17:49:12 0.00B 设置环境变量 PYTHON_SETUPTOOLS_VERSION
ENV PYTHON_SETUPTOOLS_VERSION=65.5.1
# 2023-07-22 17:49:12 0.00B 设置环境变量 PYTHON_PIP_VERSION
ENV PYTHON_PIP_VERSION=23.0.1
# 2023-07-22 17:49:12 32.00B 执行命令并创建新的镜像层
RUN /bin/sh -c set -eux; for src in idle3 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
# 2023-07-22 17:49:12 50.94MB 执行命令并创建新的镜像层
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 libexpat1-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"; 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-system-expat --without-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:-}" "PROFILE_TASK=${PROFILE_TASK:-}" ; rm python; make -j "$nproc" "EXTRA_CFLAGS=${EXTRA_CFLAGS:-}" "LDFLAGS=${LDFLAGS:--Wl},-rpath='\$\$ORIGIN/../lib'" "PROFILE_TASK=${PROFILE_TASK:-}" 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); print 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/*; python3 --version # buildkit
# 2023-07-22 17:49:12 0.00B 设置环境变量 PYTHON_VERSION
ENV PYTHON_VERSION=3.10.12
# 2023-07-22 17:49:12 0.00B 设置环境变量 GPG_KEY
ENV GPG_KEY=A035C8C19219BA821ECEA86B64E628F8D684696D
# 2023-07-22 17:49:12 9.21MB 执行命令并创建新的镜像层
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
# 2023-07-22 17:49:12 0.00B 设置环境变量 LANG
ENV LANG=C.UTF-8
# 2023-07-22 17:49:12 0.00B 设置环境变量 PATH
ENV PATH=/usr/local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
# 2023-08-16 08:59:47 0.00B
/bin/sh -c #(nop) CMD ["bash"]
# 2023-08-16 08:59:46 74.76MB
/bin/sh -c #(nop) ADD file:997f5a9b32407d96efac41a1cfafb318f77de077c8b5cd7065b6ec9796b4bf5e in /
镜像信息
{
"Id": "sha256:7c06dcb13c04d27275600f166517622af9b538bac4556502b4b876b5c1ebfa23",
"RepoTags": [
"jarvay/motrix-web:latest",
"swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/jarvay/motrix-web:latest"
],
"RepoDigests": [
"jarvay/motrix-web@sha256:ea25cefca2d3de8b5d916a0309c0f9542e6aa659e5bc7bb7c845feda65f51a70",
"swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/jarvay/motrix-web@sha256:bb784db23e5a9ef13afcfd99b87e87e09e0fca39683438d932f934d275cca8e1"
],
"Parent": "",
"Comment": "buildkit.dockerfile.v0",
"Created": "2024-11-04T07:39:08.42736894Z",
"Container": "",
"ContainerConfig": null,
"DockerVersion": "",
"Author": "",
"Config": {
"Hostname": "",
"Domainname": "",
"User": "",
"AttachStdin": false,
"AttachStdout": false,
"AttachStderr": false,
"ExposedPorts": {
"5000/tcp": {}
},
"Tty": false,
"OpenStdin": false,
"StdinOnce": false,
"Env": [
"PATH=/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.12",
"PYTHON_PIP_VERSION=23.0.1",
"PYTHON_SETUPTOOLS_VERSION=65.5.1",
"PYTHON_GET_PIP_URL=https://github.com/pypa/get-pip/raw/9af82b715db434abb94a0a6f3569f43e72157346/public/get-pip.py",
"PYTHON_GET_PIP_SHA256=45a2bb8bf2bb5eff16fdd00faef6f29731831c7c59bd9fc2bf1f3bed511ff1fe"
],
"Cmd": [
"python",
"app.py"
],
"ArgsEscaped": true,
"Image": "",
"Volumes": null,
"WorkingDir": "/app",
"Entrypoint": null,
"OnBuild": null,
"Labels": null
},
"Architecture": "amd64",
"Os": "linux",
"Size": 199239818,
"GraphDriver": {
"Data": {
"LowerDir": "/var/lib/docker/overlay2/8f0a64601089075f16c98d0e8d86c87c6e39e53427c73a8c96226807447d505d/diff:/var/lib/docker/overlay2/ff8ca273e3722a49df7692f47fb91b1e275c7fa57ede4ca9b38c24f4f1a7100b/diff:/var/lib/docker/overlay2/f1844037cb33ee30144cc481e323f9b31bc4544145bcaf22a55180129cbac295/diff:/var/lib/docker/overlay2/68454738ef43b759255422e8f0594b1b366b51aa410ccd87d3923622d9f08c9e/diff:/var/lib/docker/overlay2/abf8f61c08336d639060dc3946f8c5c24365dd035a5e125412df61204ea4754d/diff:/var/lib/docker/overlay2/024a3bc14c8b76fcc4b6873cb10807faabbd6c33fc50ff75a106649ffab6fb4c/diff:/var/lib/docker/overlay2/25fecb5f86fa9d853b957a2151c76f0b271cb4e855d35a6a001d24927ca16b96/diff:/var/lib/docker/overlay2/514673439d8be2a4bdf377e2511ce6bd3402e25bc459a968f652a3b851846ef5/diff:/var/lib/docker/overlay2/7542a44d89cd8fcbd0da65e9295a574915b7231d33bdd983cb40e6aa5198d76b/diff:/var/lib/docker/overlay2/0f4eb2977abbafcfc55607bac33400bf9d9d575d33ee472f40e4b47003d172a7/diff",
"MergedDir": "/var/lib/docker/overlay2/9bee7e666164bebffa6f5d371dd294e7c5224fb9c5fe4a976fc96de24bcc00e7/merged",
"UpperDir": "/var/lib/docker/overlay2/9bee7e666164bebffa6f5d371dd294e7c5224fb9c5fe4a976fc96de24bcc00e7/diff",
"WorkDir": "/var/lib/docker/overlay2/9bee7e666164bebffa6f5d371dd294e7c5224fb9c5fe4a976fc96de24bcc00e7/work"
},
"Name": "overlay2"
},
"RootFS": {
"Type": "layers",
"Layers": [
"sha256:511780f88f80081112aea1bfdca6c800e1983e401b338e20b2c6e97f384e4299",
"sha256:5b60283f3630414f6fe44bc0dabec675c177dfffc4db7431fb6bbf6bb6b87243",
"sha256:1b9e3cebd93c3e5a8ff34b8f7232877a28495b5930a0df5c28d4b40d5c3d9eec",
"sha256:43574d3b4af97c50175f1b9707323baa0e50a7c63c9120ff9d56b54a5d3d9098",
"sha256:54512d0df01f14f7c60b5a82fe92dad97f8d39452d749db518b1915ff8d671b0",
"sha256:1f19fb013236e55daacb4d8765350c2882d0536f3b46795a30e2b44b20816dcd",
"sha256:305aecec52c0fb4984498371e13ab2b51933745d6c584479c42efadddd816894",
"sha256:21d418e0a8a401ac15382b9328d4714cf2b40c92ea2196c7d25dc50a0b849357",
"sha256:5f70bf18a086007016e948b04aed3b82103a36bea41755b6cddfaf10ace3c6ef",
"sha256:7ec85197dc66fa350ff842d30a7d82b289e99e0d857b1602d0847a4cf4970162",
"sha256:25b07577022915cbfef6a15360252d5aa903ec97b38f777283c2f4fd784828a6"
]
},
"Metadata": {
"LastTagTime": "2025-08-30T22:58:56.124367505+08:00"
}
}