Skip to content

Update Docker images to stable Python - #4736

Open
LiliDeng wants to merge 2 commits into
microsoft:mainfrom
LiliDeng:feature/docker-python-3.14.7-main
Open

LiliDeng wants to merge 2 commits into
microsoft:mainfrom
LiliDeng:feature/docker-python-3.14.7-main

Conversation

@LiliDeng

Copy link
Copy Markdown
Collaborator

Update Linux and Windows Dockerfiles to install Python from the stable aka.ms aliases; build Python from source on Linux and configure its runtime path.

Description

Related Issue

Type of Change

  • Bug fix
  • New feature
  • Breaking change
  • Refactoring
  • Documentation update

Checklist

  • Description is filled in above
  • No credentials, secrets, or internal details are included
  • Peer review requested (if not, add required peer reviewers after raising PR)
  • Tests executed and results posted below

Test Validation

Key Test Cases:

Impacted LISA Features:

Tested Azure Marketplace Images:

Test Results

Image VM Size Result
PASSED / FAILED / SKIPPED

Update Linux and Windows Dockerfiles to install Python from the stable aka.ms aliases; build Python from source on Linux and configure its runtime path.
@LiliDeng LiliDeng self-assigned this Sep 29, 2026
Copilot AI balanced review requested due to automatic review settings September 29, 2026 16:55

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Copilot review overview

🟡 Changes recommended

The Linux image can fail installing libvirt dependencies and points the dev container at the wrong Python path.
Key Test Cases:
verify_docker_python_app|smoke_test

Impacted LISA Features:
None

Tested Azure Marketplace Images:

  • microsoftcblmariner azure-linux-3 azure-linux-3 latest

Review effort: Balanced
Findings: 2 Medium severity · 1 Low severity

Open (3)
What changed in this PR

Updates Linux and Windows runtime images to use stable Python aliases.

Changes:

  • Builds stable Python from source on Azure Linux.
  • Downloads the stable Windows installer via aka.ms.
File Description
installers/​Dockerfile.linux Adds source-built stable Python.
installers/​Dockerfile.windows Uses the stable Python installer alias.

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

Comment thread installers/Dockerfile.linux
Comment thread installers/Dockerfile.linux
Comment thread installers/Dockerfile.linux
Point VS Code's default interpreter at the Python 3 symlink provided by the Linux installer image.
Copilot AI balanced review requested due to automatic review settings September 30, 2026 04:38

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Copilot review overview

🔵 Needs a closer look

Both release images change their Python supply path without recorded build or runtime validation.

Key Test Cases:
smoke_test

Impacted LISA Features:
None

Tested Azure Marketplace Images:

  • microsoftcblmariner azure-linux-3 azure-linux-3-gen2 latest

Review effort: Balanced
Findings: 1 Medium severity

Open (1)
Resolved since last review (2)

This branch has not been deployed

No deployments
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