如何在泊坞窗映像安装的LaTeX类永久

问题描述 投票:0回答:1

我想建一个码头工人形象为LaTeX文档一个CI。该dollowing是Dockerfile:

FROM ubuntu:latest
RUN apt-get -y update
RUN apt-get install -y -qq texlive-full
COPY *.cls /texmf/tex/latex/
WORKDIR /texmf
RUN texhash

当我使用这个形象从文档的负债证明书,一方面,这是无法找到的定制类。

什么是我的Dockerfile问题?

docker latex
1个回答
0
投票

我没有发现其中的错误,但现在一切工作正常...

RUN mkdir -p /root/texmf/tex/latex/myclass/
COPY *.cls /root/texmf/tex/latex/myclass/
COPY figures/* /root/texmf/tex/latex/myclass/figures/
WORKDIR /root/texmf
RUN texhash
© www.soinside.com 2019 - 2024. All rights reserved.