-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathDockerfile
45 lines (38 loc) · 813 Bytes
/
Dockerfile
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
37
38
39
40
41
42
43
44
FROM debian:stable-slim
# main packages
RUN apt update && \
apt install -y \
vim \
curl \
git
# linters
RUN apt install -y \
jq \
libxml2-utils \
black \
python3-pip \
shellcheck
RUN pip3 install --break-system-packages ruff
# ctags
RUN apt install -y \
autoconf \
automake \
pkg-config
WORKDIR /tmp
RUN git clone https://github.com/universal-ctags/ctags.git
WORKDIR /tmp/ctags
RUN ./autogen.sh
RUN ./configure
RUN make
RUN make install
# vim configuration
COPY ./vimrc /root/.vimrc
RUN curl -fLo /root/.vim/autoload/plug.vim --create-dirs https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim
RUN vim +'PlugInstall --sync' +qa
# terminal configuration
ENV TERM=xterm-256color
ENV LANG=C.UTF-8
ENV LANGUAGE=C.UTF-8
ENV LC_ALL=C.UTF-8
# default folder
WORKDIR /mount