Docker image to run Node.js commands in Azure Pipelines container jobs.
This image can be used to run Node.js commands in Azure Pipelines container jobs.
The following software is additionally available in the image:
Software | Included since |
---|---|
Docker CLI | 20.9.0 |
Git | 20.9.0 |
.NET 7 | 20.9.0 |
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 with a Azure CLI command:
- stage: deploy
jobs:
- deployment: runAzureCLI
container: swissgrc/azure-pipelines-node:latest-20-net7
environment: smarthotel-dev
strategy:
runOnce:
deploy:
steps:
- bash: |
node --version
Tag | Description | Base Image | Node.js | Yarn | Size |
---|---|---|---|---|---|
latest-20-net7 | Latest stable release (from main branch) |
swissgrc/azure-pipelines-dotnet:7.0.409 | 20.13.1 | 1.22.22 | |
unstable-20-net7 | Latest unstable release (from develop branch) |
swissgrc/azure-pipelines-dotnet:7.0.409 | 20.14.0 | 1.22.22 | |
20.9.0-net7 | Node.js 20.9.0 | swissgrc/azure-pipelines-dotnet:7.0.402 | 20.9.0 | N/A | |
20.10.0-net7 | Node.js 20.10.0 | swissgrc/azure-pipelines-dotnet:7.0.403 | 20.10.0 | 1.22.21 | |
20.11.0-net7 | Node.js 20.11.0 | swissgrc/azure-pipelines-dotnet:7.0.405 | 20.11.0 | 1.22.21 | |
20.11.1-net7 | Node.js 20.11.1 | swissgrc/azure-pipelines-dotnet:7.0.406 | 20.11.1 | 1.22.21 | |
20.12.0-net7 | Node.js 20.12.0 | swissgrc/azure-pipelines-dotnet:7.0.407 | 20.12.0 | 1.22.22 | |
20.12.1-net7 | Node.js 20.12.1 | swissgrc/azure-pipelines-dotnet:7.0.407 | 20.12.1 | 1.22.22 | |
20.12.2-net7 | Node.js 20.12.2 | swissgrc/azure-pipelines-dotnet:7.0.408 | 20.12.2 | 1.22.22 | |
20.13.0-net7 | Node.js 20.13.0 | swissgrc/azure-pipelines-dotnet:7.0.408 | 20.13.0 | 1.22.22 | |
20.13.1-net7 | Node.js 20.13.1 | swissgrc/azure-pipelines-dotnet:7.0.409 | 20.13.1 | 1.22.22 |