FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
vim-prettier/Dockerfile at master · prettier/vim-prettier · GitHub
Uh oh!
There was an error while loading.
Please reload this page
.
prettier
/
vim-prettier
Public
Uh oh!
There was an error while loading.
Please reload this page
.
Notifications
You must be signed in to change notification settings
Fork
137
Star
1.8k
Code
Issues
14
Pull requests
11
Actions
Projects
Security and quality
0
Insights
Additional navigation options
Code
Issues
Pull requests
Actions
Projects
Security and quality
Insights
Expand file tree
Breadcrumbs
vim-prettier
/
Dockerfile
Copy path
More file actions
More file actions
Latest commit
History
History
History
75 lines (62 loc) · 1.74 KB
Breadcrumbs
vim-prettier
/
Dockerfile
Copy path
File metadata and controls
75 lines (62 loc) · 1.74 KB
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
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
66
67
68
69
70
71
72
73
74
75
#
Deprecated compatibility image.
#
#
This Dockerfile is retained only for historical reference while compatibility
#
support is rebuilt in GitHub Actions. It uses Alpine 3.8, an unpinned
#
testbed/vim:latest base image, and legacy Vim/Neovim versions, so it is not a
#
supported or authoritative test environment for the current compatibility
#
policy. Prefer the workflow in .github/workflows/compatibility-smoke.yml and
#
the local verification commands documented in README.md and doc/prettier.txt.
FROM
alpine:3.8 as builder
WORKDIR
/tmp
RUN
apk add --no-cache \
build-base \
ctags \
git \
libx11-dev \
libxpm-dev \
libxt-dev \
libxtst-dev \
make \
ncurses-dev \
python3 \
python3-dev \
perl-dev \
ruby-dev
RUN
git clone https://github.com/vim/vim && cd vim \
&& ./configure \
--with-features=huge \
--with-x \
--with-compiledby=mitermayer.reis@gmail.com \
&& make install
FROM
testbed/vim:latest
COPY
--from=builder /usr/local/bin /usr/local/bin
COPY
--from=builder /usr/local/share/vim /usr/local/share/vim
#
install pip
ENV
PACKAGES=
"\
bash \
git \
ruby \
ruby-dev \
ruby-json \
python \
python3 \
py-pip \
nodejs \
npm \
libxt \
libx11 \
"
RUN
apk --update add $PACKAGES && \
rm -rf /var/cache/apk/* /tmp/* /var/tmp/*
#
install supported vim8 and neovim
RUN
install_vim -tag v7.4.052 -name vim7 -build \
-tag v8.1.0519 -name vim8 -build \
-tag neovim:v0.4.3 -name neovim -build
#
set default vim install
RUN
cp /vim-build/bin/vim8 /usr/local/bin/vim
#
upgrade node and yarn
RUN
npm install -g npm yarn
#
copy vimrc
ADD
tests/vimrc /root/.vimrc
#
install vint
RUN
pip install typing>=4.6.2 pathlib==1.0.1 enum34>=1.0.4 vim-vint==0.3.19
Back
|
FazBrowse Home
|
New Git URL