mirror of
https://github.com/jupyter/docker-stacks.git
synced 2025-10-18 07:22:57 +00:00
nano -> nano-tiny
This commit is contained in:
@@ -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
|
||||||
|
|
||||||
|
@@ -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
|
||||||
|
Reference in New Issue
Block a user