Skip to content

Commit

Permalink
Merge pull request #5869 from felder/felder_DH-330
Browse files Browse the repository at this point in the history
[DH-330] make webpdf export work for julia
  • Loading branch information
felder authored Jul 16, 2024
2 parents 8f3ab3b + 80fb480 commit 6bfe984
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 1 deletion.
4 changes: 4 additions & 0 deletions deployments/julia/image/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,10 @@ RUN mamba env update -p ${CONDA_DIR} -f /tmp/environment.yml && mamba clean -af
COPY infra-requirements.txt /tmp/infra-requirements.txt
RUN pip install --no-cache -r /tmp/infra-requirements.txt

# DH-330, similar to DH-164
ENV PLAYWRIGHT_BROWSERS_PATH ${CONDA_DIR}
RUN playwright install chromium

# 2024-01-13 sknapp: incompatible due to notebook 7
# RUN jupyter contrib nbextensions install --sys-prefix --symlink && \
# jupyter nbextensions_configurator enable --sys-prefix
Expand Down
4 changes: 4 additions & 0 deletions deployments/julia/image/apt.txt
Original file line number Diff line number Diff line change
Expand Up @@ -9,3 +9,7 @@ lmodern
# Other useful document-related tools
pandoc
latexdiff

# playwright deps https://jira-secure.berkeley.edu/browse/DH-305
libnss3
libnspr4
2 changes: 1 addition & 1 deletion deployments/julia/image/environment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,6 @@ dependencies:
- jupyter-desktop-server
- otter-grader==3.1.4
# for notebook exporting
- nbconvert==7.6.0
- nbconvert[webpdf]==7.16.4
- nb2pdf==0.6.2
- nbpdfexport==0.2.1

0 comments on commit 6bfe984

Please sign in to comment.