Skip to content

🐳 Docker image for running and building Docker images in an Azure Pipelines container job

License

Notifications You must be signed in to change notification settings

swissgrc/docker-azure-pipelines-dockercli

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Docker image for running and building Docker images in an Azure Pipelines container job

License Build Quality Gate Status Pulls Stars

Docker image to run and build Docker images in Azure Pipelines container jobs. The image contains Docker CLI and Docker Compose to access Docker engine on the agent.

Usage

This image can be used to run and build Docker images 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 Docker CLI version:

  - stage: deploy
    jobs:
      - deployment: runDotNet
        container: swissgrc/azure-pipelines-dockercli:latest
        environment: smarthotel-dev
        strategy:
          runOnce:
            deploy:
              steps:
                - bash: |
                    docker --version

Included Software

  • Debian 12 as base image
  • Docker CLI
  • Docker Compose
  • BuildX

Tags

Tag Description Size
latest Latest stable release (from main branch) Docker Image Size (tag)
unstable Latest unstable release (from develop branch) Docker Image Size (tag)
x.y.z Image for a specific version of Docker CLI