Skip to content

build(container): upgrade runtime to .NET 8 and refresh SSL dependencies - #5

Open
tpanchal-iclr wants to merge 2 commits into
SQLDBAWithABeard:mainfrom
inteliclear:engineering/audit-and-fix-2026-compatibility
Open

build(container): upgrade runtime to .NET 8 and refresh SSL dependencies#5
tpanchal-iclr wants to merge 2 commits into
SQLDBAWithABeard:mainfrom
inteliclear:engineering/audit-and-fix-2026-compatibility

Conversation

@tpanchal-iclr

Copy link
Copy Markdown

This PR implements a comprehensive architectural upgrade to ensure the repository remains stable, secure, and portable through 2026 and beyond.

Key Changes

🏗️ Infrastructure & Runtime

  • Modernized Runtime: Upgraded base images to .NET 8 LTS.
  • Dependency Refresh: Updated SSL and system libraries (libssl-dev, libicu-dev) to meet modern Linux standards.
  • Docker Portability: Removed all hardcoded host-machine paths in docker-compose.yml files. Replaced them with the `${DBATOOLS_DATA_PATH}` environment variable and provided a .env.template.

🛡️ The 'Environment Contract' (PowerShell)

  • Deterministic Module Loading: Introduced lib/init_environment.ps1.
  • Eliminated Fragility: Removed all relative path imports (.\dbachecks.psd1) across the entire repository (including Archive folders).
  • Contract Implementation: Notebooks now use the DBACHECKS_REPO_ROOT environment variable to resolve modules, making them immune to directory moves or kernel launch variations.

🧹 Dependency Cleanup

  • Version Decoupling: Removed hardcoded NuGet version pins in setup notebooks to allow for seamless security updates.

Verification Performed

  • Global Scan: Verified zero instances of relative Import-Module commands remain.
  • JSON Integrity: All refactored .ipynb files were validated as valid JSON.
  • Contract Test: Verified init_environment.ps1 handles both Development (explicit root) and Runtime (system path) modes correctly.
  • Docker Test: Verified variable interpolation in compose files.

Contributor: Engineering Assistant
Target: main branch" `

tpanchal-iclr and others added 2 commits August 20, 2026 13:05
…tstrap script

Adds lib/init_environment.ps1 to resolve the dbachecks module in dev
and runtime/container modes, and updates notebook outputs/metadata
across the dbachecks-PR and dotNETNotebooks trees for 2026 compatibility.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_0199AhSYKNESkwuJHXz6nFHe
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