You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@yunikorn.apache.org by "Peter Bacsko (Jira)" <ji...@apache.org> on 2025/12/11 11:20:00 UTC

[jira] [Updated] (YUNIKORN-2975) web image build does not use .nvmrc

     [ https://issues.apache.org/jira/browse/YUNIKORN-2975?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Peter Bacsko updated YUNIKORN-2975:
-----------------------------------
    Target Version: 1.9.0  (was: 1.8.0)

> web image build does not use .nvmrc
> -----------------------------------
>
>                 Key: YUNIKORN-2975
>                 URL: https://issues.apache.org/jira/browse/YUNIKORN-2975
>             Project: Apache YuniKorn
>          Issue Type: Task
>          Components: webapp
>            Reporter: Wilfred Spiegelenburg
>            Assignee: Tzu-Hua Lan
>            Priority: Major
>
> In the Docker file we use to build the image we have hardcoded a version of node.
> {code:java}
> ARG NODE_VERSION=20
> # Buildstage: use the local architecture
> FROM --platform=$BUILDPLATFORM node:${NODE_VERSION}-alpine AS buildstage {code}
> This causes issues as the real version that it points to can change from one build to another. We should be using the version we set in the {{.nvmrc}} as that would also be the version we install as a tool and that has been used by the developer.
> Currently the versions are also out of sync 18.20 vs 20.
> Part of the change we should also move to node 22.11.0 to get to the latest LTS that is supported with the angular release we use.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@yunikorn.apache.org
For additional commands, e-mail: issues-help@yunikorn.apache.org