Add pnpm to builder image
This commit is contained in:
parent
3604d89d6f
commit
940508eb38
2 changed files with 4 additions and 0 deletions
|
@ -3,6 +3,7 @@ FROM debian:bookworm
|
|||
ARG KUBE_RELEASE=v1.30.2
|
||||
ARG YQ_VERSION=v4.44.2
|
||||
ARG NODE_VERSION=20.x
|
||||
ARG PNPM_VERSION=v9.5.0
|
||||
|
||||
RUN set -eux; \
|
||||
apt-get update; \
|
||||
|
@ -35,6 +36,8 @@ RUN set -eux; \
|
|||
; \
|
||||
curl --silent --location "https://deb.nodesource.com/setup_$NODE_VERSION" | bash; \
|
||||
apt-get install -y --no-install-recommends nodejs; \
|
||||
corepack install --global pnpm@$PNPM_VERSION; \
|
||||
corepack enable pnpm; \
|
||||
rm -rf /var/lib/apt/lists/*
|
||||
|
||||
# References:
|
||||
|
|
|
@ -9,5 +9,6 @@ Common docker image used for running application builds, CI pipelines, and deplo
|
|||
- `git`
|
||||
- `kubectl`
|
||||
- `node`
|
||||
- `pnpm`
|
||||
- `ssh`
|
||||
- `yq` - https://github.com/mikefarah/yq
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue