Skip to content
This repository has been archived by the owner on Mar 2, 2022. It is now read-only.

Commit

Permalink
Merge pull request #171 from riccardoporreca/feature/169-version-stab…
Browse files Browse the repository at this point in the history
…le-tinytex

Version-stable CTAN repo for the TinyTeX install
  • Loading branch information
cboettig committed Nov 8, 2019
2 parents c0ae400 + 65cc858 commit 902cc42
Show file tree
Hide file tree
Showing 9 changed files with 96 additions and 24 deletions.
20 changes: 14 additions & 6 deletions verse/3.4.3/Dockerfile
@@ -1,4 +1,12 @@
FROM rocker/tidyverse:3.4.3

# Version-stable CTAN repo from the tlnet archive at texlive.info, used in the
# TinyTeX installation: chosen as the frozen snapshot of the TeXLive release
# shipped for the base Debian image of a given rocker/r-ver tag.
# Debian stretch => TeXLive 2016, frozen release snapshot 2017/04/13
ARG CTAN_REPO=${CTAN_REPO:-http://www.texlive.info/tlnet-archive/2017/04/13/tlnet}
ENV CTAN_REPO=${CTAN_REPO}

ENV PATH=$PATH:/opt/TinyTeX/bin/x86_64-linux/

## Add LaTeX, rticles and bookdown support
Expand All @@ -10,7 +18,7 @@ RUN wget "https://travis-bin.yihui.name/texlive-local.deb" \
## for rJava
default-jdk \
## Nice Google fonts
fonts-roboto \
fonts-roboto \
## used by some base R plots
ghostscript \
## used to build rJava and other packages
Expand All @@ -25,11 +33,11 @@ RUN wget "https://travis-bin.yihui.name/texlive-local.deb" \
librdf0-dev \
## for V8-based javascript wrappers
libv8-dev \
## R CMD Check wants qpdf to check pdf sizes, or throws a Warning
## R CMD Check wants qpdf to check pdf sizes, or throws a Warning
qpdf \
## For building PDF manuals
texinfo \
## for git via ssh key
## for git via ssh key
ssh \
## just because
less \
Expand All @@ -43,9 +51,9 @@ RUN wget "https://travis-bin.yihui.name/texlive-local.deb" \
"https://github.com/yihui/tinytex/raw/master/tools/install-unx.sh" | \
sh -s - --admin --no-path \
&& mv ~/.TinyTeX /opt/TinyTeX \
&& /opt/TinyTeX/bin/*/tlmgr path add \
&& (/opt/TinyTeX/bin/*/tlmgr path add || true) \
&& tlmgr install metafont mfware inconsolata tex ae parskip listings \
&& tlmgr path add \
&& (tlmgr path add || true) \
&& Rscript -e "tinytex::r_texmf()" \
&& chown -R root:staff /opt/TinyTeX \
&& chmod -R g+w /opt/TinyTeX \
Expand All @@ -57,6 +65,6 @@ RUN wget "https://travis-bin.yihui.name/texlive-local.deb" \
&& install2.r --error --deps TRUE \
bookdown rticles rmdshower
#
## Consider including:
## Consider including:
# - yihui/printr R package (when released to CRAN)
# - libgsl0-dev (GSL math library dependencies)
20 changes: 14 additions & 6 deletions verse/3.4.4/Dockerfile
@@ -1,4 +1,12 @@
FROM rocker/tidyverse:3.4.4

# Version-stable CTAN repo from the tlnet archive at texlive.info, used in the
# TinyTeX installation: chosen as the frozen snapshot of the TeXLive release
# shipped for the base Debian image of a given rocker/r-ver tag.
# Debian stretch => TeXLive 2016, frozen release snapshot 2017/04/13
ARG CTAN_REPO=${CTAN_REPO:-http://www.texlive.info/tlnet-archive/2017/04/13/tlnet}
ENV CTAN_REPO=${CTAN_REPO}

ENV PATH=$PATH:/opt/TinyTeX/bin/x86_64-linux/

## Add LaTeX, rticles and bookdown support
Expand All @@ -10,7 +18,7 @@ RUN wget "https://travis-bin.yihui.name/texlive-local.deb" \
## for rJava
default-jdk \
## Nice Google fonts
fonts-roboto \
fonts-roboto \
## used by some base R plots
ghostscript \
## used to build rJava and other packages
Expand All @@ -25,11 +33,11 @@ RUN wget "https://travis-bin.yihui.name/texlive-local.deb" \
librdf0-dev \
## for V8-based javascript wrappers
libv8-dev \
## R CMD Check wants qpdf to check pdf sizes, or throws a Warning
## R CMD Check wants qpdf to check pdf sizes, or throws a Warning
qpdf \
## For building PDF manuals
texinfo \
## for git via ssh key
## for git via ssh key
ssh \
## just because
less \
Expand All @@ -43,9 +51,9 @@ RUN wget "https://travis-bin.yihui.name/texlive-local.deb" \
"https://github.com/yihui/tinytex/raw/master/tools/install-unx.sh" | \
sh -s - --admin --no-path \
&& mv ~/.TinyTeX /opt/TinyTeX \
&& /opt/TinyTeX/bin/*/tlmgr path add \
&& (/opt/TinyTeX/bin/*/tlmgr path add || true) \
&& tlmgr install metafont mfware inconsolata tex ae parskip listings \
&& tlmgr path add \
&& (tlmgr path add || true) \
&& Rscript -e "tinytex::r_texmf()" \
&& chown -R root:staff /opt/TinyTeX \
&& chmod -R g+w /opt/TinyTeX \
Expand All @@ -57,6 +65,6 @@ RUN wget "https://travis-bin.yihui.name/texlive-local.deb" \
&& install2.r --error --deps TRUE \
bookdown rticles rmdshower
#
## Consider including:
## Consider including:
# - yihui/printr R package (when released to CRAN)
# - libgsl0-dev (GSL math library dependencies)
12 changes: 10 additions & 2 deletions verse/3.5.0/Dockerfile
@@ -1,4 +1,12 @@
FROM rocker/tidyverse:3.5.0

# Version-stable CTAN repo from the tlnet archive at texlive.info, used in the
# TinyTeX installation: chosen as the frozen snapshot of the TeXLive release
# shipped for the base Debian image of a given rocker/r-ver tag.
# Debian stretch => TeXLive 2016, frozen release snapshot 2017/04/13
ARG CTAN_REPO=${CTAN_REPO:-http://www.texlive.info/tlnet-archive/2017/04/13/tlnet}
ENV CTAN_REPO=${CTAN_REPO}

ENV PATH=$PATH:/opt/TinyTeX/bin/x86_64-linux/

## Add LaTeX, rticles and bookdown support
Expand Down Expand Up @@ -43,9 +51,9 @@ RUN wget "https://travis-bin.yihui.name/texlive-local.deb" \
"https://github.com/yihui/tinytex/raw/master/tools/install-unx.sh" | \
sh -s - --admin --no-path \
&& mv ~/.TinyTeX /opt/TinyTeX \
&& /opt/TinyTeX/bin/*/tlmgr path add \
&& (/opt/TinyTeX/bin/*/tlmgr path add || true) \
&& tlmgr install metafont mfware inconsolata tex ae parskip listings \
&& tlmgr path add \
&& (tlmgr path add || true) \
&& Rscript -e "tinytex::r_texmf()" \
&& chown -R root:staff /opt/TinyTeX \
&& chown -R root:staff /usr/local/lib/R/site-library \
Expand Down
12 changes: 10 additions & 2 deletions verse/3.5.1/Dockerfile
@@ -1,4 +1,12 @@
FROM rocker/tidyverse:3.5.1

# Version-stable CTAN repo from the tlnet archive at texlive.info, used in the
# TinyTeX installation: chosen as the frozen snapshot of the TeXLive release
# shipped for the base Debian image of a given rocker/r-ver tag.
# Debian stretch => TeXLive 2016, frozen release snapshot 2017/04/13
ARG CTAN_REPO=${CTAN_REPO:-http://www.texlive.info/tlnet-archive/2017/04/13/tlnet}
ENV CTAN_REPO=${CTAN_REPO}

ENV PATH=$PATH:/opt/TinyTeX/bin/x86_64-linux/

## Add LaTeX, rticles and bookdown support
Expand Down Expand Up @@ -43,9 +51,9 @@ RUN wget "https://travis-bin.yihui.name/texlive-local.deb" \
"https://github.com/yihui/tinytex/raw/master/tools/install-unx.sh" | \
sh -s - --admin --no-path \
&& mv ~/.TinyTeX /opt/TinyTeX \
&& /opt/TinyTeX/bin/*/tlmgr path add \
&& (/opt/TinyTeX/bin/*/tlmgr path add || true) \
&& tlmgr install metafont mfware inconsolata tex ae parskip listings \
&& tlmgr path add \
&& (tlmgr path add || true) \
&& Rscript -e "tinytex::r_texmf()" \
&& chown -R root:staff /opt/TinyTeX \
&& chown -R root:staff /usr/local/lib/R/site-library \
Expand Down
12 changes: 10 additions & 2 deletions verse/3.5.2/Dockerfile
@@ -1,4 +1,12 @@
FROM rocker/tidyverse:3.5.2

# Version-stable CTAN repo from the tlnet archive at texlive.info, used in the
# TinyTeX installation: chosen as the frozen snapshot of the TeXLive release
# shipped for the base Debian image of a given rocker/r-ver tag.
# Debian stretch => TeXLive 2016, frozen release snapshot 2017/04/13
ARG CTAN_REPO=${CTAN_REPO:-http://www.texlive.info/tlnet-archive/2017/04/13/tlnet}
ENV CTAN_REPO=${CTAN_REPO}

ENV PATH=$PATH:/opt/TinyTeX/bin/x86_64-linux/

## Add LaTeX, rticles and bookdown support
Expand Down Expand Up @@ -46,9 +54,9 @@ RUN wget "https://travis-bin.yihui.name/texlive-local.deb" \
"https://github.com/yihui/tinytex/raw/master/tools/install-unx.sh" | \
sh -s - --admin --no-path \
&& mv ~/.TinyTeX /opt/TinyTeX \
&& /opt/TinyTeX/bin/*/tlmgr path add \
&& (/opt/TinyTeX/bin/*/tlmgr path add || true) \
&& tlmgr install metafont mfware inconsolata tex ae parskip listings \
&& tlmgr path add \
&& (tlmgr path add || true) \
&& Rscript -e "tinytex::r_texmf()" \
&& chown -R root:staff /opt/TinyTeX \
&& chown -R root:staff /usr/local/lib/R/site-library \
Expand Down
12 changes: 10 additions & 2 deletions verse/3.5.3/Dockerfile
@@ -1,4 +1,12 @@
FROM rocker/tidyverse:3.5.3

# Version-stable CTAN repo from the tlnet archive at texlive.info, used in the
# TinyTeX installation: chosen as the frozen snapshot of the TeXLive release
# shipped for the base Debian image of a given rocker/r-ver tag.
# Debian stretch => TeXLive 2016, frozen release snapshot 2017/04/13
ARG CTAN_REPO=${CTAN_REPO:-http://www.texlive.info/tlnet-archive/2017/04/13/tlnet}
ENV CTAN_REPO=${CTAN_REPO}

ENV PATH=$PATH:/opt/TinyTeX/bin/x86_64-linux/

## Add LaTeX, rticles and bookdown support
Expand Down Expand Up @@ -46,9 +54,9 @@ RUN wget "https://travis-bin.yihui.name/texlive-local.deb" \
"https://github.com/yihui/tinytex/raw/master/tools/install-unx.sh" | \
sh -s - --admin --no-path \
&& mv ~/.TinyTeX /opt/TinyTeX \
&& /opt/TinyTeX/bin/*/tlmgr path add \
&& (/opt/TinyTeX/bin/*/tlmgr path add || true) \
&& tlmgr install metafont mfware inconsolata tex ae parskip listings \
&& tlmgr path add \
&& (tlmgr path add || true) \
&& Rscript -e "tinytex::r_texmf()" \
&& chown -R root:staff /opt/TinyTeX \
&& chown -R root:staff /usr/local/lib/R/site-library \
Expand Down
12 changes: 10 additions & 2 deletions verse/3.6.0/Dockerfile
@@ -1,4 +1,12 @@
FROM rocker/tidyverse:3.6.0

# Version-stable CTAN repo from the tlnet archive at texlive.info, used in the
# TinyTeX installation: chosen as the frozen snapshot of the TeXLive release
# shipped for the base Debian image of a given rocker/r-ver tag.
# Debian stretch => TeXLive 2016, frozen release snapshot 2017/04/13
ARG CTAN_REPO=${CTAN_REPO:-http://www.texlive.info/tlnet-archive/2017/04/13/tlnet}
ENV CTAN_REPO=${CTAN_REPO}

ENV PATH=$PATH:/opt/TinyTeX/bin/x86_64-linux/

## Add LaTeX, rticles and bookdown support
Expand Down Expand Up @@ -46,9 +54,9 @@ RUN wget "https://travis-bin.yihui.name/texlive-local.deb" \
"https://github.com/yihui/tinytex/raw/master/tools/install-unx.sh" | \
sh -s - --admin --no-path \
&& mv ~/.TinyTeX /opt/TinyTeX \
&& /opt/TinyTeX/bin/*/tlmgr path add \
&& (/opt/TinyTeX/bin/*/tlmgr path add || true) \
&& tlmgr install metafont mfware inconsolata tex ae parskip listings \
&& tlmgr path add \
&& (tlmgr path add || true) \
&& Rscript -e "tinytex::r_texmf()" \
&& chown -R root:staff /opt/TinyTeX \
&& chown -R root:staff /usr/local/lib/R/site-library \
Expand Down
12 changes: 10 additions & 2 deletions verse/Dockerfile
@@ -1,4 +1,12 @@
FROM rocker/tidyverse:3.6.1

# Version-stable CTAN repo from the tlnet archive at texlive.info, used in the
# TinyTeX installation: chosen as the frozen snapshot of the TeXLive release
# shipped for the base Debian image of a given rocker/r-ver tag.
# Debian stretch => TeXLive 2016, frozen release snapshot 2017/04/13
ARG CTAN_REPO=${CTAN_REPO:-http://www.texlive.info/tlnet-archive/2017/04/13/tlnet}
ENV CTAN_REPO=${CTAN_REPO}

ENV PATH=$PATH:/opt/TinyTeX/bin/x86_64-linux/

## Add LaTeX, rticles and bookdown support
Expand Down Expand Up @@ -48,9 +56,9 @@ RUN wget "https://travis-bin.yihui.name/texlive-local.deb" \
"https://github.com/yihui/tinytex/raw/master/tools/install-unx.sh" | \
sh -s - --admin --no-path \
&& mv ~/.TinyTeX /opt/TinyTeX \
&& /opt/TinyTeX/bin/*/tlmgr path add \
&& (/opt/TinyTeX/bin/*/tlmgr path add || true) \
&& tlmgr install ae inconsolata listings metafont mfware parskip pdfcrop tex \
&& tlmgr path add \
&& (tlmgr path add || true) \
&& Rscript -e "tinytex::r_texmf()" \
&& chown -R root:staff /opt/TinyTeX \
&& chown -R root:staff /usr/local/lib/R/site-library \
Expand Down
8 changes: 8 additions & 0 deletions verse/devel/Dockerfile
@@ -1,4 +1,12 @@
FROM rocker/tidyverse:devel

# Version-stable CTAN repo from the tlnet archive at texlive.info, used in the
# TinyTeX installation: chosen as the frozen snapshot of the TeXLive release
# shipped for the base Debian image of a given rocker/r-ver tag.
# Debian buster => TeXLive 2018, frozen release snapshot 2019/02/27
ARG CTAN_REPO=${CTAN_REPO:-https://www.texlive.info/tlnet-archive/2019/02/27/tlnet}
ENV CTAN_REPO=${CTAN_REPO}

ENV PATH=$PATH:/opt/TinyTeX/bin/x86_64-linux/

## Add LaTeX, rticles and bookdown support
Expand Down

0 comments on commit 902cc42

Please sign in to comment.