summaryrefslogtreecommitdiff
path: root/nvcode.Dockerfile
blob: fa3b89ab50fe2a2621993a46e028c030c1506f3d (plain)
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
30
31
32
33
34
35
36
FROM ubuntu:20.04

ENV LANG en_US.UTF-8
ENV LANGUAGE en_US:en
# ENV LC_ALL en_US.UTF-8
ENV TERM screen-256color
ENV DEBIAN_FRONTEND=noninteractive

RUN apt update && apt install -y \
  git \
  bash \
  fzf \
  wget \
  python3-dev \
  python3-pip \
  libssl-dev \
  libffi-dev \
  locales \
  curl \
  ripgrep \
  nodejs \
  npm \
  neovim

SHELL ["/bin/bash", "-c"]

RUN npm i -g neovim
RUN bash  <(curl -s https://raw.githubusercontent.com/ChristianChiarulli/nvim/master/utils/install-docker.sh)
RUN git clone --depth 1 https://github.com/junegunn/fzf.git ~/.fzf && ~/.fzf/install

CMD ["nvim"]