-
Notifications
You must be signed in to change notification settings - Fork 0
/
Dockerfile.ubuntu
29 lines (21 loc) · 1.05 KB
/
Dockerfile.ubuntu
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
# syntax=docker/dockerfile:1
FROM ubuntu:jammy
# Set environment correctly
ENV DEBIAN_FRONTEND=noninteractive
ENV PATH="/root/.local/bin:/root/.cargo/bin:/root/.npm-global/bin${PATH}"
RUN apt update && apt upgrade -y && \
apt install -y sudo build-essential git ripgrep curl wget zsh cargo fzf python3-dev python3-pip ninja-build gettext libtool libtool-bin autoconf automake cmake g++ pkg-config unzip doxygen && \
curl -sL https://deb.nodesource.com/setup_16.x | bash && \
apt update && \
apt install -y nodejs yarn && \
cargo install fd-find ripgrep && \
apt clean && \
rm -rf /var/lib/apt/lists/* /tmp/* && \
sh -c "$(curl -fsSL https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh)" "" --unattended
WORKDIR /root
RUN wget https://github.com/neovim/neovim/releases/download/stable/nvim.appimage && \
chmod +x nvim.appimage && \
mv nvim.appimage /root/.local/bin/nvim
RUN curl -s https://raw.githubusercontent.com/AnoRebel/AnoNvim/main/.install/installer.sh | bash
CMD ["avim"]
# vim: ft=dockerfile: