🐳 Docker image to run .NET 9 in Azure Pipelines container jobs. The image contains also Docker CLI to access Docker engine on the agent.
This image can be used to run .NET 9 in Azure Pipelines container jobs.
To use the image in an Azure Pipelines Container Job, add one of the following example tasks and use it with the container
property.
The following example shows the container used for a deployment step which shows .NET version:
- stage: deploy
jobs:
- deployment: runDotNet
container: swissgrc/azure-pipelines-dotnet:9
environment: smarthotel-dev
strategy:
runOnce:
deploy:
steps:
- bash: |
dotnet --version
Tag | Description | Base Image | .NET SDK | Size |
---|---|---|---|---|
latest | Latest stable release (from main branch) |
swissgrc/azure-piplines-git:2.47.0 | 9.0.100 | |
9 | Identical to latest tag |
|||
unstable | Latest unstable release (from develop branch) |
swissgrc/azure-piplines-git:2.47.0 | 9.0.100 | |
9-unstable | Identical to unstable tag |
|||
9.0.100 | .NET SDK 9.0.100 | swissgrc/azure-piplines-git:2.47.0 | 9.0.100 |