Skip to content

feat: switch base container to Ubuntu 26.04#1227

Draft
Ron (rjaegers) wants to merge 17 commits intomainfrom
feature/ubuntu-26.04
Draft

feat: switch base container to Ubuntu 26.04#1227
Ron (rjaegers) wants to merge 17 commits intomainfrom
feature/ubuntu-26.04

Conversation

@rjaegers
Copy link
Copy Markdown
Member

@rjaegers Ron (rjaegers) commented Apr 3, 2026

🚀 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:

  • Updated the base image in .devcontainer/base/Dockerfile from Ubuntu 24.04 to 26.04, added locales package, generated the C.UTF-8 locale, and set LANG to C.UTF-8 for better locale handling. [1] [2] [3] [4]
  • Modernized core packages in .devcontainer/base/apt-requirements.json, updating versions for tools like git, bash-completion, and adding locales.

C++ toolchain and package updates:

  • Upgraded GCC/G++ from version 14 to 15 in .devcontainer/cpp/Dockerfile and .devcontainer/cpp/apt-requirements-base.json, and updated related tool alternatives. [1] [2]
  • Updated ARM GNU Toolchain to version 15.2 and corresponding SHA256 checksums.
  • Updated Clang/LLVM packages to official Ubuntu 26.04 versions in .devcontainer/cpp/apt-requirements-clang.json and commented out a custom LLVM repo line. [1] [2]

Rust toolchain and package updates:

  • Updated Rust toolchain to 1.94.1 and cargo-binstall to 1.17.9 in .devcontainer/rust/Dockerfile.
  • Added g++-15 to Rust devcontainer requirements and updated rustup version.
  • Ensured C/C++ compiler alternatives point to GCC/G++ 15 in the Rust devcontainer.

Other changes:

  • Removed the privileged flag from .devcontainer/rust/devcontainer.json to reduce container permissions.
  • Minor code change in asan.cpp to use a pointer for out-of-bounds access, likely for sanitizer testing.

✔️ Checklist

  • I have followed the contribution guidelines for this repository
  • I have added tests for new behavior, and have not broken any existing tests
  • I have added or updated relevant documentation
  • I have verified that all added components are accounted for in the SBOM

@github-actions
Copy link
Copy Markdown
Contributor

github-actions bot commented Apr 3, 2026

⚠️MegaLinter analysis: Success with warnings

Descriptor Linter Files Fixed Errors Warnings Elapsed time
✅ ACTION actionlint 23 0 0 0.26s
✅ DOCKERFILE hadolint 3 0 0 0.25s
✅ JSON npm-package-json-lint yes no no 0.51s
✅ JSON prettier 21 3 0 0 0.67s
✅ JSON v8r 21 0 0 10.72s
✅ MARKDOWN markdownlint 12 0 0 0 1.19s
✅ MARKDOWN markdown-table-formatter 12 0 0 0 0.33s
✅ REPOSITORY checkov yes no no 25.58s
✅ REPOSITORY gitleaks yes no no 0.92s
✅ REPOSITORY git_diff yes no no 0.02s
✅ REPOSITORY grype yes no no 45.9s
✅ REPOSITORY secretlint yes no no 2.08s
✅ REPOSITORY syft yes no no 2.5s
✅ REPOSITORY trivy yes no no 14.52s
✅ REPOSITORY trivy-sbom yes no no 0.4s
✅ REPOSITORY trufflehog yes no no 6.05s
⚠️ SPELL lychee 83 1 0 23.17s
✅ YAML prettier 31 0 0 0 1.2s
✅ YAML v8r 31 0 0 13.15s
✅ YAML yamllint 31 0 0 1.38s

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:

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

MegaLinter is graciously provided by OX Security
Show us your support by starring ⭐ the repository

@github-actions
Copy link
Copy Markdown
Contributor

github-actions bot commented Apr 3, 2026

📦 Container Size Analysis

Note

Comparing ghcr.io/philips-software/amp-devcontainer-base:edgeghcr.io/philips-software/amp-devcontainer-base:pr-1227

📈 Size Comparison Table

OS/Platform Previous Current Change Trend
linux/amd64 145.23 MB 72.35 MB 72.88 MB (-50.18%) 🔽
linux/arm64 137.54 MB 70.68 MB 66.86 MB (-48.61%) 🔽

@github-actions
Copy link
Copy Markdown
Contributor

github-actions bot commented Apr 3, 2026

Test Results

 13 files  ±0   13 suites  ±0   18m 51s ⏱️ +32s
 33 tests ±0   33 ✅ ±0  0 💤 ±0  0 ❌ ±0 
137 runs  ±0  137 ✅ ±0  0 💤 ±0  0 ❌ ±0 

Results for commit da333af. ± Comparison against base commit deacab1.

♻️ This comment has been updated with latest results.

@github-actions
Copy link
Copy Markdown
Contributor

github-actions bot commented Apr 9, 2026

📦 Container Size Analysis

Note

Comparing ghcr.io/philips-software/amp-devcontainer-rust:edgeghcr.io/philips-software/amp-devcontainer-rust:pr-1227

📈 Size Comparison Table

OS/Platform Previous Current Change Trend
linux/amd64 455.72 MB 469.23 MB +13.51 MB (+2.96%) 🔼
linux/arm64 408.89 MB 420.46 MB +11.56 MB (+2.83%) 🔼

@github-actions
Copy link
Copy Markdown
Contributor

github-actions bot commented Apr 9, 2026

📦 Container Size Analysis

Note

Comparing ghcr.io/philips-software/amp-devcontainer-cpp:edgeghcr.io/philips-software/amp-devcontainer-cpp:pr-1227

📈 Size Comparison Table

OS/Platform Previous Current Change Trend
linux/amd64 544.88 MB 545.43 MB +547.99 kB (+0.1%) 🔼
linux/arm64 526.43 MB 524.78 MB 1.65 MB (-0.31%) 🔽

@rjaegers Ron (rjaegers) temporarily deployed to acceptance-testing April 9, 2026 07:13 — with GitHub Actions Inactive
@sonarqubecloud
Copy link
Copy Markdown

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant