docker.io/byaidu/pdf2zh:latest linux/arm64

docker.io/byaidu/pdf2zh:latest - 国内下载镜像源 浏览次数:15 温馨提示: 这是一个 linux/arm64 系统架构镜像

温馨提示:此镜像为latest tag镜像,本站无法保证此版本为最新镜像

```html

该镜像 docker.io/byaidu/pdf2zh 是一个用于将PDF文件转换为中文文本的Docker镜像。它可能包含必要的工具和库来处理PDF文件,并进行OCR识别或文本提取,最终输出中文文本。

```
源镜像 docker.io/byaidu/pdf2zh:latest
国内镜像 swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/byaidu/pdf2zh:latest-linuxarm64
镜像ID sha256:cca4e262386bbaf8852be155f9ad2df03307574b33ddbf3da87c2ec6b1bacfa4
镜像TAG latest-linuxarm64
大小 2.46GB
镜像源 docker.io
项目信息 Docker-Hub主页 🚀项目TAG 🚀
CMD pdf2zh -i
启动入口
工作目录 /app
OS/平台 linux/arm64
浏览量 15 次
贡献者 wa********u@baijia.com
镜像创建 2024-12-15T14:38:16.147569329Z
同步时间 2024-12-17 04:34
更新时间 2024-12-21 20:11
开放端口
7860/tcp
环境变量
PATH=/usr/local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin LANG=C.UTF-8 GPG_KEY=7169605F62C751356D054A26A821E680E5FA6305 PYTHON_VERSION=3.12.8 PYTHON_SHA256=c909157bb25ec114e5869124cc2a9c4a4d4c1e957ca4ff553f1edc692101154e PYTHONUNBUFFERED=1
镜像标签
2024-12-15T14:30:39.217Z: org.opencontainers.image.created PDF scientific paper translation with preserved formats - 基于 AI 完整保留排版的 PDF 文档全文双语翻译,支持 Google/DeepL/Ollama/OpenAI 等服务,提供 CLI/GUI/Docker: org.opencontainers.image.description AGPL-3.0: org.opencontainers.image.licenses beb85174ca082000f6a41f6d50ab960f3f755585: org.opencontainers.image.revision https://github.com/Byaidu/PDFMathTranslate: org.opencontainers.image.source PDFMathTranslate: org.opencontainers.image.title https://github.com/Byaidu/PDFMathTranslate: org.opencontainers.image.url v1.8.8: org.opencontainers.image.version
镜像安全扫描 查看Trivy扫描报告

系统OS: debian 12.8 扫描引擎: Trivy 扫描时间: 2024-12-17 04:36

低危漏洞:575 中危漏洞:450 高危漏洞:101 严重漏洞:6

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

docker pull swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/byaidu/pdf2zh:latest-linuxarm64
docker tag  swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/byaidu/pdf2zh:latest-linuxarm64  docker.io/byaidu/pdf2zh:latest

Containerd拉取命令

ctr images pull swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/byaidu/pdf2zh:latest-linuxarm64
ctr images tag  swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/byaidu/pdf2zh:latest-linuxarm64  docker.io/byaidu/pdf2zh:latest

Shell快速替换命令

sed -i 's#byaidu/pdf2zh:latest#swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/byaidu/pdf2zh:latest-linuxarm64#' deployment.yaml

Ansible快速分发-Docker

#ansible k8s -m shell -a 'docker pull swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/byaidu/pdf2zh:latest-linuxarm64 && docker tag  swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/byaidu/pdf2zh:latest-linuxarm64  docker.io/byaidu/pdf2zh:latest'

Ansible快速分发-Containerd

#ansible k8s -m shell -a 'ctr images pull swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/byaidu/pdf2zh:latest-linuxarm64 && ctr images tag  swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/byaidu/pdf2zh:latest-linuxarm64  docker.io/byaidu/pdf2zh:latest'

镜像历史

大小 创建时间 层信息
0.00B 2024-12-15 22:38:16 CMD ["pdf2zh" "-i"]
1.25GB 2024-12-15 22:38:16 RUN /bin/sh -c pip install . # buildkit
184.29MB 2024-12-15 22:31:35 RUN /bin/sh -c apt-get update && apt-get install -y libgl1 # buildkit
0.00B 2024-12-15 22:31:35 ENV PYTHONUNBUFFERED=1
0.00B 2024-12-15 22:31:35 EXPOSE map[7860/tcp:{}]
8.49MB 2024-12-15 22:30:55 COPY . . # buildkit
0.00B 2024-12-15 22:30:55 WORKDIR /app
0.00B 2024-12-04 08:36:05 CMD ["python3"]
36.00B 2024-12-04 08:36:05 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
69.92MB 2024-12-04 08:36:05 RUN /bin/sh -c set -eux; 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)"; 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; bin="$(readlink -ve /usr/local/bin/python3)"; dir="$(dirname "$bin")"; mkdir -p "/usr/share/gdb/auto-load/$dir"; cp -vL Tools/gdb/libpython.py "/usr/share/gdb/auto-load/$bin-gdb.py"; 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; export PYTHONDONTWRITEBYTECODE=1; python3 --version; pip3 --version # buildkit
0.00B 2024-12-04 08:36:05 ENV PYTHON_SHA256=c909157bb25ec114e5869124cc2a9c4a4d4c1e957ca4ff553f1edc692101154e
0.00B 2024-12-04 08:36:05 ENV PYTHON_VERSION=3.12.8
0.00B 2024-12-04 08:36:05 ENV GPG_KEY=7169605F62C751356D054A26A821E680E5FA6305
18.23MB 2024-12-04 08:36:05 RUN /bin/sh -c set -eux; apt-get update; apt-get install -y --no-install-recommends libbluetooth-dev tk-dev uuid-dev ; rm -rf /var/lib/apt/lists/* # buildkit
0.00B 2024-12-04 08:36:05 ENV LANG=C.UTF-8
0.00B 2024-12-04 08:36:05 ENV PATH=/usr/local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
560.05MB 2024-01-09 09:14:25 RUN /bin/sh -c set -ex; apt-get update; apt-get install -y --no-install-recommends autoconf automake bzip2 default-libmysqlclient-dev dpkg-dev file g++ gcc imagemagick libbz2-dev libc6-dev libcurl4-openssl-dev libdb-dev libevent-dev libffi-dev libgdbm-dev libglib2.0-dev libgmp-dev libjpeg-dev libkrb5-dev liblzma-dev libmagickcore-dev libmagickwand-dev libmaxminddb-dev libncurses5-dev libncursesw5-dev libpng-dev libpq-dev libreadline-dev libsqlite3-dev libssl-dev libtool libwebp-dev libxml2-dev libxslt-dev libyaml-dev make patch unzip xz-utils zlib1g-dev ; rm -rf /var/lib/apt/lists/* # buildkit
183.28MB 2024-01-09 09:14:25 RUN /bin/sh -c set -eux; apt-get update; apt-get install -y --no-install-recommends git mercurial openssh-client subversion procps ; rm -rf /var/lib/apt/lists/* # buildkit
47.79MB 2023-05-11 07:29:59 RUN /bin/sh -c set -eux; apt-get update; apt-get install -y --no-install-recommends ca-certificates curl gnupg netbase sq wget ; rm -rf /var/lib/apt/lists/* # buildkit
138.89MB 2023-05-11 07:29:59 # debian.sh --arch 'arm64' out/ 'bookworm' '@1733097600'

镜像信息

{
    "Id": "sha256:cca4e262386bbaf8852be155f9ad2df03307574b33ddbf3da87c2ec6b1bacfa4",
    "RepoTags": [
        "byaidu/pdf2zh:latest",
        "swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/byaidu/pdf2zh:latest-linuxarm64"
    ],
    "RepoDigests": [
        "byaidu/pdf2zh@sha256:b1c6b6de18116aafba7553d216ecbcf7ee8fc74e18f0937a4878b3a5d6f582a9",
        "swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/byaidu/pdf2zh@sha256:585e960c001e458182cfc105663ded51160640c919d8a2ccf2956657d077b327"
    ],
    "Parent": "",
    "Comment": "buildkit.dockerfile.v0",
    "Created": "2024-12-15T14:38:16.147569329Z",
    "Container": "",
    "ContainerConfig": null,
    "DockerVersion": "",
    "Author": "",
    "Config": {
        "Hostname": "",
        "Domainname": "",
        "User": "",
        "AttachStdin": false,
        "AttachStdout": false,
        "AttachStderr": false,
        "ExposedPorts": {
            "7860/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=7169605F62C751356D054A26A821E680E5FA6305",
            "PYTHON_VERSION=3.12.8",
            "PYTHON_SHA256=c909157bb25ec114e5869124cc2a9c4a4d4c1e957ca4ff553f1edc692101154e",
            "PYTHONUNBUFFERED=1"
        ],
        "Cmd": [
            "pdf2zh",
            "-i"
        ],
        "ArgsEscaped": true,
        "Image": "",
        "Volumes": null,
        "WorkingDir": "/app",
        "Entrypoint": null,
        "OnBuild": null,
        "Labels": {
            "org.opencontainers.image.created": "2024-12-15T14:30:39.217Z",
            "org.opencontainers.image.description": "PDF scientific paper translation with preserved formats - 基于 AI 完整保留排版的 PDF 文档全文双语翻译,支持 Google/DeepL/Ollama/OpenAI 等服务,提供 CLI/GUI/Docker",
            "org.opencontainers.image.licenses": "AGPL-3.0",
            "org.opencontainers.image.revision": "beb85174ca082000f6a41f6d50ab960f3f755585",
            "org.opencontainers.image.source": "https://github.com/Byaidu/PDFMathTranslate",
            "org.opencontainers.image.title": "PDFMathTranslate",
            "org.opencontainers.image.url": "https://github.com/Byaidu/PDFMathTranslate",
            "org.opencontainers.image.version": "v1.8.8"
        }
    },
    "Architecture": "arm64",
    "Os": "linux",
    "Size": 2459795543,
    "GraphDriver": {
        "Data": {
            "LowerDir": "/var/lib/docker/overlay2/54c8491776fc30f9ba534e9f062194bca46c4daeced19773472a9c673d3cbb22/diff:/var/lib/docker/overlay2/cd3a397be6edff2120f1682a528ad2ab352d0fc2c38ad92296697a54b22a0c74/diff:/var/lib/docker/overlay2/f36383c92195e274dbefa8607110e3625268419ce812e5597d2ce57e6f92dd9a/diff:/var/lib/docker/overlay2/a06f55d29784dd6663513124aaa120b6bfa1054f3ad3ff059bd738c6ba523b84/diff:/var/lib/docker/overlay2/34fcd692b159f36e35e2a601118f3e8771ee79124fdb810ed52868ea5f98298e/diff:/var/lib/docker/overlay2/a4ec23d9067ff795e3e239e85714c4e66895fc245b388a40139d27d49d37731c/diff:/var/lib/docker/overlay2/b51b7b4f1ed7cf18ff473886d5bec080779346e892d0b83788691a7a47dae45b/diff:/var/lib/docker/overlay2/36fabd6f8864193a0d64ba257454a88a815f298d3a92a32b760c3dc6ba8e18d0/diff:/var/lib/docker/overlay2/6fd763e04e5b5f9e7f85364b638f07588d66f01aa6a9f6ba49dcc57f478e8e21/diff:/var/lib/docker/overlay2/8f30a1f3a262d641411fe5be4070c3157edace891a6326a4dab8f5cafc05cbb5/diff",
            "MergedDir": "/var/lib/docker/overlay2/54a2e71597c61c8d2f7c9041f5acbb7dbd5ded1a002ac1f488901e3cd00e2bf6/merged",
            "UpperDir": "/var/lib/docker/overlay2/54a2e71597c61c8d2f7c9041f5acbb7dbd5ded1a002ac1f488901e3cd00e2bf6/diff",
            "WorkDir": "/var/lib/docker/overlay2/54a2e71597c61c8d2f7c9041f5acbb7dbd5ded1a002ac1f488901e3cd00e2bf6/work"
        },
        "Name": "overlay2"
    },
    "RootFS": {
        "Type": "layers",
        "Layers": [
            "sha256:31c72bb4adf1590db8ae43b11d6e85dcce89e91df06d4b4cc27cc635a495741d",
            "sha256:450df234f6ef179b17b2fe20732ebb506689bfa93a708f4e51a3e7882e3e8577",
            "sha256:1b650b30121e7ad50becf2ca8a5d5818182568762a89646c1afd36492412ce63",
            "sha256:f9a5d16ba06fb00d17afb537572b0a9b974f88232ac17c13da3ee5fd8f0ed49f",
            "sha256:d06f2b239413057af5d5eb858095b63fe5d5fd8053f67146790b96aa98ccc50d",
            "sha256:c3d10e14824153fe1076a0846568a9c68835b284c01e4a498c7f4f223905928f",
            "sha256:6340dc177b7d34b12275d9e2a9bc9659c178529b2ce2cf13272da13679545208",
            "sha256:e468c4ac39bdfb878d005b1e836bcba68828e4f5b2936c6d4b9fd45346d336d8",
            "sha256:cc5214a874614feed05597db66dd1de0aa9378ffc8a23e1bca7e9e239f8f2cfb",
            "sha256:c3947a4ceef9f79d7bba0535d7b3a8ac24bae2fa87918ad85592516dc0dea50d",
            "sha256:c73906517cc930c57c04e093ac79e88edd04c2bf36c83ea6753564024f89e91a"
        ]
    },
    "Metadata": {
        "LastTagTime": "2024-12-17T04:32:45.713688626+08:00"
    }
}

更多版本

docker.io/byaidu/pdf2zh:latest

linux/arm64 docker.io2.46GB2024-12-17 04:34
14

docker.io/byaidu/pdf2zh:latest

linux/amd64 docker.io2.55GB2024-12-17 04:39
21