nano -> nano-tiny

This commit is contained in:
romainx
2020-09-30 06:45:26 +02:00
parent 150731d32f
commit 8201c14ef4
2 changed files with 5 additions and 2 deletions

View File

@@ -50,7 +50,7 @@ and versioning strategy.
- [TeX Live](https://www.tug.org/texlive/) for notebook document conversion - [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`), - [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/), [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 ### jupyter/r-notebook

View File

@@ -28,8 +28,11 @@ RUN apt-get update && apt-get install -yq --no-install-recommends \
# ---- # ----
tzdata \ tzdata \
unzip \ unzip \
nano \ nano-tiny \
&& apt-get clean && rm -rf /var/lib/apt/lists/* && 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 # Switch back to jovyan to avoid accidental container runs as root
USER $NB_UID USER $NB_UID