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 KUBE_RELEASE=v1.30.2
|
||||||
ARG YQ_VERSION=v4.44.2
|
ARG YQ_VERSION=v4.44.2
|
||||||
ARG NODE_VERSION=20.x
|
ARG NODE_VERSION=20.x
|
||||||
|
ARG PNPM_VERSION=v9.5.0
|
||||||
|
|
||||||
RUN set -eux; \
|
RUN set -eux; \
|
||||||
apt-get update; \
|
apt-get update; \
|
||||||
|
@ -35,6 +36,8 @@ RUN set -eux; \
|
||||||
; \
|
; \
|
||||||
curl --silent --location "https://deb.nodesource.com/setup_$NODE_VERSION" | bash; \
|
curl --silent --location "https://deb.nodesource.com/setup_$NODE_VERSION" | bash; \
|
||||||
apt-get install -y --no-install-recommends nodejs; \
|
apt-get install -y --no-install-recommends nodejs; \
|
||||||
|
corepack install --global pnpm@$PNPM_VERSION; \
|
||||||
|
corepack enable pnpm; \
|
||||||
rm -rf /var/lib/apt/lists/*
|
rm -rf /var/lib/apt/lists/*
|
||||||
|
|
||||||
# References:
|
# References:
|
||||||
|
|
|
@ -9,5 +9,6 @@ Common docker image used for running application builds, CI pipelines, and deplo
|
||||||
- `git`
|
- `git`
|
||||||
- `kubectl`
|
- `kubectl`
|
||||||
- `node`
|
- `node`
|
||||||
|
- `pnpm`
|
||||||
- `ssh`
|
- `ssh`
|
||||||
- `yq` - https://github.com/mikefarah/yq
|
- `yq` - https://github.com/mikefarah/yq
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue