kjarosh / latex-docker Goto Github PK
View Code? Open in Web Editor NEWA set of lightweight Docker images for building LaTeX documents
License: MIT License
A set of lightweight Docker images for building LaTeX documents
License: MIT License
did not found the xelatex in the minimal version of image.
This issue lists Renovate updates and detected dependencies. Read the Dependency Dashboard docs to learn more.
This repository currently has no open or pending branches.
Dockerfile
alpine 3.20.2
.github/workflows/docker.yaml
actions/checkout v4
docker/login-action v3
docker/login-action v3
First, thanks for making this repo, it helped me a lot today.
I would like to ask one question about the TL_YEAR=2023
constant in the Dockerfile.
In the Readme, you say the correct year is necessary for tlmgr
to work. However, I tried to remove the constant completely and the tlmgr
still works. To explain why I am asking - I have to adjust your Dockerfile to fit my needs and my project will be deployed with CD. So I am trying to prevent any issues that could arise when the year changes.
Could you please explain why do you think the tlmgr
won't work or have I misunderstood something? To be more explicit, here is how I adjusted your code and the image builds successfully:
FROM python:3.8.16-alpine3.18
ARG TL_MIRROR="https://texlive.info/CTAN/systems/texlive/tlnet"
RUN apk add --no-cache perl curl fontconfig libgcc gnupg && \
mkdir "/tmp/texlive" && cd "/tmp/texlive" && \
wget "$TL_MIRROR/install-tl-unx.tar.gz" && \
tar xzvf ./install-tl-unx.tar.gz && \
( \
echo "selected_scheme scheme-minimal" && \
echo "instopt_adjustpath 0" && \
echo "tlpdbopt_install_docfiles 0" && \
echo "tlpdbopt_install_srcfiles 0" && \
echo "TEXDIR /opt/texlive" && \
echo "TEXMFLOCAL /opt/texlive/texmf-local" && \
echo "TEXMFSYSCONFIG /opt/texlive/texmf-config" && \
echo "TEXMFSYSVAR /opt/texlive/texmf-var" && \
echo "TEXMFHOME ~/.texmf" \
) > "/tmp/texlive.profile" && \
"./install-tl-"*"/install-tl" --location "$TL_MIRROR" -profile "/tmp/texlive.profile" && \
rm -vf "/opt/texlive/install-tl" && \
rm -vf "/opt/texlive/install-tl.log" && \
rm -vrf /tmp/*
ENV PATH="${PATH}:/opt/texlive/bin/x86_64-linuxmusl"
# Change all TL_SCHEME_XXX to "y" if you want it.
ARG TL_SCHEME_BASIC="y"
RUN if [ "$TL_SCHEME_BASIC" = "y" ]; then tlmgr install scheme-basic; fi
ARG TL_SCHEME_SMALL=""
RUN if [ "$TL_SCHEME_SMALL" = "y" ]; then tlmgr install scheme-small; fi
ARG TL_SCHEME_MEDIUM=""
RUN if [ "$TL_SCHEME_MEDIUM" = "y" ]; then tlmgr install scheme-medium; fi
ARG TL_SCHEME_FULL=""
RUN if [ "$TL_SCHEME_FULL" = "y" ]; then tlmgr install scheme-full; fi
RUN tlmgr install ragged2e
Thank you in advance for your answer.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.