Skip to content

Commit

Permalink
Install the latest version of npm
Browse files Browse the repository at this point in the history
Currently running into an issue installing dependencies with `npm` from the Debian Arm64 image. See if installing the latest version of `npm` addresses the issue.
  • Loading branch information
justinvp committed Apr 4, 2024
1 parent 9deae9c commit 4b3de37
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
3 changes: 2 additions & 1 deletion docker/nodejs/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,8 @@ RUN apt-get update -y && \
apt-get install -y \
curl \
git \
ca-certificates
ca-certificates && \
npm install -g [email protected]

# Uses the workdir, copies from pulumi interim container
COPY --from=builder /root/.pulumi/bin/pulumi /pulumi/bin/pulumi
Expand Down
1 change: 1 addition & 0 deletions docker/nodejs/Dockerfile.ubi
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ RUN microdnf install -y \
tar \
nodejs \
ca-certificates && \
npm install -g [email protected] && \
npm install -g yarn

# Uses the workdir, copies from pulumi interim container
Expand Down

0 comments on commit 4b3de37

Please sign in to comment.