Verified Commit 898be47a authored by Olivier Benz's avatar Olivier Benz
Browse files

verse (amd64): Install package quarto from tar.gz

- Add /opt/quarto/bin to PATH
- Add R package quarto
parent 8e7c4962
......@@ -17,7 +17,7 @@ USER root
ENV HOME=/root \
CTAN_REPO=${CTAN_REPO} \
PATH=/opt/TinyTeX/bin/linux:$PATH
PATH=/opt/TinyTeX/bin/linux:/opt/quarto/bin:$PATH
WORKDIR ${HOME}
......@@ -66,9 +66,10 @@ RUN dpkgArch="$(dpkg --print-architecture)" \
&& rm -rf /var/lib/apt/lists/* \
&& if [ ${dpkgArch} = "amd64" ]; then \
## Install quarto
curl -sLO https://github.com/quarto-dev/quarto-cli/releases/download/v${QUARTO_VERSION}/quarto-${QUARTO_VERSION}-linux-${dpkgArch}.deb; \
dpkg -i quarto-${QUARTO_VERSION}-linux-${dpkgArch}.deb; \
rm quarto-${QUARTO_VERSION}-linux-${dpkgArch}.deb; \
curl -sLO https://github.com/quarto-dev/quarto-cli/releases/download/v${QUARTO_VERSION}/quarto-${QUARTO_VERSION}-linux-${dpkgArch}.tar.gz; \
mkdir -p /opt/quarto; \
tar -xzf quarto-${QUARTO_VERSION}-linux-${dpkgArch}.tar.gz -C /opt/quarto --no-same-owner --strip-components=1; \
rm quarto-${QUARTO_VERSION}-linux-${dpkgArch}.tar.gz; \
## Remove qurto pandoc
rm /opt/quarto/bin/tools/pandoc; \
## Link to system pandoc
......@@ -110,6 +111,7 @@ RUN dpkgArch="$(dpkg --print-architecture)" \
blogdown \
bookdown \
distill \
quarto \
rticles \
rmdshower \
rJava \
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment