curriculum-latex (sha256:ed4a9a89391c1308a903596d1a5f7d3293d36f61b92425dc3efe7dcc8ac5baa0)
Published 2024-03-09 02:07:40 +01:00 by syntaxerrormmm
Installation
docker pull git.sys42.eu/syntaxerrormmm/curriculum-latex@sha256:ed4a9a89391c1308a903596d1a5f7d3293d36f61b92425dc3efe7dcc8ac5baa0
sha256:ed4a9a89391c1308a903596d1a5f7d3293d36f61b92425dc3efe7dcc8ac5baa0
Image Layers
ADD file:a6a085d9a355975bc03d3536245de2ef52184c94620b8daedbd853620ddf6e0d in / |
CMD ["bash"] |
ENV LANG=C.UTF-8 LC_ALL=C.UTF-8 TEXLIVE_INSTALL_NO_CONTEXT_CACHE=1 NOPERLDOC=1 |
RUN /bin/sh -c apt-get update && apt-get install -qy --no-install-recommends curl git unzip make fontconfig perl default-jre libgetopt-long-descriptive-perl libdigest-perl-md5-perl libncurses6 libunicode-linebreak-perl libfile-homedir-perl libyaml-tiny-perl ghostscript libsm6 python3 python3-pygments gnuplot-nox && rm -rf /var/lib/apt/lists/* && rm -rf /var/cache/apt/ && ln -s /usr/bin/python3 /usr/bin/python # buildkit |
ARG DOCFILES=no |
ARG SRCFILES=no |
ARG SCHEME=full |
ARG TLMIRRORURL |
ARG GENERATE_CACHES=yes |
WORKDIR /tmp |
RUN |5 DOCFILES=no SRCFILES=no SCHEME=medium TLMIRRORURL=rsync://rsync.dante.ctan.org/CTAN/systems/texlive/tlnet/ GENERATE_CACHES=yes /bin/sh -c curl https://tug.org/texlive/files/debian-equivs-2022-ex.txt --output texlive-local && sed -i "s/2022/9999/" texlive-local && sed -i "/Depends: freeglut3/d" texlive-local && apt-get update && apt-get install -qy --no-install-recommends equivs gpg gpg-agent rsync && equivs-build texlive-local && dpkg -i texlive-local_9999.99999999-1_all.deb && apt-get install -qyf --no-install-recommends && rm -rf ./*texlive* && apt-get remove -y --purge equivs && apt-get autoremove -qy --purge && rm -rf /var/lib/apt/lists/* && apt-get clean && rm -rf /var/cache/apt/ # buildkit |
RUN |5 DOCFILES=no SRCFILES=no SCHEME=medium TLMIRRORURL=rsync://rsync.dante.ctan.org/CTAN/systems/texlive/tlnet/ GENERATE_CACHES=yes /bin/sh -c echo "Fetching installation from mirror $TLMIRRORURL" && rsync -a --stats "$TLMIRRORURL" texlive && cd texlive && echo "Building with documentation: $DOCFILES" && echo "Building with sources: $SRCFILES" && echo "Building with scheme: $SCHEME" && echo "selected_scheme scheme-$SCHEME" > install.profile && if [ "$DOCFILES" = "no" ]; then echo "tlpdbopt_install_docfiles 0" >> install.profile && echo "BUILD: Disabling documentation files"; fi && if [ "$SRCFILES" = "no" ]; then echo "tlpdbopt_install_srcfiles 0" >> install.profile && echo "BUILD: Disabling source files"; fi && echo "tlpdbopt_autobackup 0" >> install.profile && echo "tlpdbopt_sys_bin /usr/bin" >> install.profile && ./install-tl -profile install.profile && cd .. && rm -rf texlive # buildkit |
WORKDIR /workdir |
RUN |5 DOCFILES=no SRCFILES=no SCHEME=medium TLMIRRORURL=rsync://rsync.dante.ctan.org/CTAN/systems/texlive/tlnet/ GENERATE_CACHES=yes /bin/sh -c echo "Set PATH to $PATH" && $(find /usr/local/texlive -name tlmgr) path add && (sed -i '/package.loaded\["data-ini"\]/a if os.selfpath then environment.ownbin=lfs.symlinktarget(os.selfpath..io.fileseparator..os.selfname);environment.ownpath=environment.ownbin:match("^.*"..io.fileseparator) else environment.ownpath=kpse.new("luatex"):var_value("SELFAUTOLOC");environment.ownbin=environment.ownpath..io.fileseparator..(arg[-2] or arg[-1] or arg[0] or "luatex"):match("[^"..io.fileseparator.."]*$") end' /usr/bin/mtxrun.lua || true) && if [ "$GENERATE_CACHES" = "yes" ]; then echo "Generating caches and ConTeXt files" && (luaotfload-tool -u || true) && (cp "$(find /usr/local/texlive -name texlive-fontconfig.conf)" /etc/fonts/conf.d/09-texlive-fonts.conf || true) && fc-cache -fsv && if [ -f "/usr/bin/context" ]; then mtxrun --generate && texlua /usr/bin/mtxrun.lua --luatex --generate && context --make && context --luatex --make; fi else echo "Not generating caches or ConTeXt files"; fi # buildkit |
RUN |5 DOCFILES=no SRCFILES=no SCHEME=medium TLMIRRORURL=rsync://rsync.dante.ctan.org/CTAN/systems/texlive/tlnet/ GENERATE_CACHES=yes /bin/sh -c if [ "$SCHEME" = "full" ]; then latex --version && printf '\n' && biber --version && printf '\n' && xindy --version && printf '\n' && arara --version && printf '\n' && context --version && printf '\n' && context --luatex --version && printf '\n' && if [ "$DOCFILES" = "yes" ]; then texdoc -l geometry; fi && if [ "$SRCFILES" = "yes" ]; then kpsewhich amsmath.dtx; fi; fi && python --version && printf '\n' && pygmentize -V && printf '\n' # buildkit |
RUN /bin/sh -c apt update && apt install nodejs -y && apt clean -y && tlmgr install europecv guitlogo ucs # buildkit |