-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathDockerfile
65 lines (63 loc) · 1.16 KB
/
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
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
FROM alpine:latest
RUN apk add neovim git build-base
RUN mkdir -p /home/neovim
RUN adduser -h /home/neovim neovim -D -u 1000
COPY --chown=1000:1000 config /home/neovim/.config/nvim
USER neovim
WORKDIR /home/neovim
RUN nvim --headless +"Lazy! sync" \
+"TSInstallSync \
astro \
bash \
c \
css \
csv \
diff \
dockerfile \
fish \
git_config \
git_rebase \
gitattributes \
gitcommit \
gitignore \
go \
gomod \
gosum \
gowork \
hcl \
hocon \
html \
javascript \
jsdoc \
json \
jsonc \
kdl \
kotlin \
lua \
luadoc \
luap \
markdown \
markdown_inline \
proto \
python \
query \
regex \
ruby \
rust \
scss \
sql \
ssh_config \
svelte \
templ \
terraform \
toml \
tsx \
typescript \
vim \
vimdoc \
yaml \
zig \
" \
+qa
COPY demo.md /home/neovim/demo.md
ENTRYPOINT [ "/usr/bin/nvim" ]