mirror of
https://github.com/microsoft/mcp.git
synced 2026-11-04 12:01:31 +00:00
Fixes Docker image (#301)
* Update SDK and runtime version * Add CHANGELOG.
This commit is contained in:
1 parent
7b46c4cb7a
commit
39c88437a7
3 files changed
+6
-2
No files matched your search
@@ -8,6 +8,8 @@
|
||||
|
||||
### Bugs Fixed
|
||||
|
||||
- Fixed failure starting Docker image. https://github.com/Azure/azure-mcp/pull/301
|
||||
|
||||
### Other Changes
|
||||
|
||||
## 0.1.2 (2025-06-03)
|
||||
|
||||
+3
-2
@@ -1,5 +1,6 @@
|
||||
# Use the official .NET SDK image as the build image
|
||||
FROM mcr.microsoft.com/dotnet/sdk:9.0.102-bookworm-slim AS build
|
||||
# Verify the SDK and runtime versions match the ones in global.json
|
||||
FROM mcr.microsoft.com/dotnet/sdk:9.0.300-bookworm-slim AS build
|
||||
WORKDIR /src
|
||||
|
||||
COPY . .
|
||||
@@ -9,7 +10,7 @@ FROM build AS publish
|
||||
RUN pwsh "eng/scripts/Build-Module.ps1" -OutputPath /app/publish -OperatingSystem Linux -Architecture x64
|
||||
|
||||
# Build the runtime image
|
||||
FROM mcr.microsoft.com/dotnet/aspnet:9.0-bookworm-slim AS runtime
|
||||
FROM mcr.microsoft.com/dotnet/aspnet:9.0.5-bookworm-slim AS runtime
|
||||
WORKDIR /app
|
||||
|
||||
# Install Azure CLI and required dependencies
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
{
|
||||
"sdk": {
|
||||
// Keep this version in sync with the .NET SDK version used in the Dockerfile
|
||||
"version": "9.0.300",
|
||||
"rollForward": "feature"
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user