fix: include quarto in container
This commit is contained in:
+13
-3
@@ -1,10 +1,20 @@
|
||||
FROM node:26-trixie-slim@sha256:a1d9d671994fc2d26e297ac56b4b1522a8bc7fa71c43b14cd1b1fe6c5116f7dc
|
||||
|
||||
# OS packages used to fetch sources and deploy output
|
||||
RUN apt-get update \
|
||||
&& apt-get install -y --no-install-recommends \
|
||||
git rsync curl ca-certificates \
|
||||
&& rm -rf /var/lib/apt/lists/*
|
||||
|
||||
ENV PIXI_VERSION=0.71.1
|
||||
RUN curl -fsSL https://pixi.sh/install.sh | bash
|
||||
ENV PATH="/root/.pixi/bin:${PATH}"
|
||||
# Quarto setup.
|
||||
ARG QUARTO_VERSION=1.9.38
|
||||
ARG QUARTO_SHA256=ea8c897368791ad9f200010c087ea3111b2e556b12a960487dd4e216902aa102
|
||||
|
||||
RUN curl -fsSL -o /tmp/quarto.tar.gz \
|
||||
"https://github.com/quarto-dev/quarto-cli/releases/download/v${QUARTO_VERSION}/quarto-${QUARTO_VERSION}-linux-amd64.tar.gz" \
|
||||
&& echo "${QUARTO_SHA256} /tmp/quarto.tar.gz" | sha256sum -c - \
|
||||
&& mkdir -p /opt/quarto/${QUARTO_VERSION} \
|
||||
&& tar -xzf /tmp/quarto.tar.gz -C /opt/quarto/${QUARTO_VERSION} --strip-components=1 \
|
||||
&& ln -s /opt/quarto/${QUARTO_VERSION}/bin/quarto /usr/local/bin/quarto \
|
||||
&& rm /tmp/quarto.tar.gz \
|
||||
&& quarto --version
|
||||
|
||||
Reference in New Issue
Block a user