Skip to content

Commit a038470

Browse files
committed
feature: docker: io: neovim: apt -> github
1 parent 45e0ff4 commit a038470

File tree

1 file changed

+8
-4
lines changed

1 file changed

+8
-4
lines changed

docker/Dockerfile.io

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,22 +13,26 @@ ENV DEBIAN_FRONTEND=noninteractive \
1313
PATH=/usr/local/src/cargo/bin:$PATH
1414

1515
ARG GO_VERSION=1.21.2
16+
ARG NVIM_VERSION=0.12.0
1617

1718
RUN apt-get update && \
1819
apt-get upgrade -y && \
1920
apt-get autoremove && \
20-
apt-get install -y less ffmpeg net-tools netcat-openbsd mc iputils-ping vim neovim bat fzf locales sudo command-not-found ncdu aptitude htop btop && \
21-
echo "> remove unused packages" && \
22-
apt-get remove mercurial subversion -y && \
21+
apt-get install -y less ffmpeg net-tools netcat-openbsd mc iputils-ping vim bat fzf locales sudo command-not-found ncdu aptitude htop btop && \
2322
echo "> Update command-not-found database. Run 'sudo apt update' to populate it." && \
2423
apt-get update && \
2524
apt-get autoremove && \
2625
apt-get clean && \
26+
echo "> install neovim" && \
27+
wget https://github.com/neovim/neovim/releases/download/v${NVIM_VERSION}/nvim-linux-x86_64.tar.gz && \
28+
tar zxf nvim-linux-x86_64.tar.gz && \
29+
mv nvim-linux-x86_64 /usr/local/src/nvim && \
30+
ln -s /usr/local/src/nvim/bin/nvim /usr/local/bin/nvim && \
2731
echo "> install nvm" && \
2832
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.40.4/install.sh | bash && \
2933
mv ~/.nvm /usr/local/src/nvm && \
3034
echo "> install npm globals" && \
31-
npm i wisdom nupdate version-io redrun superc8 supertape madrun redlint putout renamify-cli runny redfork -g && \
35+
npm i wisdom nupdate version-io redrun superc8 supertape madrun redlint putout renamify-cli runny redfork -g && \
3236
echo "> install bun" && \
3337
curl -fsSL https://bun.sh/install | bash && \
3438
mv ~/.bun /usr/local/src/bun && \

0 commit comments

Comments
 (0)