forked from hdigital/ess-linking
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathDockerfile
21 lines (17 loc) · 828 Bytes
/
Dockerfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
# parent image — R/tidyverse version specified
# https://cran.r-project.org/doc/manuals/r-release/NEWS.html
FROM rocker/tidyverse:4.3.3
# Install R packages with 'pak'
RUN install2.r pak
COPY pkg.lock .
RUN R -e 'pak::lockfile_install()'
# install Quarto with specified version
ARG QUARTO_VERSION=1.4.551
RUN apt-get -y update && apt-get install -y --no-install-recommends curl gdebi-core
RUN curl -LO https://github.com/quarto-dev/quarto-cli/releases/download/v${QUARTO_VERSION}/quarto-${QUARTO_VERSION}-linux-amd64.deb
RUN gdebi --non-interactive quarto-${QUARTO_VERSION}-linux-amd64.deb
RUN install2.r markdown reticulate
RUN quarto install tinytex
# Install Ubuntu package to suppress R plot warning
RUN apt-get -y update && apt-get install -y --no-install-recommends libxt6
WORKDIR /home/rstudio