🐳 Docker image to run .NET 8 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 8 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:8
environment: smarthotel-dev
strategy:
runOnce:
deploy:
steps:
- bash: |
dotnet --version
- swissgrc/azure-pipelines-git as base image
- .NET 8 SDK
Tag | Description | Size |
---|---|---|
8 | Latest stable release (from main branch) |
|
8-unstable | Latest unstable release (from develop branch) |
|
x.y.z | Image for a specific version of .NET SDK |