Skip to content

Language image vs OS image with language feature #25

Answered by Chuxel
alefteris asked this question in Q&A
Discussion options

You must be logged in to vote

Advantages of starting from an language image:

  • Starting from an image like node gives you the opportunity to use that same base when you deploy your app in a container - which improves in consistency. The is the primary reason the mcr.microsoft/devcontainer images flow this pattern. They are the language images + some additions in another layer.
  • Some languages like Python can be surprisingly hard and/or slow to install in some cases. While Dev Container Features abstract this complexity away, it can still take a while to execute. Starting from python speeds things up. That said, if you are pre-building your images, this isn't quite as big a deal.

Advantages of starting from an OS image:

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by alefteris
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants