https://github.com/swissgrc/docker-azure-pipelines-dotnet-8
🐳 Docker image for running .NET 8 in an Azure Pipelines container job
https://github.com/swissgrc/docker-azure-pipelines-dotnet-8
azure-devops azure-pipelines docker dotnet hacktoberfest
Last synced: about 2 months ago
JSON representation
🐳 Docker image for running .NET 8 in an Azure Pipelines container job
- Host: GitHub
- URL: https://github.com/swissgrc/docker-azure-pipelines-dotnet-8
- Owner: swissgrc
- License: mit
- Created: 2023-12-04T21:38:55.000Z (over 1 year ago)
- Default Branch: develop
- Last Pushed: 2025-02-12T09:26:01.000Z (3 months ago)
- Last Synced: 2025-02-12T10:31:27.327Z (3 months ago)
- Topics: azure-devops, azure-pipelines, docker, dotnet, hacktoberfest
- Language: Dockerfile
- Homepage: https://hub.docker.com/r/swissgrc/azure-pipelines-dotnet
- Size: 59.6 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
- Codeowners: .github/CODEOWNERS
Awesome Lists containing this project
README
# Docker image for running .NET 8 in an Azure Pipelines container job
[](https://github.com/swissgrc/docker-azure-pipelines-dotnet-8/blob/main/LICENSE) [](https://github.com/swissgrc/docker-azure-pipelines-dotnet-8/actions/workflows/publish.yml) [](https://sonarcloud.io/summary/new_code?id=swissgrc_docker-azure-pipelines-dotnet-8) [](https://hub.docker.com/r/swissgrc/azure-pipelines-dotnet) [](https://hub.docker.com/r/swissgrc/azure-pipelines-dotnet)
🐳 Docker image to run .NET 8 in [Azure Pipelines container jobs].
The image contains also Docker CLI to access Docker engine on the agent.## Usage
This image can be used to run .NET 8 in [Azure Pipelines container jobs].
### Azure Pipelines Container Job
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:
```yaml
- stage: deploy
jobs:
- deployment: runDotNet
container: swissgrc/azure-pipelines-dotnet:8
environment: smarthotel-dev
strategy:
runOnce:
deploy:
steps:
- bash: |
dotnet --version
```## Included Software
- [swissgrc/azure-pipelines-git](https://github.com/swissgrc/docker-azure-pipelines-git) as base image
- .NET 8 SDK## Tags
| 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 | |[Azure Pipelines container jobs]: https://docs.microsoft.com/en-us/azure/devops/pipelines/process/container-phases