docker.io/pandoc/latex:3.8-ubuntu linux/amd64

docker.io/pandoc/latex:3.8-ubuntu - 国内下载镜像源 浏览次数:10

这是一个包含Pandoc和LaTeX编译器的Docker镜像。它提供了一个方便的环境,用于将各种文档格式(例如Markdown, reStructuredText, HTML等)转换成PDF等LaTeX输出格式。 用户无需在本地安装复杂的LaTeX依赖,即可方便地进行文档转换。

源镜像 docker.io/pandoc/latex:3.8-ubuntu
国内镜像 swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/pandoc/latex:3.8-ubuntu
镜像ID sha256:604e0dff7f3b8a70768f09d0b60f5151f6c478c77dfe9b0d9d2da31ea9cc5e84
镜像TAG 3.8-ubuntu
大小 666.52MB
镜像源 docker.io
项目信息 Docker-Hub主页 🚀项目TAG 🚀
CMD
启动入口 /usr/local/bin/pandoc
工作目录 /data
OS/平台 linux/amd64
浏览量 10 次
贡献者
镜像创建 2025-10-25T21:04:01.308679874Z
同步时间 2025-11-04 16:04
更新时间 2025-11-04 19:07
环境变量
PATH=/opt/texlive/texdir/bin/default:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin XDG_DATA_HOME=/usr/local/share
镜像标签
Albert Krewinkel <albert+pandoc@tarleb.com>: maintainer Albert Krewinkel <albert+pandoc@tarleb.com>: org.opencontainers.image.authors Official pandoc image with pandoc, pandoc-crossref, and a minimal LaTeX installation.: org.opencontainers.image.description GPL-2.0-or-later: org.opencontainers.image.licenses ubuntu: org.opencontainers.image.ref.name https://github.com/pandoc/dockerfiles: org.opencontainers.image.source pandoc with LaTeX: org.opencontainers.image.title https://github.com/pandoc/dockerfiles: org.opencontainers.image.url The pandoc Docker team: org.opencontainers.image.vendor 3.8.2.1: org.opencontainers.image.version John MacFarlane: org.pandoc.author Albert Krewinkel <albert+pandoc@tarleb.com>: org.pandoc.maintainer 3.8.2.1: org.pandoc.version

Docker拉取命令

docker pull swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/pandoc/latex:3.8-ubuntu
docker tag  swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/pandoc/latex:3.8-ubuntu  docker.io/pandoc/latex:3.8-ubuntu

Containerd拉取命令

ctr images pull swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/pandoc/latex:3.8-ubuntu
ctr images tag  swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/pandoc/latex:3.8-ubuntu  docker.io/pandoc/latex:3.8-ubuntu

Shell快速替换命令

sed -i 's#pandoc/latex:3.8-ubuntu#swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/pandoc/latex:3.8-ubuntu#' deployment.yaml

Ansible快速分发-Docker

#ansible k8s -m shell -a 'docker pull swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/pandoc/latex:3.8-ubuntu && docker tag  swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/pandoc/latex:3.8-ubuntu  docker.io/pandoc/latex:3.8-ubuntu'

Ansible快速分发-Containerd

#ansible k8s -m shell -a 'ctr images pull swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/pandoc/latex:3.8-ubuntu && ctr images tag  swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/pandoc/latex:3.8-ubuntu  docker.io/pandoc/latex:3.8-ubuntu'

镜像构建历史


# 2025-10-26 05:04:01  0.00B 设置工作目录为/data
WORKDIR /data
                        
# 2025-10-26 05:04:01  253.43MB 执行命令并创建新的镜像层
RUN |2 texlive_bin=/opt/texlive/texdir/bin texlive_mirror_url= /bin/sh -c set -eux
cd /root
TEXLIVE_ARCH="$(uname -m)-$(uname -s | tr '[:upper:]' '[:lower:]')"; \
mkdir -p ${texlive_bin}
ln -sf "${texlive_bin}/${TEXLIVE_ARCH}" "${texlive_bin}/default"
# Request musl precompiled binary access
echo "binary_${TEXLIVE_ARCH} 1" >> /root/texlive.profile

# Install TeXLive
mirror_url="${texlive_mirror_url}"

if [ -z "${mirror_url}" ]; then
    # Get the mirror URL from the redirect. Otherwise, if we were to
    # always use the mirror URL, we'd run into problems whenever we get
    # installer and signatures from different mirrors that are not 100%
    # in sync.
    mirror_url=$(wget -4 --quiet --output-document=/dev/null \
                      --server-response \
                      http://mirror.ctan.org/ \
                      2>&1 | \
                      sed -ne 's/.*Location: \(.*\)$/\1/p' | head -n 1)
fi

# Trim trailing slash(es)
mirror_url=$(echo "$mirror_url" | sed -e 's/\/*$//')

installer_url="${mirror_url}/systems/texlive/tlnet"

# Download the install-tl perl script. The archive integrity and signature is
# verified later, so it's ok if we use an insecure connection.
wget -4 --no-verbose --no-check-certificate \
    "$installer_url/install-tl-unx.tar.gz" \
    "$installer_url/install-tl-unx.tar.gz".sha512 \
    "$installer_url/install-tl-unx.tar.gz".sha512.asc \

## Verifiy installer integrity
# get current signing key
gpg --keyserver keyserver.ubuntu.com \
    --receive-key 0xC78B82D8C79512F79CC0D7C80D5E5D9106BAB6BC || exit 5
gpg --verify install-tl-unx.tar.gz.sha512.asc || exit 5
sha512sum install-tl-unx.tar.gz.sha512 || exit 5

## Proceed with installation
# Extract installer
mkdir -p ./install-tl
tar --strip-components 1 -zvxf install-tl-unx.tar.gz -C "$PWD/install-tl"

# Run the default installation with the specified profile.
./install-tl/install-tl \
    -repository "${installer_url}" \
    --profile=/root/texlive.profile

# Cleanup installation artifacts.
rm -rf \
    ./install-tl \
    install-tl-unx.tar.gz \
    install-tl-unx.tar.gz.sha512 \
    install-tl-unx.tar.gz.sha512.asc

# Install packages required by pandoc
tlmgr install \
    --verify-repo=all \
    amsfonts \
    amsmath \
    babel \
    babel-basque \
    babel-czech \
    babel-danish \
    babel-dutch \
    babel-english \
    babel-finnish \
    babel-french \
    babel-german \
    babel-hungarian \
    babel-italian \
    babel-norsk \
    babel-polish \
    babel-portuges \
    babel-spanish \
    babel-swedish \
    beamer \
    biber \
    biblatex \
    bibtex \
    bidi \
    bidi \
    bookmark \
    booktabs \
    caption \
    cleveref \
    csquotes \
    euler \
    eurosym \
    fancyvrb \
    float \
    fontspec \
    footnotehyper \
    framed \
    geometry \
    graphics \
    hyperref \
    hyphen-basque \
    hyphen-czech \
    hyphen-danish \
    hyphen-dutch \
    hyphen-english \
    hyphen-finnish \
    hyphen-french \
    hyphen-german \
    hyphen-hungarian \
    hyphen-italian \
    hyphen-norwegian \
    hyphen-polish \
    hyphen-portuguese \
    hyphen-spanish \
    hyphen-swedish \
    ifmtarg \
    iftex \
    latexmk \
    listings \
    lm \
    lm-math \
    lua-ul \
    luacode \
    luacolor \
    lualatex-math \
    luatexbase \
    mathspec \
    memoir \
    microtype \
    multirow \
    natbib \
    parskip \
    pgf \
    selnolig \
    setspace \
    soul \
    subfig \
    tools \
    unicode-math \
    upquote \
    xcolor \
    xetex \
    xurl
# Reset to the default CTAN mirror, unless a specific mirror had been
# requested.
if [ -z "${texlive_mirror_url}" ]; then
    tlmgr option repository ctan
fi

rm -f /root/texlive.profile

# Update fonts
TERM=dumb luaotfload-tool --update && \
chmod -R o+w /opt/texlive/texdir/texmf-var
 # buildkit
                        
# 2025-10-26 05:04:01  0.00B 设置环境变量 PATH
ENV PATH=/opt/texlive/texdir/bin/default:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
                        
# 2025-10-26 05:04:01  0.00B 定义构建参数
ARG texlive_mirror_url=
                        
# 2025-10-26 05:04:01  0.00B 定义构建参数
ARG texlive_bin=/opt/texlive/texdir/bin
                        
# 2025-10-26 05:02:15  1.00KB 复制新文件或目录到容器中
COPY <<EOF /root/texlive.profile # buildkit
                        
# 2025-10-26 05:02:15  57.86MB 执行命令并创建新的镜像层
RUN /bin/sh -c apt-get -q --no-allow-insecure-repositories update   && DEBIAN_FRONTEND=noninteractive      apt-get install --assume-yes --no-install-recommends         fontconfig         gnupg         gzip         libfontconfig1         libfreetype6         perl         tar         wget         xzdec   && rm -rf /var/lib/apt/lists/* # buildkit
                        
# 2025-10-26 05:00:04  80.53MB 执行命令并创建新的镜像层
RUN /bin/sh -c apt-get -q --no-allow-insecure-repositories update   && DEBIAN_FRONTEND=noninteractive      apt-get install --assume-yes --no-install-recommends        librsvg2-bin=2.*   && rm -rf /var/lib/apt/lists/* # buildkit
                        
# 2025-10-26 04:59:52  56.20MB 复制新文件或目录到容器中
COPY /usr/local/bin/pandoc-crossref /usr/local/bin/ # buildkit
                        
# 2025-10-26 04:58:59  4.27MB 执行命令并创建新的镜像层
RUN /bin/sh -c ln -s /usr/local/bin/pandoc /usr/local/bin/pandoc-lua   && ln -s /usr/local/bin/pandoc /usr/local/bin/pandoc-server   && apt-get -q --no-allow-insecure-repositories update   && DEBIAN_FRONTEND=noninteractive      apt-get install --assume-yes --no-install-recommends        ca-certificates=\*        liblua5.4-0=\*        libatomic1=\*        libgmp10=\*        libpcre3=\*        libyaml-0-2=\*        zlib1g=\*   && rm -rf /var/lib/apt/lists/*   && mkdir -p "$XDG_DATA_HOME"/pandoc # buildkit
                        
# 2025-10-26 04:58:54  136.11MB 复制新文件或目录到容器中
COPY /usr/local/bin/pandoc /usr/local/bin/ # buildkit
                        
# 2025-10-26 04:58:54  0.00B 配置容器启动时运行的命令
ENTRYPOINT ["/usr/local/bin/pandoc"]
                        
# 2025-10-26 04:58:54  0.00B 设置工作目录为/data
WORKDIR /data
                        
# 2025-10-26 04:58:54  0.00B 设置环境变量 XDG_DATA_HOME
ENV XDG_DATA_HOME=/usr/local/share
                        
# 2025-10-26 04:58:54  0.00B 添加元数据标签
LABEL org.pandoc.version=3.8.2.1
                        
# 2025-10-26 04:58:54  0.00B 添加元数据标签
LABEL org.pandoc.author=John MacFarlane
                        
# 2025-10-26 04:58:54  0.00B 添加元数据标签
LABEL org.pandoc.maintainer=Albert Krewinkel <albert+pandoc@tarleb.com>
                        
# 2025-10-26 04:58:54  0.00B 添加元数据标签
LABEL maintainer=Albert Krewinkel <albert+pandoc@tarleb.com>
                        
# 2025-10-01 21:01:37  0.00B 
/bin/sh -c #(nop)  CMD ["/bin/bash"]
                        
# 2025-10-01 21:01:37  78.12MB 
/bin/sh -c #(nop) ADD file:249778a1782b02a1c2bcf9f292f5778d81442a53c3de1958d712f10baf7e0b60 in / 
                        
# 2025-10-01 21:01:35  0.00B 
/bin/sh -c #(nop)  LABEL org.opencontainers.image.version=24.04
                        
# 2025-10-01 21:01:35  0.00B 
/bin/sh -c #(nop)  LABEL org.opencontainers.image.ref.name=ubuntu
                        
# 2025-10-01 21:01:35  0.00B 
/bin/sh -c #(nop)  ARG LAUNCHPAD_BUILD_ARCH
                        
# 2025-10-01 21:01:35  0.00B 
/bin/sh -c #(nop)  ARG RELEASE
                        
                    

镜像信息

{
    "Id": "sha256:604e0dff7f3b8a70768f09d0b60f5151f6c478c77dfe9b0d9d2da31ea9cc5e84",
    "RepoTags": [
        "pandoc/latex:3.8-ubuntu",
        "swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/pandoc/latex:3.8-ubuntu"
    ],
    "RepoDigests": [
        "pandoc/latex@sha256:4d8d9149b0517e294a1e3ac99919bb04f0a3f1f43e6db56ba4980650c3764bec",
        "swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/pandoc/latex@sha256:7b299d39130e8ace7217aa9a7803f13b3964ff2c064dacf30d1f9df4d861f5e3"
    ],
    "Parent": "",
    "Comment": "buildkit.dockerfile.v0",
    "Created": "2025-10-25T21:04:01.308679874Z",
    "Container": "",
    "ContainerConfig": null,
    "DockerVersion": "",
    "Author": "",
    "Config": {
        "Hostname": "",
        "Domainname": "",
        "User": "",
        "AttachStdin": false,
        "AttachStdout": false,
        "AttachStderr": false,
        "Tty": false,
        "OpenStdin": false,
        "StdinOnce": false,
        "Env": [
            "PATH=/opt/texlive/texdir/bin/default:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin",
            "XDG_DATA_HOME=/usr/local/share"
        ],
        "Cmd": null,
        "Image": "",
        "Volumes": null,
        "WorkingDir": "/data",
        "Entrypoint": [
            "/usr/local/bin/pandoc"
        ],
        "OnBuild": null,
        "Labels": {
            "maintainer": "Albert Krewinkel \u003calbert+pandoc@tarleb.com\u003e",
            "org.opencontainers.image.authors": "Albert Krewinkel \u003calbert+pandoc@tarleb.com\u003e",
            "org.opencontainers.image.description": "Official pandoc image with pandoc, pandoc-crossref, and a minimal LaTeX installation.",
            "org.opencontainers.image.licenses": "GPL-2.0-or-later",
            "org.opencontainers.image.ref.name": "ubuntu",
            "org.opencontainers.image.source": "https://github.com/pandoc/dockerfiles",
            "org.opencontainers.image.title": "pandoc with LaTeX",
            "org.opencontainers.image.url": "https://github.com/pandoc/dockerfiles",
            "org.opencontainers.image.vendor": "The pandoc Docker team",
            "org.opencontainers.image.version": "3.8.2.1",
            "org.pandoc.author": "John MacFarlane",
            "org.pandoc.maintainer": "Albert Krewinkel \u003calbert+pandoc@tarleb.com\u003e",
            "org.pandoc.version": "3.8.2.1"
        }
    },
    "Architecture": "amd64",
    "Os": "linux",
    "Size": 666520739,
    "GraphDriver": {
        "Data": {
            "LowerDir": "/var/lib/docker/overlay2/bc69adf7a3194fd57f85bf2c8315414067306ad314f734c8c2bf86d89e21f642/diff:/var/lib/docker/overlay2/5962a7bc9e1c919d5c93014ec4234d676e467b710aa7f004b4923dda2e5139e9/diff:/var/lib/docker/overlay2/879fd49de429eb4525a3023d6d9c60266b9c44213e1000e32d8304b741684956/diff:/var/lib/docker/overlay2/bb22a3ffccd7d3e6a2eb06f6433cc83a7245e5e68cba3de1dee1a3509d2db935/diff:/var/lib/docker/overlay2/488e269a47438a55c8818f1f89877d9ea15a97ab642962c30ffb0f7b431505cc/diff:/var/lib/docker/overlay2/901b7c7e967ee6467c81d2f8d8b5be934d35e7bc839cc9707fe7e035a87a3ad1/diff:/var/lib/docker/overlay2/bcf211a44ae64088bee648aa3a02269c42dde009446f2016d4321cfb88656837/diff:/var/lib/docker/overlay2/f7a987b6295369234003ffc8dba8338f901aa4816c0d9be8a66f5d9fc8aa6b91/diff:/var/lib/docker/overlay2/f699dc4372b96340c9d8372b6a5afcb03846fa63cfa944dc688bf909c647a256/diff",
            "MergedDir": "/var/lib/docker/overlay2/9ce7c7cbb4179a1982e3237c6b369efbb4ade7509bfbb12160ce34cc88f90e91/merged",
            "UpperDir": "/var/lib/docker/overlay2/9ce7c7cbb4179a1982e3237c6b369efbb4ade7509bfbb12160ce34cc88f90e91/diff",
            "WorkDir": "/var/lib/docker/overlay2/9ce7c7cbb4179a1982e3237c6b369efbb4ade7509bfbb12160ce34cc88f90e91/work"
        },
        "Name": "overlay2"
    },
    "RootFS": {
        "Type": "layers",
        "Layers": [
            "sha256:073ec47a8c22dcaa4d6e5758799ccefe2f9bde943685830b1bf6fd2395f5eabc",
            "sha256:7b1976be7e845174ed554ac037653bd8121a30727a5baad967aaaa4e8160001a",
            "sha256:7fe66c4dc311470dea6ec07fd42b8d01532fda55a6af51bd16d68532070a5af7",
            "sha256:d2dba6992f7dc9f47debc3adf757e5151683d9c542659542d852218a3374396d",
            "sha256:1eee67ca00dcb4bae8eae318815c9f80c5ae65dbd5aac4a00338651548f9b8aa",
            "sha256:e4f045c32fc8e8c0946226e05377b00fad26a1919b6fd01c80bc6d79e6c3954a",
            "sha256:0bdd2a11c6be11edf51d8bb41db51c60d111df06f100b49ba8cb2737ef9c86d5",
            "sha256:c4bdb391ac4e79159ec4cdab9dbd5857dba623e48fa4d5f382ab776dc3b7c411",
            "sha256:d3d7a2460391693ab96765e487333c6290815f4da5ddf1b0f58a5a46092dc640",
            "sha256:5f70bf18a086007016e948b04aed3b82103a36bea41755b6cddfaf10ace3c6ef"
        ]
    },
    "Metadata": {
        "LastTagTime": "2025-11-04T16:03:40.707953781+08:00"
    }
}

更多版本

docker.io/pandoc/latex:3.7

linux/amd64 docker.io556.83MB2025-08-04 09:45
125

docker.io/pandoc/latex:3.8-ubuntu

linux/amd64 docker.io666.52MB2025-11-04 16:04
9