Skip to content

Commit

Permalink
Update Dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
cthoyt committed Feb 10, 2025
1 parent eb936a8 commit 0d0f958
Showing 1 changed file with 24 additions and 24 deletions.
48 changes: 24 additions & 24 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,37 +4,37 @@ RUN apk add --no-cache ttf-hack

# Install additional LaTeX packages
RUN tlmgr update --self && tlmgr install \
algorithmicx \
algorithms \
collection-context \
draftwatermark \
environ \
fontsetup \
hyperxmp \
latexmk \
lineno \
marginnote \
newcomputermodern \
orcidlink \
preprint \
seqsplit \
tcolorbox \
titlesec \
trimspaces \
xkeyval \
xstring
algorithmicx \
algorithms \
collection-context \
draftwatermark \
environ \
fontsetup \
hyperxmp \
latexmk \
lineno \
marginnote \
newcomputermodern \
orcidlink \
preprint \
seqsplit \
tcolorbox \
titlesec \
trimspaces \
xkeyval \
xstring


ENV OSFONTDIR=/usr/share/fonts

COPY ./fonts/libre-franklin $OSFONTDIR/libre-franklin

RUN TERM=dumb luaotfload-tool --update \
&& chmod -R o+w /opt/texlive/texdir/texmf-var \
&& apk add --no-cache ttf-opensans \
&& fc-cache -sfv $OSFONTDIR/libre-franklin \
&& mtxrun --generate \
&& mtxrun --script font --reload
&& chmod -R o+w /opt/texlive/texdir/texmf-var \
&& apk add --no-cache ttf-opensans \
&& fc-cache -sfv $OSFONTDIR/libre-franklin \
&& mtxrun --generate \
&& mtxrun --script font --reload

# Copy templates, images, and other resources
ARG openjournals_path=/usr/local/share/openjournals
Expand Down

0 comments on commit 0d0f958

Please sign in to comment.