diff --git a/docs/using/selecting.md b/docs/using/selecting.md index 2e878bb6..c2d9e7d2 100644 --- a/docs/using/selecting.md +++ b/docs/using/selecting.md @@ -50,7 +50,7 @@ and versioning strategy. - [TeX Live](https://www.tug.org/texlive/) for notebook document conversion - [git](https://git-scm.com/), [emacs](https://www.gnu.org/software/emacs/) (actually `emacs-nox`), [vi](https://vim.org/) (actually `vim-tiny`), [jed](https://www.jedsoft.org/jed/), - [nano](https://www.nano-editor.org/), tzdata, and unzip + [nano](https://www.nano-editor.org/) (actually `nano-tiny`), tzdata, and unzip ### jupyter/r-notebook diff --git a/minimal-notebook/Dockerfile b/minimal-notebook/Dockerfile index c053b1c5..bb11eeb6 100644 --- a/minimal-notebook/Dockerfile +++ b/minimal-notebook/Dockerfile @@ -28,8 +28,11 @@ RUN apt-get update && apt-get install -yq --no-install-recommends \ # ---- tzdata \ unzip \ - nano \ + nano-tiny \ && apt-get clean && rm -rf /var/lib/apt/lists/* +# Create alternative for nano -> nano-tiny +RUN update-alternatives --install /usr/bin/nano nano /usr/bin/nano-tiny 10 + # Switch back to jovyan to avoid accidental container runs as root USER $NB_UID