Skip to content

Commit 5793305

Browse files
author
Susan Vanderplas
committed
Fix dockerfile
1 parent 8f81d51 commit 5793305

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

Dockerfile

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,7 @@ RUN --mount=type=cache,target=/var/cache/apt \
2020
curl gnupg ca-certificates \
2121
&& rm -rf /var/lib/apt/lists/* \
2222
&& install2.r --error --deps TRUE \
23-
RJDBC odbc tinytex quarto devtools rmarkdown rstudioapi reticulate yaml digest \\
24-
&& Rscript -e "tinytex::install_tinytex(force=T)"
23+
RJDBC odbc tinytex quarto devtools rmarkdown rstudioapi reticulate yaml digest
2524

2625
ENV JAVA_HOME=/usr/lib/jvm/default-java/
2726
ENV PATH="${JAVA_HOME}/bin:${PATH}"
@@ -44,7 +43,10 @@ RUN curl -fsSL https://quarto.org/download/latest/quarto-linux-amd64.deb -o /tmp
4443
apt-get update && apt-get install -y /tmp/quarto.deb && rm -f /tmp/quarto.deb && \
4544
rm -rf /var/lib/apt/lists/*
4645

47-
# --- Layer 4: Check cache dirs
46+
47+
# --- Layer 4: TinyTeX
48+
RUN Rscript -e "tinytex::install_tinytex(force=T)"
49+
4850
# Ensure cache dirs exist
4951
RUN mkdir -p ${RENV_PATHS_CACHE} ${PIP_CACHE_DIR} /root/.virtualenvs
5052

0 commit comments

Comments
 (0)