Open samruddhikhandale opened 1 year ago
Given JavaScript front-end web client code written for use in conjunction with a Python back-end often requires the use of Node.js-based utilities to build, this container also includes nvm so that you can easily install Node.js.
For python and miniconda images, highlighting the thought behind installing nvm
as mentioned in this doc. Currently, nvm
is getting installed via Node Feature (with version:none) which could be avoided.
The end goal is that nvm
should be installed in these images, which can be done directly in the dockerfile without using the Node Feature (which will eventually discard installation of eslint
extension)
It became an issue after the image started to build with the devcontainer.json config. It also aligns with an effort to remove unnecessary tools from images, as I see in this pull request (removing bandit, yapf etc...).
Given JavaScript front-end web client code written for use in conjunction with a Python back-end often requires the use of Node.js-based utilities to build, this container also includes nvm so that you can easily install Node.js.
I don't know which tools need to be in the same container. If it's about the front-end connecting to the back-end via API, it's better to be in separate containers and run as docker-compose. Even if someone wants to run them together, there is already a separate Node feature. So they can install/add it easily.
For the rest of the python developers who are in the field of data science or back-end API development, Node is not necessary.
Finally, having bloatware(ESLint) is no good.
Originally posted by @Uguudei in https://github.com/devcontainers/images/issues/243#issuecomment-1429032491