-
Notifications
You must be signed in to change notification settings - Fork 58
Open
Description
These scripts are concise and clean, but currently only copied into a subset of the images (all Pro/Base, but not *-init nor content?): https://github.com/rstudio/rstudio-docker-products/tree/main/product/base/scripts/ubuntu
Motivating example: to install a specific version of Quarto + TinyTex (related to #904), in each:
- Pro image (e.g.,
rstudio/rstudio-connect) -> easy, clean
RUN rm -rf /lib/rstudio-server/bin/quarto && rm -f /usr/local/bin/quarto \
&& HOME="/opt" $SCRIPTS_DIR/install_quarto.sh --install-tinytex --add-path-tinytex \
&& ln -sf /opt/quarto/${QUARTO_VERSION}/bin/quarto /usr/local/bin/quarto- Base image (e.g.,
rstudio/content-base:r4.4.1-py3.12.4-quarto1.4.557) -> more verbose, manual
RUN if [ ! -d "/opt/quarto/${QUARTO_VERSION}" ]; then \
mkdir -p /opt/quarto/${QUARTO_VERSION} \
&& curl -o quarto.tar.gz -L "https://github.com/quarto-dev/quarto-cli/releases/download/v${QUARTO_VERSION}/quarto-${QUARTO_VERSION}-linux-amd64.tar.gz" \
&& tar -zxvf quarto.tar.gz -C "/opt/quarto/${QUARTO_VERSION}" --strip-components=1 \
&& rm quarto.tar.gz; \
fi \
&& rm -rf /opt/TinyTeX \
&& HOME="/opt" /opt/quarto/${QUARTO_VERSION}/bin/quarto install tinytex --update-path --no-prompt \
&& ln -sf /opt/quarto/${QUARTO_VERSION}/bin/quarto /usr/local/bin/quartoReactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels