Skip to content

#302 Upgrade Docker base image and install libc6-compat#651

Merged
conniey merged 6 commits into
microsoft:mainfrom
jason-johnson:main
Oct 2, 2025
Merged

#302 Upgrade Docker base image and install libc6-compat#651
conniey merged 6 commits into
microsoft:mainfrom
jason-johnson:main

Conversation

@jason-johnson
Copy link
Copy Markdown
Contributor

@jason-johnson jason-johnson commented Oct 1, 2025

Updated base image to .NET 10.0-alpine and added libc6-compat.

Solves #302

What does this PR do?

  • This clears nearly all the CVE alerts
  • Decreases Docker image size from 710MB to 570MB

GitHub issue number?

#302

Updated base image to .NET 10.0-alpine and added libc6-compat.

Solves microsoft#302
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 upgrades the Docker base image from .NET 9.0.8-bookworm-slim to .NET 10.0-alpine and adds the libc6-compat package to address CVE security alerts as described in issue #302.

Key changes:

  • Updated base Docker image to use .NET 10.0 Alpine Linux variant
  • Added libc6-compat package installation to ensure compatibility

Copy link
Copy Markdown
Member

@joshfree joshfree left a comment

Choose a reason for hiding this comment

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

Please add an entry to CHANGELOG.md too

@joshfree joshfree added server-Azure.Mcp Azure.Mcp.Server packages-Docker Docker container / setup installer labels Oct 1, 2025
Copy link
Copy Markdown
Member

@conniey conniey left a comment

Choose a reason for hiding this comment

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

Thank you!

@github-project-automation github-project-automation Bot moved this from Untriaged to In Progress in Azure MCP Server Oct 2, 2025
@conniey
Copy link
Copy Markdown
Member

conniey commented Oct 2, 2025

/azp run mcp - pullrequest - live

@azure-pipelines
Copy link
Copy Markdown

Azure Pipelines successfully started running 1 pipeline(s).

@conniey conniey merged commit 4cccf26 into microsoft:main Oct 2, 2025
26 checks passed
@github-project-automation github-project-automation Bot moved this from In Progress to Done in Azure MCP Server Oct 2, 2025
@TC-Cl
Copy link
Copy Markdown

TC-Cl commented Oct 3, 2025

@jason-johnson , #302 (comment)

colbytimm pushed a commit to colbytimm/microsoft-mcp that referenced this pull request Dec 8, 2025
…rosoft#651)

* microsoft#302 Upgrade Docker base image and install libc6-compat

Updated base image to .NET 10.0-alpine and added libc6-compat.

Solves microsoft#302

* Fix regex parsing for version number in dockerfile

* Update CHANGELOG.

* Don't cache package

---------

Co-authored-by: Connie Yau <conniey@microsoft.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

packages-Docker Docker container / setup installer server-Azure.Mcp Azure.Mcp.Server

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

6 participants