diff --git a/.github/workflows/docker.yml b/.github/workflows/docker.yml index 934b3e1193..55831de635 100644 --- a/.github/workflows/docker.yml +++ b/.github/workflows/docker.yml @@ -75,23 +75,3 @@ jobs: target: firedrake tag: ${{ inputs.tag }} secrets: inherit - - # Firedrake with Jupyter notebooks - docker_build_jupyter: - needs: docker_merge_firedrake - uses: ./.github/workflows/docker_build.yml - with: - os: Linux - platform: linux/amd64 - target: firedrake-jupyter - tag: ${{ inputs.tag }} - dockerfile: docker/Dockerfile.jupyter - secrets: inherit - - docker_merge_jupyter: - uses: ./.github/workflows/docker_merge.yml - needs: docker_build_jupyter - with: - target: firedrake-jupyter - tag: ${{ inputs.tag }} - secrets: inherit diff --git a/docker/Dockerfile.jupyter b/docker/Dockerfile.jupyter deleted file mode 100644 index 1a52676f1b..0000000000 --- a/docker/Dockerfile.jupyter +++ /dev/null @@ -1,24 +0,0 @@ -# Dockerfile for a Firedrake container including Jupyter. - -FROM firedrakeproject/firedrake:latest - -# Install an iPython kernel for Firedrake -RUN pip install --verbose nbclassic nbformat nbconvert ipympl \ - && jupyter nbclassic --generate-config - -# Move the notebooks and strip their output -RUN mkdir /opt/firedrake-notebooks \ - && cp -r /opt/firedrake/docs/notebooks/* /opt/firedrake-notebooks/ \ - && for file in /opt/firedrake-notebooks/*.ipynb; do \ - jupyter nbconvert --ClearOutputPreprocessor.enabled=True --inplace $file; \ - done - -# Now do the same for thetis. -RUN mkdir /opt/thetis-notebooks \ - && cp -r /opt/thetis/demos/* /opt/thetis-notebooks/ \ - && rm /opt/thetis-notebooks/*.py \ - && for file in /opt/thetis-notebooks/*.ipynb; do \ - jupyter nbconvert --ClearOutputPreprocessor.enabled=True --inplace $file; \ - done - -CMD ["jupyter", "nbclassic", "--ip", "0.0.0.0", "--no-browser", "--allow-root"]