Skip to content

Docker customization#747

Merged
Bionic711 merged 8 commits intomicrosoft:Developmentfrom
clarked-msft:docker-customization
Mar 10, 2026
Merged

Docker customization#747
Bionic711 merged 8 commits intomicrosoft:Developmentfrom
clarked-msft:docker-customization

Conversation

@clarked-msft
Copy link
Contributor

Fix problems with customizing CA and pip.conf from testing in customer environment.

Copilot AI review requested due to automatic review settings February 27, 2026 19:29
Copy link
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

Adds a documented and build-time mechanism to customize Docker trust (custom CA certs) and Python package installation behavior (pip.conf) for customer environments.

Changes:

  • Copy docker-customization/pip.conf into the builder image as /etc/pip.conf for pip configuration during pip install.
  • Copy docker-customization/custom-ca-certificates/ into the system trust anchors and run update-ca-trust during the build.
  • Add docs and release notes entry describing the customization workflow.

Reviewed changes

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

File Description
application/single_app/Dockerfile Uses repo-root docker-customization/ inputs to configure pip and CA trust; adds runtime cert-related env vars.
docker-customization/pip.conf Placeholder pip config file intended to be customized by deployers/customers.
docs/how-to/docker_customization.md New how-to documentation for adding custom CA certs and pip.conf.
docs/explanation/release_notes.md Adds a release note entry for Docker customization fixes.

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Copilot AI review requested due to automatic review settings February 27, 2026 19:47
Copy link
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

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

Bionic711
Bionic711 previously approved these changes Mar 2, 2026
Copy link
Collaborator

@Bionic711 Bionic711 left a comment

Choose a reason for hiding this comment

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

Looks good.

Copilot AI review requested due to automatic review settings March 5, 2026 01:22
Copy link
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

Copilot reviewed 4 out of 6 changed files in this pull request and generated 1 comment.

Bionic711
Bionic711 previously approved these changes Mar 10, 2026
Copy link
Collaborator

@Bionic711 Bionic711 left a comment

Choose a reason for hiding this comment

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

Fix the conflicts and we can merge.

Copilot AI review requested due to automatic review settings March 10, 2026 12:07
Copy link
Collaborator

@Bionic711 Bionic711 left a comment

Choose a reason for hiding this comment

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

Approved.

@Bionic711 Bionic711 merged commit 3d346ea into microsoft:Development Mar 10, 2026
5 checks passed
Copy link
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

Copilot reviewed 4 out of 6 changed files in this pull request and generated 1 comment.

Comment on lines +52 to +56
* **Docker Customization: CA Certificate and pip.conf**
* Fixed Docker customization issues related to custom CA certificate handling and `pip.conf` configuration.
* Ensures Python package installation works reliably in environments requiring custom certificate trust and pip configuration.
* (Ref: Docker customization, CA cert setup, `pip.conf` handling)

Copy link

Copilot AI Mar 10, 2026

Choose a reason for hiding this comment

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

This PR changes build/runtime behavior (Dockerfile + new customization paths), but the version isn’t bumped and the release note is being added under the existing v0.239.005 section. Per the repo’s versioning instructions, please increment VERSION in application/single_app/config.py (third segment only) and add/move this release note under the new version header at the top of release_notes.md.

Ref: .github/instructions/update_version.instructions.md

Copilot uses AI. Check for mistakes.
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