Skip to content

Commit 617e19b

Browse files
authored
feat: add pyflakes and rope to pylsp (#8)
1 parent 413a59d commit 617e19b

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

Dockerfile

+6-2
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,9 @@ RUN go build -o server
1313
## Dev
1414
FROM build AS dev
1515

16-
RUN apk add --no-cache build-base ccls py3-lsp-server curl openjdk17
16+
RUN apk add --no-cache build-base ccls py3-lsp-server curl openjdk17 py-pip
17+
18+
RUN pip install pyflakes rope --ignore-installed
1719

1820
WORKDIR /jdt
1921
RUN curl https://download.eclipse.org/jdtls/milestones/1.9.0/jdt-language-server-1.9.0-202203031534.tar.gz --output jdt.tar.gz
@@ -32,7 +34,9 @@ CMD ["make watch"]
3234
## Prod
3335
FROM alpine:latest AS prod
3436

35-
RUN apk add --no-cache build-base ccls py3-lsp-server curl openjdk17
37+
RUN apk add --no-cache build-base ccls py3-lsp-server curl openjdk17 py-pip
38+
39+
RUN pip install pyflakes rope --ignore-installed
3640

3741
WORKDIR /jdt
3842
RUN curl https://download.eclipse.org/jdtls/milestones/1.9.0/jdt-language-server-1.9.0-202203031534.tar.gz --output jdt.tar.gz

0 commit comments

Comments
 (0)