Skip to content

Update devcontainer kubectl installation to use supported release downloads#66

Merged
chefgs merged 11 commits intomainfrom
copilot/analyse-dev-container-loading-failure
Apr 15, 2026
Merged

Update devcontainer kubectl installation to use supported release downloads#66
chefgs merged 11 commits intomainfrom
copilot/analyse-dev-container-loading-failure

Conversation

Copy link
Copy Markdown
Contributor

Copilot AI commented Apr 15, 2026

This pull request updates the .devcontainer/Dockerfile to enhance tool installation flexibility, improve reliability, and allow easier version management for several development tools. The changes include parameterizing more tool versions, updating installation methods for key tools to be more robust and secure, and fixing repository URLs.

Tool installation improvements:

  • Parameterized the OS and architecture for tool downloads using TARGETOS and TARGETARCH build arguments, enabling multi-architecture builds.
  • Added version arguments for KIND, SONAR_SCANNER, and PMD, making it easier to update these tools without modifying the script logic. [1] [2]

Tool installation method updates:

  • Updated kubectl installation to fetch the latest stable version dynamically, verify checksums, and use the new architecture parameters for safer and more flexible installs.
  • Changed kind installation to use the version and architecture parameters, improving consistency and reliability.
  • Improved sonar-scanner and pmd installations to leverage the new version arguments and ensure clean, repeatable installs. [1] [2]

Repository and source updates:

  • Updated Grafana’s GPG key and repository URLs to their latest endpoints, ensuring continued access to official packages.- [x] Inspect the devcontainer Dockerfile and current failing installation steps
  • Install local test dependencies and capture a baseline for devcontainer-related checks
  • Audit all external installation URLs referenced by the devcontainer Dockerfile
  • Update outdated or broken installation URLs and related extraction logic in the Dockerfile
  • Run targeted devcontainer tests plus focused Docker builds for the updated install paths

Copilot AI and others added 8 commits April 15, 2026 08:15
Copilot AI requested a review from chefgs April 15, 2026 09:23
@chefgs chefgs marked this pull request as ready for review April 15, 2026 09:58
@chefgs chefgs merged commit 6115213 into main Apr 15, 2026
8 checks passed
@chefgs chefgs deleted the copilot/analyse-dev-container-loading-failure branch April 15, 2026 09:58
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.

2 participants