2019-05-16 15:44:54 -04:00
|
|
|
FROM golang:1.12.1
|
2017-11-24 08:59:41 -05:00
|
|
|
|
|
|
|
RUN apt-get update -y && \
|
|
|
|
apt-get install -y build-essential curl git libncurses5-dev python3-pip && \
|
|
|
|
apt-get clean && \
|
|
|
|
rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*
|
|
|
|
|
2017-12-13 09:05:24 -05:00
|
|
|
RUN pip3 install vim-vint
|
|
|
|
|
2017-11-24 08:59:41 -05:00
|
|
|
RUN useradd -ms /bin/bash -d /vim-go vim-go
|
|
|
|
USER vim-go
|
|
|
|
|
|
|
|
COPY . /vim-go/
|
|
|
|
WORKDIR /vim-go
|
|
|
|
|
|
|
|
RUN scripts/install-vim vim-7.4
|
|
|
|
RUN scripts/install-vim vim-8.0
|
|
|
|
RUN scripts/install-vim nvim
|
|
|
|
|
|
|
|
ENTRYPOINT ["make"]
|