feat: switch base container to Ubuntu 26.04#1227
Conversation
✅
|
| Descriptor | Linter | Files | Fixed | Errors | Warnings | Elapsed time |
|---|---|---|---|---|---|---|
| ✅ ACTION | actionlint | 23 | 0 | 0 | 0.24s | |
| ✅ DOCKERFILE | hadolint | 3 | 0 | 0 | 0.22s | |
| ✅ JSON | npm-package-json-lint | yes | no | no | 0.5s | |
| ✅ JSON | prettier | 21 | 4 | 0 | 0 | 1.08s |
| ✅ JSON | v8r | 21 | 0 | 0 | 11.99s | |
| ✅ MARKDOWN | markdownlint | 12 | 0 | 0 | 0 | 1.33s |
| ✅ MARKDOWN | markdown-table-formatter | 12 | 0 | 0 | 0 | 0.34s |
| ✅ REPOSITORY | checkov | yes | no | no | 25.5s | |
| ✅ REPOSITORY | gitleaks | yes | no | no | 0.95s | |
| ✅ REPOSITORY | git_diff | yes | no | no | 0.01s | |
| ✅ REPOSITORY | grype | yes | no | no | 52.02s | |
| ✅ REPOSITORY | secretlint | yes | no | no | 2.06s | |
| ✅ REPOSITORY | syft | yes | no | no | 2.25s | |
| ✅ REPOSITORY | trivy | yes | no | no | 12.67s | |
| ✅ REPOSITORY | trivy-sbom | yes | no | no | 0.42s | |
| ✅ REPOSITORY | trufflehog | yes | no | no | 6.2s | |
| lychee | 83 | 1 | 0 | 23.34s | ||
| ✅ YAML | prettier | 31 | 0 | 0 | 0 | 1.23s |
| ✅ YAML | v8r | 31 | 0 | 0 | 13.07s | |
| ✅ YAML | yamllint | 31 | 0 | 0 | 1.28s |
Detailed Issues
⚠️ SPELL / lychee - 1 error
[IGNORED] docker://pandoc/extra:3.9.0.0-ubuntu@sha256:72afa9c8d3300e5f10c9c4330e101725687f2179bffd912fb859c6d2ae85de62 | Unsupported: Error creating request client: builder error for url (docker://pandoc/extra:3.9.0.0-ubuntu@sha256:72afa9c8d3300e5f10c9c4330e101725687f2179bffd912fb859c6d2ae85de62)
[403] https://developer.arm.com/downloads/-/arm-gnu-toolchain-downloads | Network error: Forbidden
[IGNORED] https://vscode.dev/redirect?url=vscode://ms-vscode-remote.remote-containers/cloneInVolume?url=https://github.com/philips-software/amp-devcontainer | Unsupported: Error creating request client: builder error for url (vscode://ms-vscode-remote.remote-containers/cloneInVolume?url=https://github.com/philips-software/amp-devcontainer)
📝 Summary
---------------------
🔍 Total..........126
✅ Successful.....123
⏳ Timeouts.........0
🔀 Redirected.......0
👻 Excluded.........0
❓ Unknown..........0
🚫 Errors...........1
Errors in .github/TOOL_VERSION_ISSUE_TEMPLATE.md
[403] https://developer.arm.com/downloads/-/arm-gnu-toolchain-downloads | Network error: Forbidden
See detailed reports in MegaLinter artifacts
You could have the same capabilities but better runtime performances if you use a MegaLinter flavor:
- oxsecurity/megalinter/flavors/salesforce@v9.4.0 (58 linters)
- oxsecurity/megalinter/flavors/javascript@v9.4.0 (61 linters)
Your project could benefit from a custom flavor, which would allow you to run only the linters you need, and thus improve runtime performances. (Skip this info by defining FLAVOR_SUGGESTIONS: false)
- Documentation: Custom Flavors
- Command:
npx mega-linter-runner@9.4.0 --custom-flavor-setup --custom-flavor-linters ACTION_ACTIONLINT,DOCKERFILE_HADOLINT,JSON_V8R,JSON_PRETTIER,JSON_NPM_PACKAGE_JSON_LINT,MARKDOWN_MARKDOWNLINT,MARKDOWN_MARKDOWN_TABLE_FORMATTER,REPOSITORY_CHECKOV,REPOSITORY_GIT_DIFF,REPOSITORY_GITLEAKS,REPOSITORY_GRYPE,REPOSITORY_SECRETLINT,REPOSITORY_SYFT,REPOSITORY_TRIVY,REPOSITORY_TRIVY_SBOM,REPOSITORY_TRUFFLEHOG,SPELL_LYCHEE,YAML_PRETTIER,YAML_YAMLLINT,YAML_V8R

Show us your support by starring ⭐ the repository
📦 Container Size AnalysisNote Comparing 📈 Size Comparison Table
|
…tware/amp-devcontainer into feature/ubuntu-26.04
Signed-off-by: Ron <45816308+rjaegers@users.noreply.github.com>
…tware/amp-devcontainer into feature/ubuntu-26.04
📦 Container Size AnalysisNote Comparing 📈 Size Comparison Table
|
📦 Container Size AnalysisNote Comparing 📈 Size Comparison Table
|
|
Signed-off-by: Ron <45816308+rjaegers@users.noreply.github.com>
Signed-off-by: Ron <45816308+rjaegers@users.noreply.github.com>
|
There was a problem hiding this comment.
Pull request overview
This PR upgrades the devcontainer images (base, C++, Rust) to Ubuntu 26.04 and refreshes the associated toolchains and pinned package versions to match the newer distribution.
Changes:
- Switch base image to Ubuntu 26.04, add locale support, and generate
C.UTF-8. - Update C++ toolchain components (GCC 15, ARM GNU toolchain 15.2, Ubuntu-provided LLVM/Clang 20 packages) and refresh Python/pip-compiled dependencies.
- Update Rust toolchain versions, ensure GCC/G++ 15 is available, and reduce container privileges by removing
privileged: true.
Reviewed changes
Copilot reviewed 10 out of 10 changed files in this pull request and generated 2 comments.
Show a summary per file
| File | Description |
|---|---|
.devcontainer/base/Dockerfile |
Moves base image to Ubuntu 26.04 and adds locale generation/setup. |
.devcontainer/base/apt-requirements.json |
Updates pinned base packages and adds locales. |
.devcontainer/cpp/Dockerfile |
Updates ARM GNU toolchain, switches GCC alternatives to v15, and adjusts LLVM repo usage. |
.devcontainer/cpp/apt-requirements-base.json |
Refreshes pinned base build tool versions for the C++ image (incl. GCC/G++ 15). |
.devcontainer/cpp/apt-requirements-clang.json |
Pins Clang/LLVM packages to Ubuntu 26.04 package versions. |
.devcontainer/cpp/requirements.txt |
Refreshes Python dependencies/hashes for C++ container tooling. |
.devcontainer/rust/Dockerfile |
Bumps Rust/cargo-binstall versions and sets compiler alternatives to GCC/G++ 15. |
.devcontainer/rust/apt-requirements.json |
Adds g++-15 and updates pinned rustup version. |
.devcontainer/rust/devcontainer.json |
Removes privileged mode from the Rust devcontainer configuration. |
test/cpp/workspace/sanitizers/asan.cpp |
Adjusts ASan test source to trigger OOB access via a pointer. |
Pull Request Report (#1227)Static measures
Time related measures
Status check related measures
|



🚀 Hey, I have created a Pull Request
Description of changes
This pull request updates the development container configurations for C++, Rust, and base images to use newer Ubuntu and toolchain versions, modernizes package versions, and improves locale and compiler setup. These changes ensure compatibility with the latest toolchains and enhance the development environment's consistency across languages.
Base image and locale improvements:
.devcontainer/base/Dockerfilefrom Ubuntu 24.04 to 26.04, addedlocalespackage, generated theC.UTF-8locale, and setLANGtoC.UTF-8for better locale handling. [1] [2] [3] [4].devcontainer/base/apt-requirements.json, updating versions for tools likegit,bash-completion, and addinglocales.C++ toolchain and package updates:
.devcontainer/cpp/Dockerfileand.devcontainer/cpp/apt-requirements-base.json, and updated related tool alternatives. [1] [2].devcontainer/cpp/apt-requirements-clang.jsonand commented out a custom LLVM repo line. [1] [2]Rust toolchain and package updates:
cargo-binstallto 1.17.9 in.devcontainer/rust/Dockerfile.g++-15to Rust devcontainer requirements and updatedrustupversion.Other changes:
privilegedflag from.devcontainer/rust/devcontainer.jsonto reduce container permissions.asan.cppto use a pointer for out-of-bounds access, likely for sanitizer testing.✔️ Checklist