Update devcontainer Dockerfile - #127460
Conversation
Agent-Logs-Url: https://github.com/dotnet/runtime/sessions/e01dfde2-e3fd-478e-aa3c-c270ffb6f75b Co-authored-by: jtschuster <36744439+jtschuster@users.noreply.github.com>
|
Tagging subscribers to this area: @dotnet/area-meta |
There was a problem hiding this comment.
Pull request overview
This PR updates the devcontainer Dockerfile to install build prerequisites by downloading and running the repo’s eng/common/native/install-dependencies.sh script during image creation, instead of maintaining a hardcoded apt-get install list.
Changes:
- Switches the devcontainer base image variant default from
8.0-nobleto10.0-noble. - Replaces the explicit
apt-get installdependency list with acurl+bash install-dependencies.shstep. - Adds a note intending to keep dependencies aligned with the documented Linux requirements.
Co-authored-by: Adeel Mujahid <3840695+am11@users.noreply.github.com> Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
|
For now maybe we can just use the install-dependencies.sh script for dev containers / Codespaces to enable building runtime without installing additional packages. |
I agree that this is good enough for standard configuration. Those additional packages are not required to build / debug runtime. User is free to install any other package in dev containers. |
The devcontainer package list was missing some requirements to build, so new codespaces could not build runtime. Update the Dockerfile to curl and run the install-dependencies script during creation to install the packages. --------- Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com> Co-authored-by: jtschuster <36744439+jtschuster@users.noreply.github.com> Co-authored-by: Adeel Mujahid <3840695+am11@users.noreply.github.com> Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
The devcontainer package list was missing some requirements to build, so new codespaces could not build runtime. Update the Dockerfile to curl and run the install-dependencies script during creation to install the packages.