mirror of
https://github.com/microsoft/vscode.git
synced 2025-12-25 20:57:12 +00:00
VSCode requires version Node version 18-20, however 20 doesn't work because it is incompatible with `eslint-plugin-jsdoc@39.3.2`. Fixes #190331
13 lines
399 B
Docker
13 lines
399 B
Docker
FROM mcr.microsoft.com/devcontainers/typescript-node:18-bookworm
|
|
|
|
ADD install-vscode.sh /root/
|
|
RUN /root/install-vscode.sh
|
|
|
|
RUN git config --system codespaces-theme.hide-status 1
|
|
|
|
USER node
|
|
RUN YARN_CACHE="$(yarn cache dir)" && rm -rf "$YARN_CACHE" && ln -s /vscode-dev/yarn-cache "$YARN_CACHE"
|
|
|
|
USER root
|
|
CMD chown node:node /vscode-dev && sudo -u node mkdir -p /vscode-dev/yarn-cache && sleep inf
|