https://github.com/swissgrc/docker-azure-pipelines-node22-net8
Docker image for running Node.js 22 in an Azure Pipelines container job
https://github.com/swissgrc/docker-azure-pipelines-node22-net8
Last synced: 4 months ago
JSON representation
Docker image for running Node.js 22 in an Azure Pipelines container job
- Host: GitHub
- URL: https://github.com/swissgrc/docker-azure-pipelines-node22-net8
- Owner: swissgrc
- License: mit
- Created: 2024-06-21T13:45:47.000Z (about 1 year ago)
- Default Branch: develop
- Last Pushed: 2025-02-14T18:02:26.000Z (5 months ago)
- Last Synced: 2025-02-14T18:27:22.419Z (5 months ago)
- Language: Dockerfile
- Homepage:
- Size: 43 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
- Codeowners: .github/CODEOWNERS
Awesome Lists containing this project
README
# Docker image for running Node.js commands in an Azure Pipelines container job
[](https://github.com/swissgrc/docker-azure-pipelines-node22-net8/blob/main/LICENSE) [](https://github.com/swissgrc/docker-azure-pipelines-node22-net8/actions/workflows/publish.yml) [](https://sonarcloud.io/summary/new_code?id=swissgrc_docker-azure-pipelines-node22-net8) [](https://hub.docker.com/r/swissgrc/azure-pipelines-node) [](https://hub.docker.com/r/swissgrc/azure-pipelines-node)
Docker image to run Node.js commands in [Azure Pipelines container jobs].
## Usage
This image can be used to run Node.js commands 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 with a Azure CLI command:
```yaml
- stage: deploy
jobs:
- deployment: runAzureCLI
container: swissgrc/azure-pipelines-node:latest-22-net8
environment: smarthotel-dev
strategy:
runOnce:
deploy:
steps:
- bash: |
node --version
```## Included Software
- [swissgrc/azure-pipelines-dotnet:8](https://github.com/swissgrc/docker-azure-pipelines-dotnet-8) as base image
- Node.js 22
- Yarn## Tags
| Tag | Description | Size |
|------------------|--------------------------------------------------------|---------------------------------------------------------------------------------------------------------------------------------------|
| latest-22-net8 | Latest stable release (from `main` branch) |  |
| unstable-22-net8 | Latest unstable release (from `develop` branch) |  |
| x.y.z-net8 | Image for a specific version of Node.js | |[Azure Pipelines container jobs]: https://docs.microsoft.com/en-us/azure/devops/pipelines/process/container-phases