Skip to content

Commit

Permalink
one last try before I call it off
Browse files Browse the repository at this point in the history
  • Loading branch information
balajialg committed Dec 9, 2023
1 parent 89d374a commit b8659fe
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions deployments/ischool/image/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,14 @@ RUN echo "export PATH" >> /etc/profile

ENV HOME /home/${NB_USER}

# https://github.com/berkeley-dsep-infra/datahub/issues/5251
ENV QUARTO_VERSION="0.9.522"
RUN mkdir -p /opt/quarto/${QUARTO_VERSION} && \
curl -L -o /tmp/quarto.tar.gz "https://github.com/quarto-dev/quarto-cli/releases/download/v${QUARTO_VERSION}/quarto-${QUARTO_VERSION}-linux-amd64.tar.gz" && \
tar xzf /tmp/quarto.tar.gz -C "/opt/quarto/${QUARTO_VERSION}" --strip-components=1 && \
rm /tmp/quarto.tar.gz && \
ln -s /opt/quarto/${QUARTO_VERSION}/bin/quarto /usr/local/bin/quarto

WORKDIR ${HOME}

# Install packages needed by notebook-as-pdf
Expand Down Expand Up @@ -56,14 +64,6 @@ COPY infra-requirements.txt /tmp/infra-requirements.txt
RUN mamba env update -p ${CONDA_DIR} -f /tmp/environment.yml && \
mamba clean -afy

# https://github.com/berkeley-dsep-infra/datahub/issues/5251
ENV QUARTO_VERSION="0.9.522"
RUN mkdir -p /opt/quarto/${QUARTO_VERSION} && \
curl -L -o /tmp/quarto.tar.gz "https://github.com/quarto-dev/quarto-cli/releases/download/v${QUARTO_VERSION}/quarto-${QUARTO_VERSION}-linux-amd64.tar.gz" && \
tar xzf /tmp/quarto.tar.gz -C "/opt/quarto/${QUARTO_VERSION}" --strip-components=1 && \
rm /tmp/quarto.tar.gz && \
ln -s /opt/quarto/${QUARTO_VERSION}/bin/quarto /usr/local/bin/quarto

# Install IRKernel
RUN R --quiet -e "install.packages('IRkernel', quiet = TRUE)" && \
R --quiet -e "IRkernel::installspec(prefix='${CONDA_DIR}')"
Expand Down

0 comments on commit b8659fe

Please sign in to comment.