Skip to content

Commit 38649fd

Browse files
author
Junfeng Li
committed
Move Dockerfile to ci/.
1 parent a5fa79a commit 38649fd

File tree

3 files changed

+17
-20
lines changed

3 files changed

+17
-20
lines changed

Dockerfile

Lines changed: 0 additions & 18 deletions
This file was deleted.

Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -54,8 +54,8 @@ clean:
5454
cargo clean
5555
rm -rf bin/languageclient
5656

57-
build-docker-image: Dockerfile
58-
docker build --tag autozimu/languageclientneovim .
57+
build-docker-image: ci/Dockerfile
58+
docker build --tag autozimu/languageclientneovim ci
5959

6060
publish-docker-image:
6161
docker push autozimu/languageclientneovim

ci/Dockerfile

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
FROM rust:1.26
2+
3+
RUN curl -sL https://deb.nodesource.com/setup_8.x | bash - \
4+
&& apt-get install --yes nodejs \
5+
&& npm install -g [email protected]
6+
7+
RUN apt-get install --yes neovim python3-pip python3-pytest mypy flake8 \
8+
&& pip3 install neovim vim-vint
9+
10+
RUN rustup component add rls-preview rust-analysis rust-src \
11+
&& rls --version
12+
13+
ENV CARGO_TARGET_DIR=/tmp
14+
15+
CMD /bin/bash

0 commit comments

Comments
 (0)