diff --git a/workbench-for-google-cloud-workstations/Dockerfile.ubuntu2204 b/workbench-for-google-cloud-workstations/Dockerfile.ubuntu2204 index 6ec4bc85..324371c9 100644 --- a/workbench-for-google-cloud-workstations/Dockerfile.ubuntu2204 +++ b/workbench-for-google-cloud-workstations/Dockerfile.ubuntu2204 @@ -69,12 +69,6 @@ ENV LANG en_US.UTF-8 ENV LANGUAGE en_US:en ENV LC_ALL en_US.UTF-8 -### Install Quarto to PATH ### -RUN ln -s /lib/rstudio-server/bin/quarto/bin/quarto /usr/local/bin/quarto - -### Install TinyTeX using Quarto ### -RUN $SCRIPTS_DIR/install_quarto.sh --install-tinytex --add-path-tinytex - ### Install Pro Drivers ### RUN ${SCRIPTS_DIR}/apt.sh --update upgrade \ && ${SCRIPTS_DIR}/apt.sh install unixodbc unixodbc-dev \ @@ -102,6 +96,12 @@ RUN curl -o rstudio-workbench.deb "${RSW_DOWNLOAD_URL}/${RSW_NAME}-${RSW_VERSION && rm -rf /var/lib/apt/lists/* \ && rm -rf /var/lib/rstudio-server/r-versions +### Install Quarto to PATH ### +RUN ln -s /lib/rstudio-server/bin/quarto/bin/quarto /usr/local/bin/quarto + +### Install TinyTeX using Quarto ### +RUN $SCRIPTS_DIR/install_quarto.sh --install-tinytex --add-path-tinytex + # Workaround to ensure no pre-generated certificates are included in image distributions. # This happens in the step immediately following Workbench installation in case the certificates are generated. RUN rm -f /etc/rstudio/launcher.pem /etc/rstudio/launcher.pub