Wilfred Spiegelenburg created YUNIKORN-2975:
-----------------------------------------------

             Summary: 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


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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to