Added more docker servers as reference

This commit is contained in:
2025-11-24 19:12:16 -06:00
parent 7f851f5bca
commit aa9fbe9082
28 changed files with 486 additions and 0 deletions

View File

@@ -0,0 +1,26 @@
FROM alpine:3.22.1
ARG VERSION=latest
LABEL version="${VERSION}"
RUN apk add --no-cache \
git=2.49.1-r0 \
nodejs=22.16.0-r2 \
npm=11.3.0-r0
WORKDIR /tmp
RUN git clone --depth=1 https://github.com/Microsoft/vscode-eslint
WORKDIR /tmp/vscode-eslint
RUN npm install && npm run compile
WORKDIR /tmp/vscode-eslint/server
RUN npm install --production \
&& mv out /root/vscode-eslint-language-server \
&& mv package.json node_modules /root/vscode-eslint-language-server/ \
&& rm -rf /tmp/vscode-eslint
CMD [ "/usr/bin/node", "/root/vscode-eslint-language-server/eslintServer.js", "--stdio" ]