Skip to content

Commit

Permalink
Add quarto
Browse files Browse the repository at this point in the history
  • Loading branch information
BerriJ committed Mar 12, 2024
1 parent 080d223 commit 50e1ffa
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 0 deletions.
9 changes: 9 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,15 @@ COPY .misc/lmroman10-bold-webfont.ttf /usr/share/fonts/truetype/.

RUN fc-cache -f -v

# Install quarto
ENV QUARTO_VERSION="1.4.551"

COPY install_scripts/install_quarto.sh /install_scripts/install_quarto.sh

RUN chmod +x install_scripts/install_quarto.sh &&\
install_scripts/install_quarto.sh


# Install phantomjs
COPY install_scripts/install_phantomjs.sh /install_scripts/install_phantomjs.sh

Expand Down
8 changes: 8 additions & 0 deletions install_scripts/install_quarto.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
apt-get update
apt-get -y --no-install-recommends install curl gdebi-core

curl -o quarto-linux-amd64.deb -L https://github.com/quarto-dev/quarto-cli/releases/download/v${QUARTO_VERSION}/quarto-${QUARTO_VERSION}-linux-amd64.deb

gdebi --non-interactive quarto-linux-amd64.deb

rm quarto-linux-amd64.deb

0 comments on commit 50e1ffa

Please sign in to comment.