Skip to content

Commit 6e23b67

Browse files
authored
chore: update node to 18.18.0 in tools container (kyetter#9)
* chore: update node to 18.18.0 in tools container Signed-off-by: Valeriy Svydenko <[email protected]>
1 parent cc39a74 commit 6e23b67

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Dockerfile

+3-3
Original file line numberDiff line numberDiff line change
@@ -31,16 +31,16 @@ RUN \
3131
cd - && \
3232
rm -rf "${TEMP_DIR}"
3333

34-
# nodejs 16 + VSCODE_NODEJS_RUNTIME_DIR are required on ubi9 based images
34+
# nodejs 18 + VSCODE_NODEJS_RUNTIME_DIR are required on ubi9 based images
3535
# until we fix https://github.com/eclipse/che/issues/21778
3636
# When fixed, we won't need this Dockerfile anymore.
3737
# c.f. https://github.com/che-incubator/che-code/pull/120
3838
RUN \
3939
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.3/install.sh | bash && \
4040
export NVM_DIR="$HOME/.nvm" && \
4141
[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" && \
42-
nvm install 16.20.0
43-
ENV VSCODE_NODEJS_RUNTIME_DIR="$HOME/.nvm/versions/node/v16.20.0/bin/"
42+
nvm install 18.18.0
43+
ENV VSCODE_NODEJS_RUNTIME_DIR="$HOME/.nvm/versions/node/v18.18.0/bin/"
4444

4545
# Set permissions on /etc/passwd and /home to allow arbitrary users to write
4646
RUN chgrp -R 0 /home && chmod -R g=u /etc/passwd /etc/group /home

0 commit comments

Comments
 (0)