Skip to content

Commit

Permalink
Merge pull request #38 from BerriJ/dev
Browse files Browse the repository at this point in the history
Bump Ubuntu, add Quarto
  • Loading branch information
BerriJ authored Mar 12, 2024
2 parents 905bf3c + cce11c2 commit 4d137d6
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 1 deletion.
11 changes: 10 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM ubuntu:jammy@sha256:6042500cf4b44023ea1894effe7890666b0c5c7871ed83a97c36c76ae560bb9b
FROM ubuntu:jammy@sha256:f9d633ff6640178c2d0525017174a688e2c1aef28f0a0130b26bd5554491f0da

SHELL ["/bin/bash", "-c"]

Expand Down 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 4d137d6

Please sign in to comment.