HUB
Sign inSign up
pulumi-nodejs logo

pulumi/pulumi-nodejs

By pulumi

•Updated 2 days ago

Pulumi CLI with Node.js 26, for TypeScript and JavaScript programs.

Image
9

1M+

pulumi/pulumi-nodejs repository overview

⁠pulumi/pulumi-nodejs

Pulumi IaC: infrastructure as code in any programming language.

Pulumi IaC⁠ is an open-source infrastructure as code tool for creating, deploying, and managing cloud infrastructure on any cloud. Write your infrastructure in TypeScript, JavaScript, Python, Go, C#, Java, or YAML, and use the loops, functions, classes, testing tools, and package managers you already know.

⁠About this image

A slim image that contains the Pulumi CLI and Node.js, for running Pulumi programs written in TypeScript or JavaScript.

It contains:

  • The Pulumi CLI and the Node.js and Bun language runtimes.
  • Node.js, with npm, Yarn, pnpm, Bun, and Corepack.
  • git and curl.

⁠Node.js versions

pulumi/pulumi-nodejs ships Node.js 26. To use a different version of Node.js, use the image for that version instead:

ImageNode.js version
pulumi/pulumi-nodejsNode.js 26
pulumi/pulumi-nodejs-22Node.js 22
pulumi/pulumi-nodejs-24Node.js 24
pulumi/pulumi-nodejs-26Node.js 26 (default)

The versions on offer follow the supported releases of Node.js. When the default changes, pulumi/pulumi-nodejs moves to the new version, so pin an image with a version in its name if you need to stay on a specific one.

⁠Tags and platforms

Each Pulumi release is published under these tags, where <version> is the Pulumi CLI version, for example 3.200.0:

TagBase imagePlatforms
<version>, latestDebian 13 (trixie) slimlinux/amd64, linux/arm64
<version>-debianDebian 13 (trixie) slimlinux/amd64, linux/arm64
<version>-debian-amd64Debian 13 (trixie) slimlinux/amd64
<version>-debian-arm64Debian 13 (trixie) slimlinux/arm64
<version>-ubiRed Hat UBI 9 minimal⁠linux/amd64

Tags without a suffix are the same image as the -debian tag. The -debian tag is a multi-platform manifest list, so docker pull selects the right image for your machine. UBI images use microdnf⁠ as their package manager.

⁠Usage

Mount your Pulumi project into the container and run Pulumi commands against it:

docker run --rm -it \
  -e PULUMI_ACCESS_TOKEN \
  -v "$(pwd)":/pulumi/projects \
  -w /pulumi/projects \
  pulumi/pulumi-nodejs \
  pulumi preview

Pass the credentials for your cloud provider as environment variables, too. This image contains only the Pulumi CLI and the tools listed above. If your program needs other tools, such as helm for the Kubernetes provider, use this image as the base for your own image and install them there. The pulumi/pulumi⁠ image includes many common tools.

⁠Registries

Every image is published to Docker Hub, the AWS ECR Public Gallery, and the GitHub Container Registry.

ImageDocker HubECR PublicGHCR
pulumi/pulumi-nodejsDocker Hub⁠ECR Public⁠GHCR⁠
pulumi/pulumi-nodejs-22Docker Hub⁠ECR Public⁠GHCR⁠
pulumi/pulumi-nodejs-24Docker Hub⁠ECR Public⁠GHCR⁠
pulumi/pulumi-nodejs-26Docker Hub⁠ECR Public⁠GHCR⁠

For example, docker pull pulumi/pulumi-nodejs, docker pull public.ecr.aws/pulumi/pulumi-nodejs, or docker pull ghcr.io/pulumi/pulumi-nodejs.

⁠Releases

Images are built and published automatically for every release of the Pulumi CLI⁠, usually once a week, with patch releases in between when needed. Image tags match the version of the Pulumi CLI they contain. For example, when Pulumi v3.200.0 is released, it's published as 3.200.0. The latest tag always points to the most recent release.

To avoid unexpected upgrades, pin your image to a specific version tag rather than latest.

Images are scanned nightly for vulnerabilities. We remediate findings where we can, on a best-effort basis. Some findings, such as vulnerabilities in base images with no available fix, are outside our control.

⁠Getting help

⁠Source

The Dockerfiles for this image are in pulumi/pulumi-docker-containers⁠.

Tag summary
Recent tags
Content type
Image
Digest
sha256:7a163f731…
Size
312.7 MB
Last updated
2 days ago
docker pull pulumi/pulumi-nodejs:latest