Skip to content

Commit 9e52960

Browse files
committed
feature: docker: vim nvim
1 parent ca97c21 commit 9e52960

1 file changed

Lines changed: 6 additions & 4 deletions

File tree

docker/Dockerfile.io

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,15 +8,17 @@ WORKDIR /usr/src/app
88
COPY package.json /usr/src/app/
99

1010
RUN apt-get update && apt-get upgrade && apt-get autoremove && \
11-
apt-get install nc mc iputils-ping && \
12-
npm i wisdom nupdate version-io redrun madrun redlint putout -g
11+
apt-get install -y netcat-openbsd mc iputils-ping vim neovim && \
12+
npm i wisdom nupdate version-io redrun madrun redlint putout -g && \
1313
curl -fsSL https://bun.com/install | bash && \
14-
curl -fsSL https://deno.land/install.sh | sh
14+
curl -fsSL https://deno.land/install.sh | sh && \
1515
~/.bun/bin/bun i --production && \
1616
~/.bun/bin/bun add --no-save gritty && \
1717
~/.bun/bin/bun pm cache rm && \
1818
echo "ALL ALL=(ALL) NOPASSWD: /usr/bin/apt-get install *" > /etc/sudoers.d/apt-install && \
19-
chmod 0440 /etc/sudoers.d/apt-install
19+
chmod 0440 /etc/sudoers.d/apt-install && \
20+
echo "set editing-mode vi" >> /etc/inputrc && \
21+
echo "TAB: menu-complete" >> /etc/inputrc
2022

2123
COPY . /usr/src/app
2224

0 commit comments

Comments
 (0)