Skip to content

chore: add checksum to umbrella certificate#1089

Merged
Ron (rjaegers) merged 3 commits into
mainfrom
chore/add-checksum-to-umbrella-certificate
Jan 22, 2026
Merged

chore: add checksum to umbrella certificate#1089
Ron (rjaegers) merged 3 commits into
mainfrom
chore/add-checksum-to-umbrella-certificate

Conversation

@rjaegers
Copy link
Copy Markdown
Member

🚀 Hey, I have created a Pull Request

Description of changes

This pull request updates the .devcontainer/base/Dockerfile and related configuration to improve how the Cisco Umbrella root certificate is added and referenced in the development container. The changes streamline certificate installation, update the certificate filename for consistency, and refactor related build steps for clarity and maintainability.

Certificate Management Improvements:

  • The Cisco Umbrella root certificate is now downloaded directly into the image using the ADD instruction with a checksum, ensuring integrity and making the build more reproducible. (.devcontainer/base/Dockerfile)
  • The certificate installation steps have been refactored: the certificate is copied from the build context and registered in the system's trusted certificates directory in a more structured way, replacing the previous wget approach. (.devcontainer/base/Dockerfile)

Configuration Consistency:

  • The environment variable NODE_EXTRA_CA_CERTS in devcontainer.json has been updated to match the new certificate filename (cisco-umbrella-root.crt), ensuring Node.js processes use the correct certificate file. (.devcontainer/cpp/devcontainer.json)

Dockerfile Refactoring:

  • The main RUN step in the Dockerfile is now wrapped in a heredoc (<<EOF), improving readability and grouping related setup commands together. (.devcontainer/base/Dockerfile)
  • Minor improvements to the installation of dependencies and tools, aligning the steps for better maintainability and clarity. (.devcontainer/base/Dockerfile)

✔️ 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

@rjaegers Ron (rjaegers) requested a review from a team as a code owner January 21, 2026 19:16
Copilot AI review requested due to automatic review settings January 21, 2026 19:16
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR enhances certificate management in the base development container by adding checksum verification for the Cisco Umbrella root certificate and refactoring the Dockerfile for improved maintainability. The changes ensure build reproducibility and security by verifying certificate integrity during the build process.

Changes:

  • Added checksum verification when downloading the Cisco Umbrella root certificate
  • Updated certificate filename to use kebab-case (cisco-umbrella-root.crt) for consistency
  • Refactored Dockerfile using heredoc syntax to group related commands and improve readability

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 2 comments.

File Description
.devcontainer/base/Dockerfile Added checksummed certificate download and consolidated RUN commands into heredoc block
.devcontainer/cpp/devcontainer.json Updated NODE_EXTRA_CA_CERTS environment variable to reference new certificate filename

Comment thread .devcontainer/cpp/devcontainer.json Outdated
Comment thread .devcontainer/base/Dockerfile
@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented Jan 21, 2026

📦 Container Size Analysis

Note

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

📈 Size Comparison Table

OS/Platform Previous Current Change Trend
linux/amd64 167.86 MB 167.73 MB 132.47 kB (-0.08%) 🔽
linux/arm64 160.87 MB 160.76 MB 110.64 kB (-0.07%) 🔽

@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented Jan 21, 2026

⚠️MegaLinter analysis: Success with warnings

Descriptor Linter Files Fixed Errors Warnings Elapsed time
✅ ACTION actionlint 20 0 0 0.52s
✅ DOCKERFILE hadolint 3 0 0 0.74s
✅ GHERKIN gherkin-lint 6 0 0 2.37s
✅ JSON npm-package-json-lint yes no no 0.46s
✅ JSON prettier 21 4 0 0 0.41s
✅ JSON v8r 21 0 0 7.43s
✅ MARKDOWN markdownlint 11 0 0 0 0.92s
✅ MARKDOWN markdown-table-formatter 11 0 0 0 0.27s
✅ REPOSITORY checkov yes no no 17.08s
✅ REPOSITORY gitleaks yes no no 0.5s
✅ REPOSITORY git_diff yes no no 0.01s
✅ REPOSITORY grype yes no no 28.23s
✅ REPOSITORY secretlint yes no no 0.89s
✅ REPOSITORY syft yes no no 1.91s
✅ REPOSITORY trivy yes no no 5.93s
✅ REPOSITORY trivy-sbom yes no no 0.23s
✅ REPOSITORY trufflehog yes no no 2.29s
⚠️ SPELL lychee 79 2 0 33.43s
✅ YAML prettier 28 0 0 0 1.1s
✅ YAML v8r 28 0 0 7.56s
✅ YAML yamllint 28 0 0 0.93s

Detailed Issues

⚠️ SPELL / lychee - 2 errors
[IGNORED] docker://pandoc/extra:3.7.0@sha256:a703d335fa237f8fc3303329d87e2555dca5187930da38bfa9010fa4e690933a | Unsupported: Error creating request client: builder error for url (docker://pandoc/extra:3.7.0@sha256:a703d335fa237f8fc3303329d87e2555dca5187930da38bfa9010fa4e690933a)
[ERROR] https://www.contributor-covenant.org/ | Network error: error sending request for url (https://www.contributor-covenant.org/) Maybe a certificate error?
[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..........127
✅ Successful.....123
⏳ Timeouts.........0
🔀 Redirected.......0
👻 Excluded.........0
❓ Unknown..........0
🚫 Errors...........2

Errors in .github/CODE_OF_CONDUCT.md
[ERROR] https://www.contributor-covenant.org/ | Network error: error sending request for url (https://www.contributor-covenant.org/) Maybe a certificate error?

Errors in .github/workflows/issue-creation-tool-versions.yml
[403] https://developer.arm.com/downloads/-/arm-gnu-toolchain-downloads | Network error: Forbidden

See detailed reports in MegaLinter artifacts

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.3.0 --custom-flavor-setup --custom-flavor-linters ACTION_ACTIONLINT,DOCKERFILE_HADOLINT,GHERKIN_GHERKIN_LINT,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

Comment thread .devcontainer/cpp/devcontainer.json
@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented Jan 21, 2026

📦 Container Size Analysis

Note

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

📈 Size Comparison Table

OS/Platform Previous Current Change Trend
linux/amd64 548.27 MB 548.14 MB 132.75 kB (-0.02%) 🔽
linux/arm64 502.98 MB 502.87 MB 110.73 kB (-0.02%) 🔽

@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented Jan 21, 2026

📦 Container Size Analysis

Note

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

📈 Size Comparison Table

OS/Platform Previous Current Change Trend
linux/amd64 683.86 MB 683.73 MB 131.81 kB (-0.02%) 🔽
linux/arm64 665.79 MB 665.68 MB 110.73 kB (-0.02%) 🔽

@rjaegers Ron (rjaegers) changed the title chore: add checksum to umbralla certificate chore: add checksum to umbrella certificate Jan 21, 2026
@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented Jan 21, 2026

Test Results

 7 files  +2   7 suites  +2   5m 49s ⏱️ + 2m 5s
33 tests +1  33 ✅ +1  0 💤 ±0  0 ❌ ±0 
69 runs  +2  69 ✅ +2  0 💤 ±0  0 ❌ ±0 

Results for commit 1708857. ± Comparison against base commit ff00368.

♻️ This comment has been updated with latest results.

@sonarqubecloud
Copy link
Copy Markdown

@rjaegers Ron (rjaegers) added this pull request to the merge queue Jan 22, 2026
Merged via the queue into main with commit f42f104 Jan 22, 2026
42 checks passed
@rjaegers Ron (rjaegers) deleted the chore/add-checksum-to-umbrella-certificate branch January 22, 2026 08:48
@github-actions
Copy link
Copy Markdown
Contributor

Pull Request Report (#1089)

Static measures

Description Value
Number of added lines 40
Number of deleted lines 20
Number of changed files 4
Number of commits 3
Number of reviews 4
Number of comments (w/o review comments) 6
Number of reviews that contains a comment to resolve 3
Number of reviews that requested a change from the author 0
Number of reviews that approved the Pull Request 1
Get the total number of participants of a Pull Request 6

Time related measures

Description Value
PR lead time (from creation to close of PR) 13.5 Hours
Time that was spend on the branch before the PR was created 1.7 Min
Time that was spend on the branch before the PR was merged 13.6 Hours
Time to merge after last review 17.9 Min

Status check related measures

Description Value
Total runtime for last status check run (Workflow for PR) 47.4 Min
Total time spend in last status check run on PR 19.9 Min

@github-actions
Copy link
Copy Markdown
Contributor

🎉 Hooray! The changes in this pull request went live with the release of v6.7.1 🎉

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.

3 participants