diff --git a/deployments/julia/image/Dockerfile b/deployments/julia/image/Dockerfile index 27cf5ba06..9c0262d1e 100644 --- a/deployments/julia/image/Dockerfile +++ b/deployments/julia/image/Dockerfile @@ -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 diff --git a/deployments/julia/image/apt.txt b/deployments/julia/image/apt.txt index 14c246c04..30ae36d48 100644 --- a/deployments/julia/image/apt.txt +++ b/deployments/julia/image/apt.txt @@ -9,3 +9,7 @@ lmodern # Other useful document-related tools pandoc latexdiff + +# playwright deps https://jira-secure.berkeley.edu/browse/DH-305 +libnss3 +libnspr4 diff --git a/deployments/julia/image/environment.yml b/deployments/julia/image/environment.yml index d2faefc2e..13ea0630e 100644 --- a/deployments/julia/image/environment.yml +++ b/deployments/julia/image/environment.yml @@ -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