File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -44,11 +44,11 @@ COPY . .
4444ENV CGO_ENABLED=1
4545RUN GOOS=linux go build -mod=vendor -a -ldflags '-w -s' -a -installsuffix cgo -o /go/bin/che-machine-exec .
4646
47- # NOTE: could not compile with node:18-alpine, so for now stick with node:16-alpine
48- FROM docker.io/node:16-alpine as cloud_shell_builder
47+ FROM docker.io/ node:18-alpine as cloud_shell_builder
48+ RUN corepack enable && corepack prepare yarn@4.0.0 --activate
4949COPY --from=go_builder /che-machine-exec/cloud-shell cloud-shell-src
5050WORKDIR cloud-shell-src
51- RUN yarn && \
51+ RUN yarn install --immutable && \
5252 yarn run build && \
5353 mkdir /app && \
5454 cp -rf index.html dist node_modules /app
Original file line number Diff line number Diff line change 1+ #
2+ # Copyright (c) 2026 Red Hat, Inc.
3+ # This program and the accompanying materials are made
4+ # available under the terms of the Eclipse Public License 2.0
5+ # which is available at https://www.eclipse.org/legal/epl-2.0/
6+ #
7+ # SPDX-License-Identifier: EPL-2.0
8+ #
9+ # Contributors:
10+ # Red Hat, Inc. - initial API and implementation
11+ #
12+
13+ nodeLinker : node-modules
Original file line number Diff line number Diff line change 2828 "resolutions" : {
2929 "cipher-base" : " ^1.0.6" ,
3030 "sha.js" : " ^2.4.12"
31- }
31+ },
32+ "packageManager" : " yarn@4.12.0"
3233}
You can’t perform that action at this time.
0 commit comments