Comments (7)
When these templates were in the old repo, they shared same docs with images. For having node handy, all the images have a reason similar to this this one 👇
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.
Looks like it was assumed that node is helpful with most of the platforms/runtimes. This is what I think from the docs & why I kept this option during migration.
@Chuxel / @bamurtaugh might know the real reason behind it.
from templates.
There are few other templates which provides Node
options in the UX. I'll remove those from Templates 👍
from templates.
Is there a problem we're trying to resolve here? e.g., has someone complained (I might have missed it)?
To break it down:
- Most use cases for the images at the time were to enable web and service development where node was used by tools to generate client-side content (e.g. via webpack) even if you weren't deploying that way. Having yarn and nvm there by default both enabled these common tools use cases.
- Image build performance is always a focus and removing the need to install yarn and nvm helps here.
- Features didn't exist at the time.
Certainly, we could remove it from the template while still building yarn and nvm into the base image. Might that be a good way to get the best of all worlds?
from templates.
We recently added a lightweight way to create a dev container from scratch without a local folder or repository and there the additional and somewhat redundant step stood out and was brought to my attention. The UI steps are:
- Pick the Python template.
- Decide if and which Node version you want.
- Pick any additional features (including Node).
Since Node (and many other potentially useful tools) are offered as features, it seems we can remove Node from the template options. Having Node as an option made sense before we had features. I haven't checked which of the other templates are doing the same, but we could look into simplifying these too.
from templates.
Yeah I think we can remove it from the template - but we can still leave it in the image is my PoV. Retains the original functionality that way.
from templates.
+1 to removing - I think removing it would set the right precedent for other templates, where we want users to build up with features as much as possible.
from templates.
Closing as fixed with #59 🚀
from templates.
Related Issues (20)
- [.NET] Add .NET Global tools to Path HOT 2
- docker-outside-of-docker: compose and other cli-plugins HOT 1
- No shell script in postCreateCommand possible ?! HOT 2
- Does the "platform" key mean anything? HOT 4
- Working example? HOT 4
- `docker-compose up` fails in templates/src/cpp-mariadb/.devcontainer/ HOT 10
- Miniconda Python 3 Devcontainer - Permission Denied HOT 6
- Alpine devcontainers don't support PHP feature
- Automate dev container creation in Visual Code
- Ensure .NET dev container resources work well with latest C# Dev Kit HOT 9
- Javascript-node-mongo: Support debian:bookworm
- Provide more context on tool-specific properties HOT 1
- Ruby on Rails & Postgres Devcontainer Template is not configured for immediate running HOT 13
- Req: Dev Containers rebuild Postgres container HOT 2
- Question on Debian / Ubuntu & Centos/RHEL/Azure Linux family of support HOT 1
- Nice HOT 1
- Writing a VSCode extension, want to enable "Attach Visual Studio Code" to kubectl pod HOT 4
- Request: a devcontainer suitable for developing Electron applications HOT 2
- The Anaconda image specified in the documentation is not available.
- [JS -node-mongo] Add Template options for bookworm
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from templates.