From 6831fc72d2dee89c47ab670cdc124e7969a41e84 Mon Sep 17 00:00:00 2001 From: Ben Chuanlong Du Date: Thu, 8 May 2025 15:42:18 -0700 Subject: [PATCH 1/2] Update Dockerfile --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 8b474bd..c7a1f28 100644 --- a/Dockerfile +++ b/Dockerfile @@ -20,7 +20,7 @@ RUN apt-get update -y \ git openssh-client \ rsync curl \ && curl -sSL https://raw.githubusercontent.com/legendu-net/icon/main/install_icon.sh | bash \ - && icon neovim -iy \ + && icon neovim -iy && export EDITOR=nvim \ && echo "Set disable_coredump false" >> /etc/sudo.conf \ && /scripts/sys/purge_cache.sh From 5a6fa94e59deaaf23dd087fdf2509c4eff38078d Mon Sep 17 00:00:00 2001 From: Ben Chuanlong Du Date: Sat, 10 May 2025 12:48:52 -0700 Subject: [PATCH 2/2] Update Dockerfile --- Dockerfile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index c7a1f28..1322e5d 100644 --- a/Dockerfile +++ b/Dockerfile @@ -10,6 +10,7 @@ RUN mkdir -p /workdir && chmod 777 /workdir WORKDIR /workdir COPY scripts /scripts +ENV EDITOR=nvim RUN apt-get update -y \ && DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends \ sudo \ @@ -20,7 +21,7 @@ RUN apt-get update -y \ git openssh-client \ rsync curl \ && curl -sSL https://raw.githubusercontent.com/legendu-net/icon/main/install_icon.sh | bash \ - && icon neovim -iy && export EDITOR=nvim \ + && icon neovim -iy \ && echo "Set disable_coredump false" >> /etc/sudo.conf \ && /scripts/sys/purge_cache.sh