Sync Linux devcontainer package requirements#127460
Draft
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>
Copilot
AI
changed the title
[WIP] Fix package mismatch between Dockerfile and requirements documentation
Sync Linux devcontainer package requirements
Apr 27, 2026
am11
reviewed
Apr 27, 2026
| # Keep this package list in sync with docs/workflow/requirements/linux-requirements.md. | ||
| RUN apt-get update && export DEBIAN_FRONTEND=noninteractive \ | ||
| && apt-get -y install --no-install-recommends \ | ||
| build-essential \ |
Member
There was a problem hiding this comment.
We can just call eng/common/native/install-dependencies.sh to avoid duplications. We already use it in some build containers and pipelines.
Member
There was a problem hiding this comment.
@copilot please update the Dockerfile to use the script mentioned above.
Member
There was a problem hiding this comment.
Has the repo been cloned at this stage of the Dev Container build? I don’t think the script will be available.
Contributor
|
Tagging subscribers to this area: @dotnet/area-meta |
vcsjones
reviewed
Apr 28, 2026
|
|
||
| The packages you need to install are shown in the following list: | ||
|
|
||
| **NOTE:** Keep this package list in sync with the Linux-based *Dockerfile* [over here](/.devcontainer/Dockerfile). |
Member
There was a problem hiding this comment.
This is user-facing workflow instructions. I don’t think it makes sense to put this comment in a document that is largely aimed at external contributors.
jkotas
reviewed
Apr 28, 2026
| - `cmake` (version 3.26 or newer) | ||
| - `cpio` | ||
| - `curl` | ||
| - `gettext` |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The Linux devcontainer package list and Debian/Ubuntu setup docs had drifted. Both locations should describe the same build dependency set and remind maintainers to keep them aligned.
Package list sync
.devcontainer/Dockerfileto include the union of packages from both sources.docs/workflow/requirements/linux-requirements.mdDebian/Ubuntu package list andapt installcommand to match.Maintenance note