-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Expand file tree
/
Copy pathDockerfile
More file actions
27 lines (19 loc) · 674 Bytes
/
Dockerfile
File metadata and controls
27 lines (19 loc) · 674 Bytes
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
FROM --platform=linux/amd64 golang:1.26.0
RUN apt-get update -y --allow-insecure-repositories && \
apt-get install -y build-essential curl git libncurses5-dev python3-pip && \
apt-get clean && \
rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*
RUN pip3 install vim-vint --break-system-packages
RUN useradd -ms /bin/bash -d /vim-go vim-go
USER vim-go
COPY scripts/install-vim /vim-go/scripts/install-vim
WORKDIR /vim-go
RUN scripts/install-vim vim-8.2
RUN scripts/install-vim vim-9.1
RUN scripts/install-vim nvim
COPY . /vim-go/
WORKDIR /vim-go
RUN scripts/install-tools vim-8.2
RUN scripts/install-tools vim-9.1
RUN scripts/install-tools nvim
ENTRYPOINT ["make"]