mirror of
https://github.com/Microsoft/vscode
synced 2024-09-13 21:55:38 +00:00
b7ebbb6990
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
|