Skip to content

Commit 3565b6f

Browse files
authored
Install the latest version of npm (#190)
We're currently running into an issue installing dependencies with `npm` from the Debian Arm64 image, which is blocking releasing v3.112.0 of the images. Installing the latest version of `npm` addresses the problem.
1 parent 9deae9c commit 3565b6f

File tree

3 files changed

+8
-1
lines changed

3 files changed

+8
-1
lines changed

CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,10 @@
11
# CHANGELOG
22

3+
## 3.112.0
4+
5+
- Install the latest version of `npm` in the `pulumi/nodejs` image
6+
([#190](https://github.com/pulumi/pulumi-docker-containers/pull/190))
7+
38
## 3.87.0
49

510
- Upgrade Go to 1.21.1. ([#159](https://github.com/pulumi/pulumi-docker-containers/pull/159))

docker/nodejs/Dockerfile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,8 @@ RUN apt-get update -y && \
2424
apt-get install -y \
2525
curl \
2626
git \
27-
ca-certificates
27+
ca-certificates && \
28+
npm install -g [email protected]
2829

2930
# Uses the workdir, copies from pulumi interim container
3031
COPY --from=builder /root/.pulumi/bin/pulumi /pulumi/bin/pulumi

docker/nodejs/Dockerfile.ubi

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ RUN microdnf install -y \
2525
tar \
2626
nodejs \
2727
ca-certificates && \
28+
npm install -g [email protected] && \
2829
npm install -g yarn
2930

3031
# Uses the workdir, copies from pulumi interim container

0 commit comments

Comments
 (0)