An open API service indexing awesome lists of open source software.

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

Awesome Lists containing this project

README

        

# Docker image for running .NET 8 in an Azure Pipelines container job

[![License](https://img.shields.io/badge/license-MIT-blue.svg?style=flat-square)](https://github.com/swissgrc/docker-azure-pipelines-dotnet-8/blob/main/LICENSE) [![Build](https://img.shields.io/github/actions/workflow/status/swissgrc/docker-azure-pipelines-dotnet-8/publish.yml?branch=develop&style=flat-square)](https://github.com/swissgrc/docker-azure-pipelines-dotnet-8/actions/workflows/publish.yml) [![Quality Gate Status](https://sonarcloud.io/api/project_badges/measure?project=swissgrc_docker-azure-pipelines-dotnet-8&metric=alert_status)](https://sonarcloud.io/summary/new_code?id=swissgrc_docker-azure-pipelines-dotnet-8) [![Pulls](https://img.shields.io/docker/pulls/swissgrc/azure-pipelines-dotnet.svg?style=flat-square)](https://hub.docker.com/r/swissgrc/azure-pipelines-dotnet) [![Stars](https://img.shields.io/docker/stars/swissgrc/azure-pipelines-dotnet.svg?style=flat-square)](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) | ![Docker Image Size (tag)](https://img.shields.io/docker/image-size/swissgrc/azure-pipelines-dotnet/8?style=flat-square) |
| 8-unstable | Latest unstable release (from `develop` branch) | ![Docker Image Size (tag)](https://img.shields.io/docker/image-size/swissgrc/azure-pipelines-dotnet/8-unstable?style=flat-square) |
| 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