From bb476b26f6e093f9422810302b307a02eed6f6b7 Mon Sep 17 00:00:00 2001 From: Delyan Angelov Date: Tue, 7 Jan 2025 14:36:43 +0200 Subject: [PATCH] make the image more comfortable for debugging/diagnosing/editing issues --- .github/workflows/Dockerfile.ci_alpine_local | 21 +++++++++++++++++--- 1 file changed, 18 insertions(+), 3 deletions(-) diff --git a/.github/workflows/Dockerfile.ci_alpine_local b/.github/workflows/Dockerfile.ci_alpine_local index 1baf24a4e3f50a..a3f361ba0770ba 100644 --- a/.github/workflows/Dockerfile.ci_alpine_local +++ b/.github/workflows/Dockerfile.ci_alpine_local @@ -25,11 +25,26 @@ RUN apk --no-cache add \ libunwind-dev libunwind-static \ gc gc-dev \ binutils diffutils elfutils \ - pcre strace bash + strace gdb \ + pcre bash fzf fzf-vim tmux less file colordiff \ + vim vim-editorconfig \ + nano nano-syntax \ + micro + +RUN git config --global --add safe.directory /opt/vlang &&\ + git config --global --add safe.directory /opt/vlang/vc &&\ + git config --global --add safe.directory /opt/vlang/thirdparty/tcc &&\ + find /usr/share/nano/ -iname "*.nanorc" -exec echo include {} \; >> ~/.nanorc &&\ + micro -plugin install detectindent &&\ + micro -plugin install editorconfig &&\ + micro -plugin install monokai-dark &&\ + micro -plugin install quickfix &&\ + micro -plugin install runit &&\ + micro -plugin install cheat &&\ + micro -plugin install jump &&\ + true ## setup runtime environment for v and bash: -USER 1000:1000 -ENV HOME /home ENV VTMP /tmp/v ENV VMODULES /tmp/vmodules ENV VFLAGS "-d dynamic_boehm"