File tree Expand file tree Collapse file tree 2 files changed +30
-2
lines changed Expand file tree Collapse file tree 2 files changed +30
-2
lines changed Original file line number Diff line number Diff line change
1
+ FROM jupyter/scipy-notebook
2
+
3
+ USER root
4
+
5
+ # install vim
6
+ RUN apt-get update && apt-get install -y vim
7
+
8
+ USER ${NB_UID}
9
+
10
+ WORKDIR "${HOME}"
11
+
12
+ # remove the "work/" directory added in an earlier layer...
13
+ RUN rm -rf work
14
+
15
+ # Install R packages
16
+ RUN mamba install --quiet --yes \
17
+ 'numpy' \
18
+ 'jinja2' \
19
+ 'altair_data_server' \
20
+ 'click' \
21
+ 'ghp-import' \
22
+ 'jupytext' \
23
+ 'jupyter_contrib_nbextensions' \
24
+ 'jupyter-book' \
25
+ 'nodejs' \
26
+ && mamba clean --all -f -y \
27
+ && fix-permissions "${CONDA_DIR}" \
28
+ && fix-permissions "/home/${NB_USER}"
Original file line number Diff line number Diff line change @@ -33,8 +33,8 @@ in the root directory of this repository. The book can be viewed in your browser
33
33
34
34
### Update build environment
35
35
36
- You can update the build environment for the book by making changes to ` Dockerfile ` in the root of the repository in the ` main ` branch.
37
- If you push any changes to the ` Dockerfile ` on the ` main ` branch, GitHub will trigger a rebuild of the docker image,
36
+ You can update the build environment for the book by making changes to ` Dockerfile ` in the root of the repository in the ` dev ` branch.
37
+ If you push any changes to the ` Dockerfile ` on the ` dev ` branch, GitHub will trigger a rebuild of the docker image,
38
38
push it to DockerHub, and update the ` build_html.sh ` script and book deploy GitHub action with the new image digest.
39
39
40
40
### Update public html
You can’t perform that action at this time.
0 commit comments