Skip to content

Commit

Permalink
retry tlmgr update & install up to five times
Browse files Browse the repository at this point in the history
  • Loading branch information
ike authored and tghosth committed Jan 29, 2024
1 parent 67f3cde commit 87504c9
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions docker/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -104,8 +104,8 @@ RUN /home/pandoc/.TinyTeX/bin/*/tlmgr path add

# verify tlmgr version and add packages needed to build the documents
RUN tlmgr --version
RUN tlmgr update -self
RUN tlmgr install \
RUN for i in 1 2 3 4 5; do tlmgr update --self && break || sleep 15; done
RUN for i in 1 2 3 4 5; do tlmgr install \
xecjk \
ctex \
fancyhdr \
Expand Down Expand Up @@ -140,7 +140,7 @@ RUN tlmgr install \
ulem \
upquote \
xurl \
zref
zref && break || sleep 15; done

FROM latex_base as work_layer
#copy fonts from font_base
Expand Down

0 comments on commit 87504c9

Please sign in to comment.