Skip to content

Commit 1b9154d

Browse files
authored
Fix gp-code build (#18543)
1 parent c3d1c56 commit 1b9154d

File tree

1 file changed

+2
-9
lines changed

1 file changed

+2
-9
lines changed

components/ide/code/leeway.Dockerfile

Lines changed: 2 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -16,18 +16,11 @@ WORKDIR /gp-code
1616
RUN yarn --cwd remote --frozen-lockfile --network-timeout 180000
1717

1818

19-
FROM gitpod/openvscode-server-linux-build-agent:focal-x64 as code_builder
20-
21-
ARG NODE_VERSION=16.19.0
22-
ARG NVM_DIR="/root/.nvm"
23-
RUN mkdir -p $NVM_DIR \
24-
&& curl -fsSL https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.1/install.sh | sh \
25-
&& . $NVM_DIR/nvm.sh \
26-
&& nvm alias default $NODE_VERSION
27-
ENV PATH=$NVM_DIR/versions/node/v$NODE_VERSION/bin:$PATH
19+
FROM gitpod/openvscode-server-linux-build-agent:bionic-x64 as code_builder
2820

2921
ENV PLAYWRIGHT_SKIP_BROWSER_DOWNLOAD=1
3022
ENV ELECTRON_SKIP_BINARY_DOWNLOAD=1
23+
ENV VSCODE_SKIP_NODE_VERSION_CHECK=1
3124

3225
ARG CODE_COMMIT
3326
ARG CODE_QUALITY

0 commit comments

Comments
 (0)