-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathDockerfile
33 lines (29 loc) · 893 Bytes
/
Dockerfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
FROM r-base:4.3.2
# Install system dependencies and TeX Live
RUN apt-get update && apt-get install -y --no-install-recommends \
ca-certificates \
wget \
libcurl4-openssl-dev \
libssl-dev \
libxml2-dev \
libfontconfig1-dev \
libfreetype6-dev \
libharfbuzz-dev \
libfribidi-dev \
libpng-dev \
libtiff5-dev \
libjpeg-dev \
texlive-full \
fonts-texgyre \
fonts-ebgaramond \
&& rm -rf /var/lib/apt/lists/*
# Install Quarto
ENV QUARTO_VERSION="1.5.54"
RUN wget "https://github.com/quarto-dev/quarto-cli/releases/download/v${QUARTO_VERSION}/quarto-${QUARTO_VERSION}-linux-amd64.deb" && \
dpkg -i quarto-${QUARTO_VERSION}-linux-amd64.deb && \
apt-get update && apt-get install -f -y && \
rm quarto-${QUARTO_VERSION}-linux-amd64.deb
# Set working directory
WORKDIR /app
# Set the default command to bash
CMD ["/bin/bash"]