Skip to content

Commit

Permalink
[docker][feat] Add user requested text editors to base image (#1451)
Browse files Browse the repository at this point in the history
* [docker][feat] Add user requested text editors to base image

* [docker][fix] Make default editor `vim` 🥳
  • Loading branch information
lloesche committed Feb 17, 2023
1 parent d67edbc commit 48907b5
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion Dockerfile.resotobase
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ ENV DEBIAN_FRONTEND=noninteractive
ENV LANG="en_US.UTF-8"
ENV TERM="xterm-256color"
ENV COLORTERM="truecolor"
ENV EDITOR="nano"
ENV EDITOR="vim"
ENV RESOTOSHELL_DOWNLOAD_DIRECTORY="/home/resoto/downloads"
COPY --from=build-env /usr/local /usr/local
ENV PATH=/usr/local/python/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
Expand All @@ -150,6 +150,8 @@ RUN groupadd -g "${PGID:-0}" -o resoto \
unzip \
nano \
nvi \
vim \
joe \
&& echo 'LANG="en_US.UTF-8"' > /etc/default/locale \
&& echo "en_US.UTF-8 UTF-8" >> /etc/locale.gen \
&& mkdir -p /var/run/resoto /home/resoto/downloads \
Expand Down

0 comments on commit 48907b5

Please sign in to comment.