Skip to content

Commit 5a6fa94

Browse files
authored
Update Dockerfile
1 parent 6831fc7 commit 5a6fa94

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Dockerfile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ RUN mkdir -p /workdir && chmod 777 /workdir
1010
WORKDIR /workdir
1111
COPY scripts /scripts
1212

13+
ENV EDITOR=nvim
1314
RUN apt-get update -y \
1415
&& DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends \
1516
sudo \
@@ -20,7 +21,7 @@ RUN apt-get update -y \
2021
git openssh-client \
2122
rsync curl \
2223
&& curl -sSL https://raw.githubusercontent.com/legendu-net/icon/main/install_icon.sh | bash \
23-
&& icon neovim -iy && export EDITOR=nvim \
24+
&& icon neovim -iy \
2425
&& echo "Set disable_coredump false" >> /etc/sudo.conf \
2526
&& /scripts/sys/purge_cache.sh
2627

0 commit comments

Comments
 (0)