File tree Expand file tree Collapse file tree 1 file changed +4
-12
lines changed Expand file tree Collapse file tree 1 file changed +4
-12
lines changed Original file line number Diff line number Diff line change @@ -210,9 +210,10 @@ RUN curl https://raw.githubusercontent.com/nvm-sh/nvm/v0.40.0/install.sh | bash
210
210
RUN source $NVM_DIR/nvm.sh && \
211
211
nvm install $NODE_VERSION && \
212
212
nvm use $NODE_VERSION
213
- ENV NODE_PATH=$NVM_DIR/v$NODE_VERSION/lib/node_modules
214
- ENV PATH=$NVM_DIR/v$NODE_VERSION/bin:$PATH
215
- RUN corepack use pnpm@9.6.0 && corepack cache clean
213
+ ENV PATH=$NVM_DIR/versions/node/v$NODE_VERSION/bin:$PATH
214
+ # Allow patch updates for npm and pnpm
215
+ RUN npm install -g npm@^10.8
216
+ RUN npm install -g pnpm@^9.6
216
217
217
218
# Ensure PostgreSQL binaries are in the users $PATH.
218
219
RUN update-alternatives --install /usr/local/bin/initdb initdb /usr/lib/postgresql/16/bin/initdb 100 && \
@@ -284,15 +285,6 @@ RUN curl --silent --show-error --location --output /usr/local/bin/cloud_sql_prox
284
285
curl --silent --show-error --location "https://github.com/aquasecurity/trivy/releases/download/v${TRIVY_VERSION}/trivy_${TRIVY_VERSION}_Linux-64bit.tar.gz" | \
285
286
tar --extract --gzip --directory=/usr/local/bin --file=- trivy
286
287
287
- # Add Vercel globally. We can't install it in packages.json, because it
288
- # includes Go files which make golangci-lint unhappy.
289
- RUN yarn global add --prefix=/usr/local \
290
- vercel \
291
- typescript \
292
- typescript-language-server \
293
- prettier && \
294
- yarn cache clean
295
-
296
288
# We use yq during "make deploy" to manually substitute out fields in
297
289
# our helm values.yaml file. See https://github.com/helm/helm/issues/3141
298
290
#
You can’t perform that action at this time.
0 commit comments