Skip to content

Commit

Permalink
fix(aws-lambda-nodejs): pin the esbuild minor version
Browse files Browse the repository at this point in the history
  • Loading branch information
xazhao committed Jul 1, 2024
1 parent 4ceeced commit def2f9a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion packages/aws-cdk-lib/aws-lambda-nodejs/lib/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,8 @@ RUN npm install --global typescript

# Install esbuild
# (unsafe-perm because esbuild has a postinstall script)
ARG ESBUILD_VERSION=0
# pin the minor version to 0.21 to prevert breaking change
ARG ESBUILD_VERSION=0.21
RUN npm install --global --unsafe-perm=true esbuild@$ESBUILD_VERSION

# Ensure all users can write to npm cache
Expand Down

0 comments on commit def2f9a

Please sign in to comment.