HUB
Sign inSign up
pulumi logo

pulumi/pulumi

By pulumi

•Updated 3 days ago

Pulumi CLI with every supported language runtime and common cloud tools.

Image
8

1M+

pulumi/pulumi repository overview

⁠pulumi/pulumi

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

The "kitchen sink" image: the Pulumi CLI with every supported language and a set of common cloud tools, ready to run any Pulumi program. It's about 2 GB. If you only use one language, the slim images for each language are much smaller, at 200 to 300 MB. See the full list of images⁠.

It contains:

  • The Pulumi CLI, all Pulumi language runtimes, and the OPA policy analyzer.
  • Node.js 22, 24, and 26 (default 26), managed by fnm⁠, with npm, Yarn, pnpm, Bun, and Corepack.
  • Python 3.10, 3.11, 3.12, 3.13, and 3.14 (default 3.13), managed by pyenv⁠, with pip, Poetry, and uv.
  • Go 1.26.10.
  • .NET SDK 8.0, 9.0, and 10.0.
  • OpenJDK 21.
  • Cloud and container tools: the AWS CLI, aws-iam-authenticator, the Azure CLI, the Google Cloud CLI with the GKE auth plugin, kubectl, Helm, and the Docker CLI.

⁠Tags and platforms

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

TagRuns asPlatforms
<version>, latestrootlinux/amd64, linux/arm64
<version>-amd64rootlinux/amd64
<version>-arm64rootlinux/arm64
<version>-nonroot, latest-nonrootpulumi (UID 1000)linux/amd64, linux/arm64
<version>-nonroot-amd64pulumi (UID 1000)linux/amd64
<version>-nonroot-arm64pulumi (UID 1000)linux/arm64

The image is based on Debian 13 (trixie). Tags without an architecture suffix are multi-platform manifest lists, so docker pull selects the right image for your machine.

⁠Usage

The image's entrypoint is pulumi, so pass the Pulumi command as arguments:

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

Pass the credentials for your cloud provider as environment variables, too.

⁠Choosing a language version

The pulumi/pulumi image includes several versions of Node.js, Python, and .NET. By default, it uses Node.js 26 and Python 3.13. How you select another version depends on the language.

⁠Node.js

The image uses fnm⁠ to manage Node.js versions, and comes with the latest patch releases of Node.js 22, 24, and 26 installed. To select a version, create a .node-version file in your project directory with the version you want, then run pulumi install --use-language-version-tools. This sets up the aliases for Node.js, npm, and the other Node.js tools in /usr/local/share/fnm/aliases/default/bin.

To avoid downloading Node.js on every run, specify only the major version, for example 26. This ensures that the preinstalled version is used.

If you're building your own image from pulumi/pulumi, run fnm alias <version> default to change the default version of Node.js in your image.

⁠Python

The image uses pyenv⁠ to manage Python versions, and comes with Python 3.10, 3.11, 3.12, 3.13, and 3.14 installed. To select a version, create a .python-version file in your project directory with the version you want.

To avoid downloading and building Python on every run, specify only the minor version, for example 3.13. This ensures that the preinstalled version is used.

⁠.NET

The image includes the .NET SDK 8.0, 9.0, and 10.0. The TargetFramework property in your project's .csproj or .fsproj file determines which one is used:

<Project Sdk="Microsoft.NET.Sdk">
  <PropertyGroup>
    <TargetFramework>net8.0</TargetFramework>
    ...
⁠Go

The go directive in your project's go.mod file determines the version of Go used to build your program. See Go toolchains⁠.

⁠Java

The image includes a single version of the JDK, OpenJDK 21.

⁠Registries

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

ImageDocker HubECR PublicGHCR
pulumi/pulumiDocker Hub⁠ECR Public⁠GHCR⁠

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

⁠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:36e5d50b4…
Size
3.2 GB
Last updated
3 days ago
docker pull pulumi/pulumi:latest